Shayan Doust pushed to branch master at Debian Med / spoa


Commits:
39f02d80 by Shayan Doust at 2020-09-14T12:06:47+01:00
Disable use of native code generation (Closes: #969092)

- - - - -


2 changed files:

- + debian/patches/no_march_native.patch
- debian/patches/series


Changes:

=====================================
debian/patches/no_march_native.patch
=====================================
@@ -0,0 +1,18 @@
+Description: dont use -march=native flag
+ Prevents FTBFS or baseline violation on architectures.
+Author: Shayan Doust <[email protected]> 
+Bug-Debian: https://bugs.debian.org/969092
+Last-Update: 2020-09-14
+---
+
+--- spoa.orig/CMakeLists.txt
++++ spoa/CMakeLists.txt
+@@ -14,7 +14,7 @@
+ 
+ option(spoa_build_executable "Build spoa standalone tool" OFF)
+ option(spoa_build_tests "Build spoa unit tests" OFF)
+-option(spoa_optimize_for_native "Build spoa with -march=native" ON)
++option(spoa_optimize_for_native "Build spoa with -march=native" OFF)
+ option(spoa_optimize_for_portability "Build spoa with -msse4.1" OFF)
+ option(spoa_use_simde "Use SIMDe library for porting vectorized code" OFF)
+ option(spoa_use_simde_nonvec "Use SIMDe library for nonvectorized code" OFF)


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
+no_march_native.patch
 fix-ftbfs-gcc-10.patch
 use_debian_packaged_libs.patch
 shared_and_static.patch



View it on GitLab: 
https://salsa.debian.org/med-team/spoa/-/commit/39f02d8021262827af9a047a017741b85becfdc7

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/spoa/-/commit/39f02d8021262827af9a047a017741b85becfdc7
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to