From 75d9f629a6353273c97f44b319afbbfc1e580408f13d0466087949ceec1fcf9c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 14 Jul 2018 10:44:27 +0000 Subject: [PATCH] Accepting request 622366 from home:bmwiedemann:branches:science Add reproducible.patch to disable compile-time CPU detection (boo#1100677) OBS-URL: https://build.opensuse.org/request/show/622366 OBS-URL: https://build.opensuse.org/package/show/science/givaro?expand=0&rev=20 --- givaro.changes | 5 +++++ givaro.spec | 2 ++ reproducible.patch | 20 ++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 reproducible.patch diff --git a/givaro.changes b/givaro.changes index ead9c4d..edca692 100644 --- a/givaro.changes +++ b/givaro.changes @@ -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 diff --git a/givaro.spec b/givaro.spec index 95559ec..0bd47ca 100644 --- a/givaro.spec +++ b/givaro.spec @@ -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 diff --git a/reproducible.patch b/reproducible.patch new file mode 100644 index 0000000..53de942 --- /dev/null +++ b/reproducible.patch @@ -0,0 +1,20 @@ +Author: Bernhard M. Wiedemann +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.