projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f863f9
)
Build fix for systems that do not support getauxval
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Sun, 22 Nov 2020 19:20:28 +0000
(20:20 +0100)
committer
GitHub
<noreply@github.com>
Sun, 22 Nov 2020 19:20:28 +0000
(20:20 +0100)
driver/others/dynamic_arm64.c
patch
|
blob
|
history
diff --git
a/driver/others/dynamic_arm64.c
b/driver/others/dynamic_arm64.c
index
007a221
..
4f1b12f
100644
(file)
--- a/
driver/others/dynamic_arm64.c
+++ b/
driver/others/dynamic_arm64.c
@@
-143,7
+143,7
@@
static gotoblas_t *get_coretype(void) {
#if (!defined OS_LINUX && !defined OS_ANDROID)
return NULL;
-#e
ndif
+#e
lse
if (!(getauxval(AT_HWCAP) & HWCAP_CPUID)) {
#ifdef __linux
@@
-235,6
+235,7
@@
static gotoblas_t *get_coretype(void) {
openblas_warning(1, coremsg);
}
return NULL;
+#endif
}
void gotoblas_dynamic_init(void) {