Skip to content

Commit cdebb4f

Browse files
authored
Merge pull request #5365 from martin-frbg/issue5324
Fix arm64 HAVE_SME setting for DYNAMIC_ARCH builds using CMake
2 parents 0e11537 + ff61457 commit cdebb4f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kernel/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,9 @@ function (build_core TARGET_CORE KDIR TSUFFIX KERNEL_DEFINITIONS)
238238
if (X86_64 OR ARM64)
239239
set(USE_DIRECT_SGEMM true)
240240
endif()
241+
if (UC_TARGET_CORE MATCHES ARMV9SME)
242+
set (HAVE_SME true)
243+
endif ()
241244

242245
if (USE_DIRECT_SGEMM)
243246
# if (NOT DEFINED SGEMMDIRECTKERNEL)

0 commit comments

Comments
 (0)