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:
e3d846a
)
Fix PGI compiler detection for getarch
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Fri, 16 Aug 2019 07:00:11 +0000
(09:00 +0200)
committer
GitHub
<noreply@github.com>
Fri, 16 Aug 2019 07:00:11 +0000
(09:00 +0200)
Makefile.system
patch
|
blob
|
history
diff --git
a/Makefile.system
b/Makefile.system
index
6addbda
..
a54282f
100644
(file)
--- a/
Makefile.system
+++ b/
Makefile.system
@@
-142,9
+142,9
@@
endif
endif
-# On x86_64 build getarch with march=native. This is required to detect AVX512 support in getarch.
+# On x86_64 build getarch with march=native
unless the compiler is PGI
. This is required to detect AVX512 support in getarch.
ifeq ($(ARCH), x86_64)
-if
neq ($(C_COMPILER), PGI
)
+if
eq ($(findstring pgcc,$(HOSTCC)),
)
GETARCH_FLAGS += -march=native
endif
endif