Accepting request 622370 from home:bmwiedemann:branches:science

Add reproducible.patch to disable compile-time CPU detection (boo#1100677)

without this patch, /usr/bin/fflas-ffpack-config differed between CPUs

OBS-URL: https://build.opensuse.org/request/show/622370
OBS-URL: https://build.opensuse.org/package/show/science/fflas-ffpack?expand=0&rev=31
This commit is contained in:
Jan Engelhardt 2018-07-14 10:44:46 +00:00 committed by Git OBS Bridge
parent 06758816f3
commit 55f9a526fe
3 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 13 04:38:53 UTC 2018 - bwiedemann@suse.com
- Add reproducible.patch to disable compile-time CPU detection (boo#1100677)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 19 15:49:54 UTC 2018 - schwab@suse.de Tue Jun 19 15:49:54 UTC 2018 - schwab@suse.de

View File

@ -35,6 +35,7 @@ Url: https://linbox-team.github.io/fflas-ffpack/
#Git-Clone: https://github.com/linbox-team/fflas-ffpack #Git-Clone: https://github.com/linbox-team/fflas-ffpack
Source: https://github.com/linbox-team/%name/archive/v%version.tar.gz Source: https://github.com/linbox-team/%name/archive/v%version.tar.gz
Patch0: reproducible.patch
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -79,6 +80,7 @@ the FFLAS-FFPACK API.
%prep %prep
%setup -q %setup -q
%patch0 -p1
#Do not compile in DATE and TIME #Do not compile in DATE and TIME
sed '/HTML_TIMESTAMP/s/YES/NO/' -i doc/Doxyfile sed '/HTML_TIMESTAMP/s/YES/NO/' -i doc/Doxyfile

14
reproducible.patch Normal file
View File

@ -0,0 +1,14 @@
Index: fflas-ffpack-2.3.2/configure.ac
===================================================================
--- fflas-ffpack-2.3.2.orig/configure.ac
+++ fflas-ffpack-2.3.2/configure.ac
@@ -172,9 +172,6 @@ echo "----------------------------------
FF_CHECK_OMP
-# Checks which SIMD optimization flags to use and set SIMD_CFLAGS accordingly
-INSTR_SET
-AC_SUBST(SIMD_FLAGS)
dnl gcc-4.9.2 bug See https://trac.sagemath.org/ticket/17635#comment:178
AS_IF([ test "x$CCNAM" = "xgcc492" ],[REQUIRED_FLAGS="${REQUIRED_FLAGS} -fpermissive"],[])