[libc-commits] [libc] [libc] Prepare baremetal Armv8.1-M.Main no-FP CMake cache file for running tests (PR #243440)

Victor Campos via libc-commits libc-commits at lists.llvm.org
Wed Nov 18 02:49:15 PST 2026


================
@@ -1,8 +1,54 @@
 set(CMAKE_SYSTEM_PROCESSOR arm CACHE STRING "")
 set(RUNTIMES_TARGET_TRIPLE "armv8.1m.main-none-eabi" CACHE STRING "")
+set(LLVM_LIBC_FULL_BUILD ON CACHE BOOL "")
 
 foreach(lang C;CXX;ASM)
-  set(CMAKE_${lang}_FLAGS "-mfloat-abi=hard -march=armv8.1-m.main+mve.fp+fp.dp -mcpu=cortex-m55" CACHE STRING "")
+  set(CMAKE_${lang}_FLAGS "-march=armv8.1m.main+nomve -mcpu=cortex-m55 -mfloat-abi=soft" CACHE STRING "")
----------------
vhscampos wrote:

My plan is to add another cmake cache file to keep that original configuration. The current file name does not truly reflect the target triple that corresponds to a hard float config, as it is missing the "hf" suffix.

It should have been done together with this patch. It got confusing because of this.

But I will create new cmake cache files anyway. A possible rename of this file can come later.

https://github.com/llvm/llvm-project/pull/243440


More information about the libc-commits mailing list