34 lines
1.0 KiB
Diff
34 lines
1.0 KiB
Diff
|
--- OpenBLAS-0.2.20/c_check 2018/01/19 15:53:41 1.1
|
||
|
+++ OpenBLAS-0.2.20/c_check 2018/01/19 15:54:23
|
||
|
@@ -10,7 +10,7 @@
|
||
|
$hostarch = "arm" if ($hostarch =~ /^arm.*/);
|
||
|
$hostarch = "arm64" if ($hostarch eq "aarch64");
|
||
|
$hostarch = "power" if ($hostarch =~ /^(powerpc|ppc).*/);
|
||
|
-$hostarch = "zarch" if ($hostarch eq "s390x");
|
||
|
+$hostarch = "zarch" if ($hostarch =~ /^s390/);
|
||
|
|
||
|
$tmpf = new File::Temp( UNLINK => 1 );
|
||
|
$binary = $ENV{"BINARY"};
|
||
|
--- OpenBLAS-0.2.20/ctest.c 2018/01/19 15:54:29 1.1
|
||
|
+++ OpenBLAS-0.2.20/ctest.c 2018/01/19 15:54:49
|
||
|
@@ -105,7 +105,7 @@
|
||
|
ARCH_POWER
|
||
|
#endif
|
||
|
|
||
|
-#if defined(__s390x__) || defined(__zarch__)
|
||
|
+#if defined(__s390x__) || defined(__s390__) || defined(__zarch__)
|
||
|
ARCH_ZARCH
|
||
|
#endif
|
||
|
|
||
|
--- OpenBLAS-0.2.20/getarch.c 2018/01/19 15:54:57 1.1
|
||
|
+++ OpenBLAS-0.2.20/getarch.c 2018/01/19 15:55:07
|
||
|
@@ -974,7 +974,7 @@
|
||
|
#define OPENBLAS_SUPPORTED
|
||
|
#endif
|
||
|
|
||
|
-#if defined(__zarch__) || defined(__s390x__)
|
||
|
+#if defined(__zarch__) || defined(__s390x__) || defined(__s390__)
|
||
|
#define ZARCH
|
||
|
#include "cpuid_zarch.c"
|
||
|
#define OPENBLAS_SUPPORTED
|