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:
8506386
)
Do not use -march=native with the PGI compiler
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Fri, 16 Aug 2019 06:58:10 +0000
(08:58 +0200)
committer
GitHub
<noreply@github.com>
Fri, 16 Aug 2019 06:58:10 +0000
(08:58 +0200)
cmake/system.cmake
patch
|
blob
|
history
diff --git
a/cmake/system.cmake
b/cmake/system.cmake
index
1c2093e
..
4f80116
100644
(file)
--- a/
cmake/system.cmake
+++ b/
cmake/system.cmake
@@
-66,7
+66,7
@@
if (DEFINED TARGET)
endif ()
# On x86_64 build getarch with march=native. This is required to detect AVX512 support in getarch.
-if (X86_64)
+if (X86_64
AND NOT ${CMAKE_C_COMPILER_ID} STREQUAL "PGI"
)
set(GETARCH_FLAGS "${GETARCH_FLAGS} -march=native")
endif ()