Skip to content

Please add support for Power7 architecture #220

@svillemot

Description

@svillemot

OpenBLAS fails to build on PowerPCs with Power7 architectures. As an ugly workaround, I applied the following patch to the Debian package:

===================================================================
--- openblas-0.2.6.orig/cpuid_power.c   2013-03-02 06:42:06.000000000 +0000
+++ openblas-0.2.6/cpuid_power.c    2013-05-20 15:26:23.540507087 +0000
@@ -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;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions