Skip to content

Commit 39943c3

Browse files
committed
[compiler-rt][AArch64] Readd SME ABI routines files to the build
Commit 75c3ff8 inadvertently removed some files from the build related to the SME ABI routines. This patch fixes the issue by reintroducing the files to the build in CMake.
1 parent d88067c commit 39943c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler-rt/lib/builtins/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@ if (COMPILER_RT_HAS_AARCH64_SME)
600600
set_source_files_properties(aarch64/arm_apple_sme_abi.s PROPERTIES COMPILE_FLAGS -march=armv8a+sme)
601601
message(STATUS "AArch64 Apple SME ABI routines enabled")
602602
elseif (NOT COMPILER_RT_DISABLE_AARCH64_FMV AND COMPILER_RT_HAS_FNO_BUILTIN_FLAG AND COMPILER_RT_AARCH64_FMV_USES_GLOBAL_CONSTRUCTOR)
603+
list(APPEND aarch64_SOURCES aarch64/sme-abi.S aarch64/sme-abi-assert.c)
603604
if(COMPILER_RT_HAS_ARM_UNALIGNED AND COMPILER_RT_HAS_ARM_FP)
604605
list(APPEND aarch64_SOURCES aarch64/sme-libc-opt-memset-memchr.S aarch64/sme-libc-opt-memcpy-memmove.S)
605606
elseif(COMPILER_RT_HAS_ARM_UNALIGNED)

0 commit comments

Comments
 (0)