[emos] 01/04: drop_tune.patch: Drop -mtune=native which breaks s390x port.
Alastair McKinstry
mckinstry at moszumanska.debian.org
Tue Jul 14 12:42:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
mckinstry pushed a commit to tag debian/2%4.0.3+dfsg.1-3
in repository emos.
commit a7889be97b598f170e1c3e55390525d93adac0c8
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Thu Jul 9 07:45:14 2015 +0100
drop_tune.patch: Drop -mtune=native which breaks s390x port.
---
debian/changelog | 6 ++++++
debian/patches/drop_tune.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 25 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 660f377..697cee8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+emoslib (2:4.0.3+dfsg.1-3) UNRELEASED; urgency=medium
+
+ * drop_tune.patch: Drop -mtune=native which breaks s390x port.
+
+ -- Alastair McKinstry <mckinstry at debian.org> Thu, 09 Jul 2015 07:44:50 +0100
+
emoslib (2:4.0.3+dfsg.1-2) unstable; urgency=medium
* Remove rpath from shlibs. B-D on chrpath.
diff --git a/debian/patches/drop_tune.patch b/debian/patches/drop_tune.patch
new file mode 100644
index 0000000..edf0f66
--- /dev/null
+++ b/debian/patches/drop_tune.patch
@@ -0,0 +1,18 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Drop tune=native which breaks on s390x, and is a bad idea in general distros.
+Last-Updated: 2014-07-09
+Forwarded: no
+
+Index: emoslib-4.0.3+dfsg.1/CMakeLists.txt
+===================================================================
+--- emoslib-4.0.3+dfsg.1.orig/CMakeLists.txt
++++ emoslib-4.0.3+dfsg.1/CMakeLists.txt
+@@ -64,7 +64,7 @@ endif()
+ # build type flags
+ if(CMAKE_Fortran_COMPILER_ID MATCHES "GNU")
+ set(CMAKE_Fortran_FLAGS "-ffixed-line-length-none -fcray-pointer -fno-second-underscore -Wuninitialized -DSHAREDMEMORY")
+- set(CMAKE_Fortran_FLAGS_RELEASE "-O2 -mtune=native")
++ set(CMAKE_Fortran_FLAGS_RELEASE "-O2")
+ set(CMAKE_Fortran_FLAGS_DEBUG "-g")
+ set(emos_special_compiler_def "gfortran")
+ elseif(CMAKE_Fortran_COMPILER_ID MATCHES "Intel")
diff --git a/debian/patches/series b/debian/patches/series
index 8674bd6..a2b529d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+drop_tune.patch
huge.patch
bufrnum.patch
pkgconfig.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/emos.git
More information about the debian-science-commits
mailing list