Hello community,

here is the log from the commit of package opa-ff for openSUSE:Factory checked 
in at 2019-01-21 10:58:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opa-ff (Old)
 and      /work/SRC/openSUSE:Factory/.opa-ff.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "opa-ff"

Mon Jan 21 10:58:48 2019 rev:13 rq:666633 version:10.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/opa-ff/opa-ff.changes    2018-11-13 
17:29:53.113260515 +0100
+++ /work/SRC/openSUSE:Factory/.opa-ff.new.28833/opa-ff.changes 2019-01-21 
10:59:55.363308719 +0100
@@ -1,0 +2,5 @@
+Fri Dec 28 11:19:40 UTC 2018 - Bernhard Wiedemann <[email protected]>
+
+- Add reproduciblecpu.patch to drop -march=native (boo#1100677)
+
+-------------------------------------------------------------------

New:
----
  reproduciblecpu.patch

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

Other differences:
------------------
++++++ opa-ff.spec ++++++
--- /var/tmp/diff_new_pack.zFb2Ax/_old  2019-01-21 11:00:03.351298354 +0100
+++ /var/tmp/diff_new_pack.zFb2Ax/_new  2019-01-21 11:00:03.355298349 +0100
@@ -35,6 +35,7 @@
 Patch1:         opa-ff-add-shebang-for-exp-files.patch
 Patch2:         opa-ff-suse-build-fixes.patch
 Patch3:         reproducible.patch
+Patch4:         reproduciblecpu.patch
 BuildRequires:  gcc-c++
 BuildRequires:  infiniband-diags-devel
 BuildRequires:  libexpat-devel
@@ -128,6 +129,7 @@
 %patch1
 %patch2
 %patch3 -p1
+%patch4 -p1
 
 %build
 export RPM_OPT_FLAGS

++++++ reproduciblecpu.patch ++++++
https://github.com/intel/opa-ff/issues/20
https://bugzilla.opensuse.org/show_bug.cgi?id=1100677 packages do not build 
reproducibly from compile-time CPU-detection


Author: Bernhard M. Wiedemann <[email protected]>
Date:   2018-12-28

    Drop march=native to avoid CPU detection on build machine
    
    in order to make builds reproducible.
    See https://reproducible-builds.org/ for why this is good
    
Index: opa-ff-10.8.0.0.201.0.cb934204ad37/IbaTools/stream/Makefile
===================================================================
--- opa-ff-10.8.0.0.201.0.cb934204ad37.orig/IbaTools/stream/Makefile
+++ opa-ff-10.8.0.0.201.0.cb934204ad37/IbaTools/stream/Makefile
@@ -110,7 +110,7 @@ INCLUDE_SUBDIR              =
 #                              (in addition to LOCALDEPLIBS)
 #LOCAL_LIB_DIRS        = User library directories for libpaths [Empty]
 
-CLOCAL = $(CPIE) -march=native -mcmodel=medium -DSTREAM_ARRAY_SIZE=353783808 
-fopenmp
+CLOCAL = $(CPIE) -mcmodel=medium -DSTREAM_ARRAY_SIZE=353783808 -fopenmp
 LDLOCAL = -fopenmp
 
 # Include Make Rules definitions and rules

Reply via email to