[openblas] 02/02: d/p/power-arch-detection.patch: new patch.
Sébastien Villemot
sebastien at debian.org
Mon Nov 9 18:00:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastien pushed a commit to branch master
in repository openblas.
commit 9ae1047da3104546113fb2b2a6c8f17c50c29436
Author: Sébastien Villemot <sebastien at debian.org>
Date: Mon Nov 9 18:58:44 2015 +0100
d/p/power-arch-detection.patch: new patch.
Ensures that the testsuite is run on powerpc arches.
Gbp-Dch: Full
---
debian/patches/power-arch-detection.patch | 19 +++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 20 insertions(+)
diff --git a/debian/patches/power-arch-detection.patch b/debian/patches/power-arch-detection.patch
new file mode 100644
index 0000000..85eaead
--- /dev/null
+++ b/debian/patches/power-arch-detection.patch
@@ -0,0 +1,19 @@
+Description: Fix detection of POWER architecture in c_check
+ This is necessary to avoid the false detection of a cross-compiling
+ environment. Otherwise the testsuite is not run on those arches.
+Author: Sébastien Villemot <sebastien at debian.org>
+Forwarded: https://github.com/xianyi/OpenBLAS/pull/684
+Applied-Upstream: https://github.com/xianyi/OpenBLAS/commit/41407acc19cd3ca2ee4ab965ed5e19d7776e669e
+Last-Update: 2015-11-09
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/c_check
++++ b/c_check
+@@ -6,6 +6,7 @@ $hostarch = `uname -m | sed -e s/i.86/x8
+ $hostarch = "x86_64" if ($hostarch eq "amd64");
+ $hostarch = "arm" if ($hostarch =~ /^arm.*/);
+ $hostarch = "arm64" if ($hostarch eq "aarch64");
++$hostarch = "power" if ($hostarch =~ /^(powerpc|ppc).*/);
+
+ $binary = $ENV{"BINARY"};
+
diff --git a/debian/patches/series b/debian/patches/series
index 2f301a5..6b795fe 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ always-run-testsuite.patch
remove-openmp-warning.patch
no-embedded-lapack.patch
shared-blas-lapack.patch
+power-arch-detection.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/openblas.git
More information about the debian-science-commits
mailing list