mirror-llvm-project/cmake/Modules
William Huynh 0b1639581a
[libc] Change LIBC_THREAD_LOCAL to be dependent on LIBC_THREAD_MODE (#151527)
When single-threaded mode is selected, all instances of the keyword
`LIBC_THREAD_LOCAL` are stubbed out, similar to how it currently works
on the GPU. This allows baremetal builds to avoid using thread_local.

However, libcxx uses shared headers, so we need to be careful there.
Thankfully, there is already an option to disable multithreading in
libcxx, so a flag is added such that single-threaded mode is propagated
down to libc.
2025-08-06 15:04:26 +01:00
..
CMakePolicy.cmake Reland "[CMake] Do not set CMP0116 explicitly to old (#90385)" 2025-04-26 17:59:41 +00:00
EnableLanguageNolink.cmake
ExtendPath.cmake
FindGRPC.cmake
FindLibcCommonUtils.cmake [libc] Change LIBC_THREAD_LOCAL to be dependent on LIBC_THREAD_MODE (#151527) 2025-08-06 15:04:26 +01:00
FindPrefixFromConfig.cmake [cmake] Resolve symlink when finding install prefix (#124743) 2025-03-18 14:48:40 +01:00
GetClangResourceDir.cmake cmake: Allow CLANG_RESOURCE_DIR to be absolute. 2025-06-27 16:04:35 -07:00
GetDarwinLinkerVersion.cmake Get the linker version and pass the it to compiler-rt tests on Darwin. (#86220) 2024-03-22 15:29:36 -07:00
GNUInstallPackageDir.cmake
HandleCompilerRT.cmake [cmake] Promote message when failing to find compiler-rt to warning (#111834) 2024-10-24 10:27:51 -04:00
LLVMCheckCompilerLinkerFlag.cmake [cmake] switch to CMake's native check_{compiler,linker}_flag (#96171) 2024-07-31 10:31:13 -04:00
LLVMVersion.cmake Bump version to 22.0.0-git 2025-07-15 16:03:12 +02:00
SetPlatformToolchainTools.cmake
SortSubset.cmake