Skip to content

Commit 275eb6f

Browse files
authored
Add workaround for current LLVM SME bug on Windows
1 parent e85efb8 commit 275eb6f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Makefile.arm64

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ endif
6161
ifeq ($(CORE), ARMV9SME)
6262
CCOMMON_OPT += -march=armv9-a+sve2+sme
6363
FCOMMON_OPT += -march=armv9-a+sve2
64+
if defined(OS_WINDOWS)
65+
ifeq ($(C_COMPILER), CLANG)
66+
CCOMMON_OPT += --aarch64-stack-hazard-size=0
67+
endif
68+
endif
6469
endif
6570

6671
ifeq ($(CORE), CORTEXA53)

0 commit comments

Comments
 (0)