Add gfortran parameters
authorHonglin Zhu <zhuhonglin.zhl@alibaba-inc.com>
Wed, 29 Jun 2022 02:08:06 +0000 (10:08 +0800)
committerHonglin Zhu <zhuhonglin.zhl@alibaba-inc.com>
Wed, 29 Jun 2022 02:17:05 +0000 (10:17 +0800)
Makefile.arm64

index c88728e..7ffe93a 100644 (file)
@@ -123,7 +123,7 @@ ifeq ($(GCCVERSIONGTEQ9), 1)
 ifeq (1, $(filter 1,$(GCCMINORVERSIONGTEQ4) $(GCCVERSIONGTEQ10)))
 CCOMMON_OPT += -march=armv8.5-a+sve+sve2+bf16 -mtune=neoverse-n2
 ifneq ($(F_COMPILER), NAG)
-FCOMMON_OPT += -march=armv8.5-a -mtune=neoverse-n2
+FCOMMON_OPT += -march=armv8.5-a+sve+sve2+bf16 -mtune=neoverse-n2
 endif
 else
 CCOMMON_OPT += -march=armv8.5-a -mtune=native