[med-svn] [iqtree] 06/06: Drop -mavx option
Andreas Tille
tille at debian.org
Tue Feb 2 08:04:10 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository iqtree.
commit c7510ed208fe8926b0b48318ae880cd57eb7bcee
Author: Andreas Tille <tille at debian.org>
Date: Tue Feb 2 08:57:55 2016 +0100
Drop -mavx option
---
debian/changelog | 2 ++
debian/patches/avoid_mavx.patch | 27 +++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 30 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index d2cdcbd..87b93c3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ iqtree (1.3.13+dfsg-1) UNRELEASED; urgency=medium
Closes: #813436
* Do not append 32 to binary name if build on 32bit architecture
Closes: #813437
+ * Do not use -mavx flag
+ Closes: #813438
-- Andreas Tille <tille at debian.org> Tue, 02 Feb 2016 08:41:45 +0100
diff --git a/debian/patches/avoid_mavx.patch b/debian/patches/avoid_mavx.patch
new file mode 100644
index 0000000..9dbbb22
--- /dev/null
+++ b/debian/patches/avoid_mavx.patch
@@ -0,0 +1,27 @@
+Description: Do not use -mavx flag
+ Note: Bug # 813438 report says:
+ "... bearing in mind that it's best to avoid
+ this option even on *amd64 because it normally limits the portability
+ of the resulting binaries (unless code relying on the extension is
+ carefully predicated on a CPUID test)?"
+ .
+ It needs to be discussed with upstream whether those CPUID tests are
+ done or not.
+Bug-Debian: https://bugs.debian.org/813438
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Tue, 02 Feb 2016 08:41:45 +0100
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -218,9 +218,9 @@ SET(AVX_FLAGS "-D__AVX")
+ if (VCC)
+ set(AVX_FLAGS "${AVX_FLAGS} /arch:AVX")
+ elseif (CLANG)
+- set(AVX_FLAGS "${AVX_FLAGS} -mavx")
++ set(AVX_FLAGS "${AVX_FLAGS} ")
+ elseif (GCC)
+- set(AVX_FLAGS "${AVX_FLAGS} -mavx -fabi-version=0")
++ set(AVX_FLAGS "${AVX_FLAGS} ")
+ elseif (ICC)
+ if (WIN32)
+ set(AVX_FLAGS "${AVX_FLAGS} /arch:AVX")
diff --git a/debian/patches/series b/debian/patches/series
index b82dfe0..d188542 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
spelling.patch
sse.patch
32bit_name.patch
+avoid_mavx.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/iqtree.git
More information about the debian-med-commit
mailing list