[med-svn] [Git][med-team/diamond-aligner][master] 3 commits: Do not use march=native flag

Andreas Tille gitlab at salsa.debian.org
Sun Aug 19 05:44:23 BST 2018


Andreas Tille pushed to branch master at Debian Med / diamond-aligner


Commits:
e4195c4d by Andreas Tille at 2018-08-19T04:40:58Z
Do not use march=native flag

- - - - -
9ac9598f by Andreas Tille at 2018-08-19T04:41:39Z
Standards-Version: 4.2.0

- - - - -
6f246466 by Andreas Tille at 2018-08-19T04:43:55Z
Upload to unstable

- - - - -


4 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+diamond-aligner (0.9.22+dfsg-2) unstable; urgency=medium
+
+  * Do not use march=native flag
+    Closes: #906615
+  * Standards-Version: 4.2.0
+
+ -- Andreas Tille <tille at debian.org>  Sun, 19 Aug 2018 06:41:39 +0200
+
 diamond-aligner (0.9.22+dfsg-1) unstable; urgency=medium
 
   * New upstream version


=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Priority: optional
 Build-Depends: debhelper (>= 11~),
                cmake,
                zlib1g-dev
-Standards-Version: 4.1.4
+Standards-Version: 4.2.0
 Vcs-Browser: https://salsa.debian.org/med-team/diamond-aligner
 Vcs-Git: https://salsa.debian.org/med-team/diamond-aligner.git
 Homepage: https://github.com/bbuchfink/diamond


=====================================
debian/patches/no_march_native.patch
=====================================
--- /dev/null
+++ b/debian/patches/no_march_native.patch
@@ -0,0 +1,22 @@
+Description: Do not use march=native flag
+Bug-Debian: https://bugs.debian.org/906615
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Sun, 19 Aug 2018 06:38:58 +0200
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -14,10 +14,10 @@ if(CMAKE_BUILD_MARCH)
+   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=${CMAKE_BUILD_MARCH}")
+ else()
+   include(CheckCXXCompilerFlag)
+-  CHECK_CXX_COMPILER_FLAG("-march=native" COMPILER_SUPPORTS_MARCHNATIVE)
+-  if(COMPILER_SUPPORTS_MARCHNATIVE)
+-    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
+-  endif()
++  #CHECK_CXX_COMPILER_FLAG("-march=native" COMPILER_SUPPORTS_MARCHNATIVE)
++  #if(COMPILER_SUPPORTS_MARCHNATIVE)
++  #  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
++  #endif()
+ endif()
+ 
+ find_package(ZLIB REQUIRED)


=====================================
debian/patches/series
=====================================
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 avoid_unwanted_optimisation.patch
+no_march_native.patch



View it on GitLab: https://salsa.debian.org/med-team/diamond-aligner/compare/034a9b293dd0ede22d17e8fa406a3a6d2686f518...6f24646664885a2063793108d415e8fb7c2bc91a

-- 
View it on GitLab: https://salsa.debian.org/med-team/diamond-aligner/compare/034a9b293dd0ede22d17e8fa406a3a6d2686f518...6f24646664885a2063793108d415e8fb7c2bc91a
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/20180819/d11c897e/attachment-0001.html>


More information about the debian-med-commit mailing list