Hello community, here is the log from the commit of package tensorflow2 for openSUSE:Factory checked in at 2020-06-27 23:22:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tensorflow2 (Old) and /work/SRC/openSUSE:Factory/.tensorflow2.new.3060 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tensorflow2" Sat Jun 27 23:22:24 2020 rev:11 rq:817242 version:2.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/tensorflow2/tensorflow2.changes 2020-06-17 14:53:20.337597832 +0200 +++ /work/SRC/openSUSE:Factory/.tensorflow2.new.3060/tensorflow2.changes 2020-06-27 23:22:29.285804095 +0200 @@ -1,0 +2,5 @@ +Fri Jun 19 11:21:59 UTC 2020 - Christian Goll <cg...@suse.com> + +- fixed local CUDA builds + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tensorflow2.spec ++++++ --- /var/tmp/diff_new_pack.dMEeiT/_old 2020-06-27 23:22:30.741808882 +0200 +++ /var/tmp/diff_new_pack.dMEeiT/_new 2020-06-27 23:22:30.745808896 +0200 @@ -220,7 +220,7 @@ BuildRequires: cuda-libraries-10-1 BuildRequires: libcublas-devel BuildRequires: libcudnn7-devel -BuildRequires: libnccl2-devel +BuildRequires: libnccl-devel %endif %if %{with opencl} Requires: Mesa-libOpenCL @@ -308,12 +308,7 @@ %if "%flavor" == "" ExclusiveArch: do_not_build %endif -%if 0%{is_opensuse} -%if "%{flavor}" == "cuda-10-1" -# openSUSE has no CUDA package -ExclusiveArch: do_not_build -%endif -%endif + %if %{is_lite} ExcludeArch: %ix86 %else @@ -551,12 +546,12 @@ zlib_archive" %if %{with cuda} -export PATH=PATH=/usr/lib/cuda-10.1/bin/:${PATH} -export CUDA_HOME="/usr/lib/cuda-10.1,/usr" -export CUDA_TOOLKIT_PATH=/"usr/lib/cuda-10.1,/usr" -export TF_CUDA_PATHS="/usr/lib/cuda-10.1,/usr" +export PATH=PATH="/usr/local/cuda-10.1/bin/:${PATH}" +export CUDA_HOME="/usr/local/cuda-10.1,/usr" +export CUDA_TOOLKIT_PATH=/"usr/local/cuda-10.1,/usr" +export TF_CUDA_PATHS="/usr/local/cuda-10.1,/usr" export TF_NEED_CUDA=1 -export TF_NCCL_VERSION=2.5.7 +export TF_NCCL_VERSION=2.7.3 %else export TF_NEED_CUDA=0 %endif @@ -578,7 +573,7 @@ mkdir %{_topdir}/bin cd %{_topdir}/bin ln -s $(which python3) python -%if 0%{?suse_version} < 1500 +%if 0%{?suse_version} > 1500 %if %{with cuda} ln -s $(which gcc-7) gcc ln -s $(which g++-7) g++ ++++++ _multibuild ++++++ --- /var/tmp/diff_new_pack.dMEeiT/_old 2020-06-27 23:22:30.789809040 +0200 +++ /var/tmp/diff_new_pack.dMEeiT/_new 2020-06-27 23:22:30.789809040 +0200 @@ -1,6 +1,5 @@ <multibuild> <package>standard</package> - <package>cuda-10-1</package> <package>lite</package> <package>hpc</package> <package>hpc-openmpi2</package>