Skip to content

Commit

Permalink
Merge pull request #3747 from martin-frbg/issue3746
Browse files Browse the repository at this point in the history
Avoid spurious calls and warnings when NOFORTRAN is set
  • Loading branch information
martin-frbg authored Aug 29, 2022
2 parents 2847636 + e15f810 commit 0053452
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile.x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ ifeq ($(C_COMPILER), CLANG)
CCOMMON_OPT += -mavx2
endif
endif
ifeq ($(NOFORTRAN), $(filter 0,$(NOFORTRAN)))
ifeq ($(F_COMPILER), GFORTRAN)
# AVX2 support was added in 4.7.0
GCCVERSIONGTEQ4 := $(shell expr `$(FC) -dumpversion | cut -f1 -d.` \>= 4)
Expand All @@ -159,6 +160,7 @@ endif
endif
endif
endif
endif

endif

Expand Down

0 comments on commit 0053452

Please sign in to comment.