[SCM] OpenBLAS packaging for Debian branch, wheezy, updated. debian/0.1.1-6+deb7u1-1-g2c7af7e

Sébastien Villemot sebastien at debian.org
Tue Jun 4 10:01:23 UTC 2013


The following commit has been merged in the wheezy branch:
commit 2c7af7e1e66c767b7072b88eed12fcaec6493cba
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Mon May 20 17:42:51 2013 +0200

    power7.patch: new patch, fixes FTBFS on powerpc machines with Power7 arch

diff --git a/debian/changelog b/debian/changelog
index 15e93b5..bc6bcdf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+openblas (0.1.1-6+deb7u2) stable; urgency=low
+
+  * power7.patch: new patch, fixes FTBFS on powerpc machines with Power7 arch
+
+ -- Sébastien Villemot <sebastien at debian.org>  Tue, 04 Jun 2013 10:09:50 +0200
+
 openblas (0.1.1-6+deb7u1) stable; urgency=low
 
   * sgemv_uninitialized_buffer.diff: new patch taken from upstream, ensures that
diff --git a/debian/patches/power7.patch b/debian/patches/power7.patch
new file mode 100644
index 0000000..aabf4ba
--- /dev/null
+++ b/debian/patches/power7.patch
@@ -0,0 +1,19 @@
+Description: Make OpenBLAS compile on Power7 architecture
+ The workaround is to fallback on the Power6 arch on these machines. This seems
+ to work (did a small test on partch.debian.org).
+Author: Sébastien Villemot <sebastien at debian.org>
+Bug: https://github.com/xianyi/OpenBLAS/issues/220
+Applied-Upstream: https://github.com/xianyi/OpenBLAS/commit/109500178ca1b45ae1afb476daad75a1955f5fbe
+Last-Update: 2013-06-04
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/cpuid_power.c
++++ b/cpuid_power.c
+@@ -114,6 +114,7 @@
+   if (!strncasecmp(p, "PPC970", 6)) return CPUTYPE_PPC970;
+   if (!strncasecmp(p, "POWER5", 6)) return CPUTYPE_POWER5;
+   if (!strncasecmp(p, "POWER6", 6)) return CPUTYPE_POWER6;
++  if (!strncasecmp(p, "POWER7", 6)) return CPUTYPE_POWER6;
+   if (!strncasecmp(p, "Cell",   4)) return CPUTYPE_CELL;
+   if (!strncasecmp(p, "7447",   4)) return CPUTYPE_PPCG4;
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 069ee2b..0fa8a38 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ kill_threads_at_unload.diff
 sgemv_uninitialized_buffer.diff
 gemv_crash_big_data.diff
 dot_uninitialized_buffer.diff
+power7.patch

-- 
OpenBLAS packaging for Debian



More information about the debian-science-commits mailing list