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:
4f34bcf
)
s390x/DYNAMIC_ARCH: define a HW_CAP flag to support slightly older glibc versions
author
Marius Hillenbrand
<mhillen@linux.ibm.com>
Mon, 7 Sep 2020 15:13:03 +0000
(17:13 +0200)
committer
Marius Hillenbrand
<mhillen@linux.ibm.com>
Tue, 8 Sep 2020 17:34:18 +0000
(19:34 +0200)
Enable building DYNAMIC_ARCH support with older versions of glibc that
do not know about the hwcap flag HWCAP_S390_VXE yet.
Signed-off-by: Marius Hillenbrand <mhillen@linux.ibm.com>
driver/others/dynamic_zarch.c
patch
|
blob
|
history
diff --git
a/driver/others/dynamic_zarch.c
b/driver/others/dynamic_zarch.c
index dac8909fbb6a801d5a7c90a8e2437095b4b83c59..bf5eab9b20c5b9128656f7ec7dc6439f9c9b70db 100644
(file)
--- a/
driver/others/dynamic_zarch.c
+++ b/
driver/others/dynamic_zarch.c
@@
-65,6
+65,10
@@
char* gotoblas_corename(void) {
return corename[0];
}
+#ifndef HWCAP_S390_VXE
+#define HWCAP_S390_VXE 8192
+#endif
+
/**
* Detect the fitting set of kernels by retrieving the CPU features supported by
* OS from the auxiliary value AT_HWCAP and choosing the set of kernels