Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lapack for openSUSE:Factory checked 
in at 2023-02-25 19:55:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lapack (Old)
 and      /work/SRC/openSUSE:Factory/.lapack.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lapack"

Sat Feb 25 19:55:00 2023 rev:55 rq:1067609 version:3.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/lapack/lapack.changes    2023-02-21 
15:35:30.280101704 +0100
+++ /work/SRC/openSUSE:Factory/.lapack.new.31432/lapack.changes 2023-02-25 
19:55:15.375320032 +0100
@@ -1,0 +2,13 @@
+Thu Feb 23 16:58:25 UTC 2023 - Egbert Eich <e...@suse.com>
+
+- Set -mfpmath=sse for the entire build for ix86 platforms
+  on SLE/Leap. Since we build for x86_64, we know that sse
+  is available.
+  This helps to avoid effects from excess precision that
+  can be seen in the test suite.
+  On Factory we leave -ffloat-store for the test suite
+  only as this option comes at a performance penalty.
+  We may see precision related issues in the test suite
+  with future compilers regardless.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ lapack.spec ++++++
--- /var/tmp/diff_new_pack.zgbEIW/_old  2023-02-25 19:55:15.971323705 +0100
+++ /var/tmp/diff_new_pack.zgbEIW/_new  2023-02-25 19:55:15.979323753 +0100
@@ -213,6 +213,15 @@
 for -static linking. You do not need these, unless you link
 statically, which is highly discouraged.
 
+%ifarch %{ix86}
+%if 0%{?sle_version:%sle_version} >= 150000
+%global precflags "-mfpmath=sse"
+%global test_precflags %precflags
+%else
+%global test_precflags "-ffloat-store"
+%endif
+%endif
+
 %prep
 %setup -q
 %autopatch -p1
@@ -221,9 +230,6 @@
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 %global optflags_f %{optflags}
-%ifarch %{ix86}
-%global test_precflags "-ffloat-store"
-%endif
 
 cp make.inc.example make.inc
 # for ABI compatibility we need to build the deprecated interfaces
@@ -232,7 +238,7 @@
 
 %make_build cleanlib
 %make_build blaslib \
-  FFLAGS="%{optflags_f} -fPIC"
+  FFLAGS="%{optflags_f} %{?precflags} -fPIC"
 mkdir tmp
 ( cd tmp; ar x ../librefblas.a )
 gfortran -shared -Wl,-soname=libblas.so.3 -o libblas.so.%{version} 
-Wl,--no-undefined tmp/*.o
@@ -240,7 +246,7 @@
 rm -rf tmp
 
 %make_build cblaslib \
-  CFLAGS="%{optflags} -fPIC -DADD_ "
+  CFLAGS="%{optflags} %{?precflags} -fPIC -DADD_ "
 mkdir tmp
 ( cd tmp; ar x ../libcblas.a )
 gfortran -shared -Wl,-soname=libcblas.so.3 -o libcblas.so.%{version} 
-Wl,--no-undefined tmp/*.o -L. -lblas
@@ -251,7 +257,7 @@
 %make_build -C TESTING/MATGEN FFLAGS="%{optflags_f} %{?test_precflags} 
%{?with_tmg:-fPIC}"
 
 %make_build lapacklib \
-  FFLAGS="%{optflags_f} -fPIC"
+  FFLAGS="%{optflags_f} %{?precflags} -fPIC"
 mkdir tmp
 ( cd tmp; ar x ../liblapack.a; %{?with_tmg: ar x ../libtmglib.a; ar cr 
../liblapack.a *.o; ranlib ../liblapack.a })
 gfortran -shared -Wl,-soname=liblapack.so.3 -o liblapack.so.%{version} 
-Wl,--no-undefined tmp/*.o -L. -lblas
@@ -259,7 +265,7 @@
 rm -rf tmp
 
 make %{?_smp_mflags} lapackelib \
-  CFLAGS="%{optflags} -fPIC -DADD_ -DHAVE_LAPACK_CONFIG_H 
-DLAPACK_COMPLEX_STRUCTURE"
+  CFLAGS="%{optflags}  %{?precflags} -fPIC -DADD_ -DHAVE_LAPACK_CONFIG_H 
-DLAPACK_COMPLEX_STRUCTURE"
 mkdir tmp
 ( cd tmp; ar x ../liblapacke.a )
 gfortran -shared -Wl,-soname=liblapacke.so.3 -o liblapacke.so.%{version} 
-Wl,--no-undefined tmp/*.o -L. -llapack

Reply via email to