Browse Source

Remove SVE from Arm(R) Neoverse(TM) N1 CPU in Makefile

I incorrectly added `+sve` to the Neoverse(TM) N1 CPUs GCC parameters,
which doesn't support SVE - this results in failed builds when using a
compiler that doesn't support `-mtune=neoverse-n1` which appears to hide
the mistake.
tags/v0.3.22^2
Chris Sidebottom 3 years ago
parent
commit
f76e3de3a5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Makefile.arm64

+ 2
- 2
Makefile.arm64 View File

@@ -70,12 +70,12 @@ endif
ifeq ($(CORE), NEOVERSEN1)
ifeq (1, $(filter 1,$(GCCVERSIONGTEQ7) $(ISCLANG)))
ifeq ($(GCCVERSIONGTEQ9), 1)
CCOMMON_OPT += -march=armv8.2-a+sve -mtune=neoverse-n1
CCOMMON_OPT += -march=armv8.2-a -mtune=neoverse-n1
ifneq ($(F_COMPILER), NAG)
FCOMMON_OPT += -march=armv8.2-a -mtune=neoverse-n1
endif
else
CCOMMON_OPT += -march=armv8.2-a+sve -mtune=cortex-a72
CCOMMON_OPT += -march=armv8.2-a -mtune=cortex-a72
ifneq ($(F_COMPILER), NAG)
FCOMMON_OPT += -march=armv8.2-a -mtune=cortex-a72
endif


Loading…
Cancel
Save