[SCM] OpenBLAS packaging for Debian branch, master, updated. upstream/0.2.6-7-gf2b7e18

Sébastien Villemot sebastien at debian.org
Mon May 20 17:04:23 UTC 2013


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

    power7.patch: new patch, should fix FTBFS on powerpc buildd with Power7 arch

diff --git a/debian/changelog b/debian/changelog
index c05ea9a..a708cfc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 openblas (0.2.6-2) UNRELEASED; urgency=low
 
+  * power7.patch: new patch, should fix FTBFS on powerpc buildd with Power7 arch
   * Switch to git as VCS for packaging
 
  -- Sébastien Villemot <sebastien at debian.org>  Mon, 20 May 2013 16:05:33 +0200
diff --git a/debian/patches/power7.patch b/debian/patches/power7.patch
new file mode 100644
index 0000000..50c98a1
--- /dev/null
+++ b/debian/patches/power7.patch
@@ -0,0 +1,18 @@
+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
+Last-Update: 2013-05-20
+---
+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 e69de29..39e6df2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -0,0 +1 @@
+power7.patch

-- 
OpenBLAS packaging for Debian



More information about the debian-science-commits mailing list