Browse Source

Merge pull request #2928 from martin-frbg/issue2917

Enable -mavx2 for flang as well where supported
tags/v0.3.12
Martin Kroeker GitHub 5 years ago
parent
commit
28242096cd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      Makefile.x86_64

+ 4
- 0
Makefile.x86_64 View File

@@ -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


Loading…
Cancel
Save