diff options
author | Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> | 2019-06-20 19:56:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-20 19:56:01 +0200 |
commit | 7684c4f8f8f979ec4d8a563e9b9cb442d9b04a80 (patch) | |
tree | 6ca4525db64a2a4eb3a4bd357b84e8083d81a8fa /Makefile.system | |
parent | 280552b988e4377d95bc2f77bc07d2c00bb544e2 (diff) | |
download | openblas-7684c4f8f8f979ec4d8a563e9b9cb442d9b04a80.tar.gz openblas-7684c4f8f8f979ec4d8a563e9b9cb442d9b04a80.tar.bz2 openblas-7684c4f8f8f979ec4d8a563e9b9cb442d9b04a80.zip |
PGI compiler does not like -march=native
Diffstat (limited to 'Makefile.system')
-rw-r--r-- | Makefile.system | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.system b/Makefile.system index 44eacda4b..fcb3cbe33 100644 --- a/Makefile.system +++ b/Makefile.system @@ -144,9 +144,10 @@ endif # On x86_64 build getarch with march=native. This is required to detect AVX512 support in getarch. ifeq ($(ARCH), x86_64) +ifneq ($(C_COMPILER), PGI) GETARCH_FLAGS += -march=native endif - +endif ifdef INTERFACE64 ifneq ($(INTERFACE64), 0) |