From f76e3de3a5676ffb661d5fa02883f0bf1e3b777a Mon Sep 17 00:00:00 2001 From: Chris Sidebottom Date: Tue, 6 Dec 2022 21:23:07 +0000 Subject: [PATCH] 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. --- Makefile.arm64 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.arm64 b/Makefile.arm64 index fc986f4c0..064e84cbb 100644 --- a/Makefile.arm64 +++ b/Makefile.arm64 @@ -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