[libcxx-commits] [libcxx] 63225d3 - [libcxx][libc] Update LLVM-libc/compiler-rt config (#224160)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 17 09:58:31 PDT 2026


Author: Michael Jones
Date: 2026-09-17T09:58:25-07:00
New Revision: 63225d3616be90ab15b97919ac12ae0ab052ac82

URL: https://github.com/llvm/llvm-project/commit/63225d3616be90ab15b97919ac12ae0ab052ac82
DIFF: https://github.com/llvm/llvm-project/commit/63225d3616be90ab15b97919ac12ae0ab052ac82.diff

LOG: [libcxx][libc] Update LLVM-libc/compiler-rt config (#224160)

The config libc++ uses to build with LLVM-libc uses compiler-rt, but
previously wasn't building the compiler-rt atomic library. This PR
updates the config to tell compiler-rt to build its atomic library.

Added: 
    

Modified: 
    libcxx/cmake/caches/Generic-llvm-libc.cmake

Removed: 
    


################################################################################
diff  --git a/libcxx/cmake/caches/Generic-llvm-libc.cmake b/libcxx/cmake/caches/Generic-llvm-libc.cmake
index dce7fb73ff8b3..50c54320b1ecd 100644
--- a/libcxx/cmake/caches/Generic-llvm-libc.cmake
+++ b/libcxx/cmake/caches/Generic-llvm-libc.cmake
@@ -9,6 +9,7 @@ set(COMPILER_RT_USE_LLVM_UNWINDER OFF CACHE BOOL "")
 set(COMPILER_RT_BUILD_BUILTINS ON CACHE BOOL "")
 set(COMPILER_RT_BUILD_CRT ON CACHE BOOL "")
 set(COMPILER_RT_BUILD_STANDALONE_LIBATOMIC OFF CACHE BOOL "")
+set(COMPILER_RT_EXCLUDE_ATOMIC_BUILTIN OFF CACHE BOOL "")
 set(COMPILER_RT_HAS_FNO_BUILTIN_FLAG ON CACHE BOOL "")
 set(COMPILER_RT_BUILTINS_HIDE_SYMBOLS ON CACHE BOOL "")
 set(COMPILER_RT_HAS_VISIBILITY_HIDDEN_FLAG ON CACHE BOOL "")


        


More information about the libcxx-commits mailing list