From 426b5f23ed0e50cfc5110b2e8529c0e4c8bd65cc Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Mon, 18 Aug 2025 14:35:36 -0700 Subject: [PATCH] Add compiler options for VORTEXM4 --- cmake/system.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/system.cmake b/cmake/system.cmake index bf4c548b9..7ce5b82ab 100644 --- a/cmake/system.cmake +++ b/cmake/system.cmake @@ -361,6 +361,9 @@ if (${TARGET} STREQUAL NEOVERSEV1) if (${TARGET} STREQUAL ARMV9SME) set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -march=armv9-a+sme -O3") endif() + if (${TARGET} STREQUAL VORTEXM4) + set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -march=armv8.4-a+sme -O3") + endif() if (${TARGET} STREQUAL A64FX) if (${CMAKE_C_COMPILER_ID} STREQUAL "PGI" AND NOT NO_SVE) set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -Msve-intrinsics -march=armv8.2-a+sve -mtune=a64fx")