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:
948d11f
)
Add variable for gcc >=9 test
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Fri, 29 Nov 2019 22:47:23 +0000
(23:47 +0100)
committer
GitHub
<noreply@github.com>
Fri, 29 Nov 2019 22:47:23 +0000
(23:47 +0100)
used in KERNEL.POWER9
kernel/Makefile
patch
|
blob
|
history
diff --git
a/kernel/Makefile
b/kernel/Makefile
index
e812250
..
9b468a6
100644
(file)
--- a/
kernel/Makefile
+++ b/
kernel/Makefile
@@
-5,6
+5,11
@@
endif
TOPDIR = ..
include $(TOPDIR)/Makefile.system
+
+ifeq ($(C_COMPILER), GCC)
+GCCVERSIONGTEQ9 := $(shell expr `$(CC) -dumpversion | cut -f1 -d.` \>= 9)
+endif
+
AVX2OPT =
ifeq ($(C_COMPILER), GCC)
# AVX2 support was added in 4.7.0