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:
ece0bfb
)
Do not force gcc options on non-gcc compilers
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Thu, 13 Jun 2019 21:01:35 +0000
(23:01 +0200)
committer
GitHub
<noreply@github.com>
Thu, 13 Jun 2019 21:01:35 +0000
(23:01 +0200)
fixes compile failure with pgi 18.10 as reported on OpenBLAS-users
Makefile.x86_64
patch
|
blob
|
history
diff --git
a/Makefile.x86_64
b/Makefile.x86_64
index
1b7fe3e
..
d236450
100644
(file)
--- a/
Makefile.x86_64
+++ b/
Makefile.x86_64
@@
-28,11
+28,15
@@
endif
ifeq ($(CORE), HASWELL)
ifndef DYNAMIC_ARCH
ifndef NO_AVX2
+ifeq ($(C_COMPILER), GCC)
CCOMMON_OPT += -mavx2
+endif
+ifeq $(F_COMPILER), GFORTRAN)
FCOMMON_OPT += -mavx2
endif
endif
endif
+endif