[med-svn] [Git][med-team/spoa][master] Disable use of native code generation (Closes: #969092)
Shayan Doust
gitlab at salsa.debian.org
Mon Sep 14 12:11:28 BST 2020
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 <hello at shayandoust.me>
+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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200914/dc0a6b15/attachment.html>
More information about the debian-med-commit
mailing list