summaryrefslogtreecommitdiffstats
path: root/math/openblas/files/patch-cpuid__arm64.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/openblas/files/patch-cpuid__arm64.c')
-rw-r--r--math/openblas/files/patch-cpuid__arm64.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/openblas/files/patch-cpuid__arm64.c b/math/openblas/files/patch-cpuid__arm64.c
new file mode 100644
index 0000000..a0d2451
--- /dev/null
+++ b/math/openblas/files/patch-cpuid__arm64.c
@@ -0,0 +1,11 @@
+--- cpuid_arm64.c.orig 2016-09-01 03:58:42 UTC
++++ cpuid_arm64.c
+@@ -132,6 +132,8 @@ int detect(void)
+
+
+ }
++#else
++ return CPU_ARMV8;
+ #endif
+
+ return CPU_UNKNOWN;
OpenPOWER on IntegriCloud