diff options
author | Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> | 2020-10-20 23:56:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-20 23:56:30 +0200 |
commit | 00813363bedef30ebd49373c8ccb4c8de6711ed2 (patch) | |
tree | 894b4818f3fad9588bd49747c56fa53472d3bf46 /Makefile.x86_64 | |
parent | 336e35469a8d506388e0582054e8f9a5feb5733e (diff) | |
download | openblas-00813363bedef30ebd49373c8ccb4c8de6711ed2.tar.gz openblas-00813363bedef30ebd49373c8ccb4c8de6711ed2.tar.bz2 openblas-00813363bedef30ebd49373c8ccb4c8de6711ed2.zip |
Enable -mavx2 for flang as well
Diffstat (limited to 'Makefile.x86_64')
-rw-r--r-- | Makefile.x86_64 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.x86_64 b/Makefile.x86_64 index 3a42e19e4..58264262e 100644 --- a/Makefile.x86_64 +++ b/Makefile.x86_64 @@ -90,6 +90,10 @@ GCCMINORVERSIONGTEQ7 := $(shell expr `$(FC) -dumpversion | cut -f2 -d.` \>= 7) ifeq ($(GCCVERSIONGTEQ4)$(GCCMINORVERSIONGTEQ7), 11) FCOMMON_OPT += -mavx2 endif +else +ifeq ($(F_COMPILER), FLANG) +FCOMMON_OPT += -mavx2 +endif endif endif endif |