Hello community,

here is the log from the commit of package python-torch for openSUSE:Factory 
checked in at 2020-10-08 13:13:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-torch (Old)
 and      /work/SRC/openSUSE:Factory/.python-torch.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-torch"

Thu Oct  8 13:13:55 2020 rev:6 rq:840089 version:1.5.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-torch/python-torch.changes        
2020-08-29 20:43:18.513489171 +0200
+++ /work/SRC/openSUSE:Factory/.python-torch.new.4249/python-torch.changes      
2020-10-08 13:14:13.703283478 +0200
@@ -1,0 +2,7 @@
+Wed Oct  7 15:15:28 UTC 2020 - Guillaume GARDET <guillaume.gar...@opensuse.org>
+
+- Use GCC9 to build on aarch64 Tumbleweed to workaround SVE
+  problem with GCC10 with sleef, see:
+  https://github.com/pytorch/pytorch/issues/45971
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-torch.spec ++++++
--- /var/tmp/diff_new_pack.VvTGo0/_old  2020-10-08 13:14:14.599284289 +0200
+++ /var/tmp/diff_new_pack.VvTGo0/_new  2020-10-08 13:14:14.603284292 +0200
@@ -15,7 +15,6 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-
 #
 %define srcname pytorch
 %define skip_python2 1
@@ -124,6 +123,13 @@
 BuildRequires:  libcudnn7-devel
 BuildRequires:  libnccl-devel
 %endif
+%ifarch aarch64
+%if 0%{?suse_version} > 1500
+# Workaround for https://github.com/pytorch/pytorch/issues/45971
+BuildRequires:  gcc9
+BuildRequires:  gcc9-c++
+%endif
+%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires:       python-future
 Requires:       python-leveldb
@@ -227,6 +233,12 @@
   %endif \
   %else \
   export USE_CUDNN=OFF \
+  %ifarch aarch64 \
+  %if 0%{?suse_version} > 1500 \
+  export CC=gcc-9 \
+  export CXX=g++-9 \
+  %endif \
+  %endif \
   %endif \
   export USE_TEST=OFF \
   export USE_LEVELDB=ON \


Reply via email to