Browse Source

Add fallback compile options for A64FX target

tags/v0.3.28^2
Chris Sidebottom 1 year ago
parent
commit
85ca003ae7
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      Makefile.arm64

+ 8
- 1
Makefile.arm64 View File

@@ -276,12 +276,19 @@ endif
endif
endif

ifeq (1, $(filter 1,$(GCCVERSIONGTEQ11) $(ISCLANG)))
ifeq ($(CORE), A64FX)
ifeq (1, $(filter 1,$(GCCVERSIONGTEQ10) $(ISCLANG)))
ifeq (1, $(filter 1,$(GCCMINORVERSIONGTEQ3)))
CCOMMON_OPT += -march=armv8.2-a+sve -mtune=a64fx
ifneq ($(F_COMPILER), NAG)
FCOMMON_OPT += -march=armv8.2-a+sve -mtune=a64fx
endif
else
CCOMMON_OPT += -march=armv8.4-a+sve -mtune=neoverse-n1
ifneq ($(F_COMPILER), NAG)
FCOMMON_OPT += -march=armv8.4-a -mtune=neoverse-n1
endif
endif
endif
endif



Loading…
Cancel
Save