Hello community,

here is the log from the commit of package insighttoolkit for openSUSE:Factory 
checked in at 2020-07-31 15:57:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/insighttoolkit (Old)
 and      /work/SRC/openSUSE:Factory/.insighttoolkit.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "insighttoolkit"

Fri Jul 31 15:57:56 2020 rev:3 rq:823706 version:5.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/insighttoolkit/insighttoolkit.changes    
2020-07-24 09:55:56.537402544 +0200
+++ /work/SRC/openSUSE:Factory/.insighttoolkit.new.3592/insighttoolkit.changes  
2020-07-31 16:07:33.232822152 +0200
@@ -1,0 +2,7 @@
+Thu Jul 30 15:58:02 UTC 2020 - Bernhard Wiedemann <bwiedem...@suse.com>
+
+- Add reproducible.patch to make build results independent
+  of build machine CPU (boo#1100677,
+  gh#InsightSoftwareConsortium/ITK#1939).
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ insighttoolkit.spec ++++++
--- /var/tmp/diff_new_pack.dQt29A/_old  2020-07-31 16:07:34.908823586 +0200
+++ /var/tmp/diff_new_pack.dQt29A/_new  2020-07-31 16:07:34.912823589 +0200
@@ -37,6 +37,8 @@
 Patch3:         itklbfgs-linking.patch
 # PATCH-FIX-UPSTREAM insighttoolkit-drop-netlib-triangle-files.patch 
[gh#InsightSoftwareConsortium/ITK#1913] badshah...@gmail.com -- Drop netlib 
triangle files and any linking to them due to licensing issues; patch from 
upstream
 Patch4:         insighttoolkit-drop-netlib-triangle-files.patch
+# PATCH-FIX-OPENSUSE reproducible.patch boo#1100677 
gh#InsightSoftwareConsortium/ITK#1939
+Patch100:       reproducible.patch
 BuildRequires:  CastXML-devel
 BuildRequires:  bison
 BuildRequires:  cmake

++++++ reproducible.patch ++++++
Author: Bernhard M. Wiedemann <bwiedemann suse de>
Date: 2020-07-30

https://bugzilla.opensuse.org/show_bug.cgi?id=1100677

packages do not build reproducibly from compile-time CPU-detection

Index: InsightToolkit-5.1.0/CMake/ITKSetStandardCompilerFlags.cmake
===================================================================
--- InsightToolkit-5.1.0.orig/CMake/ITKSetStandardCompilerFlags.cmake
+++ InsightToolkit-5.1.0/CMake/ITKSetStandardCompilerFlags.cmake
@@ -241,7 +241,7 @@ function(check_compiler_optimization_fla
     set(InstructionSetOptimizationFlags
        # 
https://gcc.gnu.org/onlinedocs/gcc-4.8.0/gcc/i386-and-x86_002d64-Options.html
        # NOTE the corei7 release date was 2008
-       -mtune=native # Tune the code for the computer used compile ITK, but 
allow running on generic cpu archetectures
+       #-mtune=native # boo#1100677 - disabled to not consider build machine 
CPU for reproducible results
        -march=corei7 # Use ABI settings to support corei7 (circa 2008 ABI 
feature sets, core-avx circa 2013)
        )
   endif()

Reply via email to