Dominique Leuenberger 2018-07-17 07:40:39 +00:00 committed by Git OBS Bridge
commit 0ca6711046
3 changed files with 27 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 13 03:15:55 UTC 2018 - bwiedemann@suse.com
- Add reproducible.patch to disable compile-time CPU detection (boo#1100677)
-------------------------------------------------------------------
Mon Dec 25 19:48:10 UTC 2017 - jengelh@inai.de

View File

@ -28,6 +28,7 @@ Url: http://givaro.forge.imag.fr/
#Git-Clone: https://github.com/linbox-team/givaro
Source: https://github.com/linbox-team/givaro/archive/v%version.tar.gz
Patch1: givaro-doc-no-build-time.patch
Patch2: reproducible.patch
# Old doxygen does not properly handle symlink recursion
BuildRequires: doxygen >= 1.5.7.1
BuildRequires: fdupes
@ -106,6 +107,7 @@ the Givaro API.
%prep
%setup -q
%patch -P 1 -p1
%patch2 -p1
%build
autoreconf -fi

20
reproducible.patch Normal file
View File

@ -0,0 +1,20 @@
Author: Bernhard M. Wiedemann <bwiedemann suse de>
Date: 2018-07-13
disable compile-time CPU detection because of
https://bugzilla.opensuse.org/show_bug.cgi?id=1100677
Index: givaro-4.0.4/configure.ac
===================================================================
--- givaro-4.0.4.orig/configure.ac
+++ givaro-4.0.4/configure.ac
@@ -156,9 +156,6 @@ echo "----------------------------------
echo " START GIVARO CONFIG "
echo "-----------------------------------------------"
-# Checks which SIMD optimization flags to use and set SIMD_CFLAGS accordingly
-INSTR_SET
-AC_SUBST(SIMD_FLAGS)
# Veltkamp Split in modular-extended.inl requires to use the SSE floating point multiplier and not the fp87
# This is by default on x86_64 but not on i386.