[libc-commits] [libc] 9e9bf7a - Update the cmake options in libc windows build docs (#152205)
via libc-commits
libc-commits at lists.llvm.org
Tue Aug 5 16:57:19 PDT 2025
Author: Amy Huang
Date: 2025-08-05T16:57:16-07:00
New Revision: 9e9bf7ac5bc8bf7c2b07dbc8a09d7cb494c70acb
URL: https://github.com/llvm/llvm-project/commit/9e9bf7ac5bc8bf7c2b07dbc8a09d7cb494c70acb
DIFF: https://github.com/llvm/llvm-project/commit/9e9bf7ac5bc8bf7c2b07dbc8a09d7cb494c70acb.diff
LOG: Update the cmake options in libc windows build docs (#152205)
Add the LLVM_ENABLE_RUNTIMES option and remove some that are out of date
or already the default setting.
Added:
Modified:
libc/config/windows/README.md
Removed:
################################################################################
diff --git a/libc/config/windows/README.md b/libc/config/windows/README.md
index 3ac058e207a65..ee5d5fb66e8fc 100644
--- a/libc/config/windows/README.md
+++ b/libc/config/windows/README.md
@@ -59,7 +59,7 @@ libc, and finally, build and test the libc.
by Clang, so ensure Clang is specified as the C and C++ compiler.
```
- cmake -G Ninja ../llvm-project/llvm -DCMAKE_C_COMPILER=C:/src/clang-build/bin/clang-cl.exe -DCMAKE_CXX_COMPILER=C:/src/clang-build/bin/clang-cl.exe -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_FORCE_BUILD_RUNTIME=libc -DLLVM_ENABLE_PROJECTS=libc -DLLVM_NATIVE_ARCH=x86_64 -DLLVM_HOST_TRIPLE=x86_64-window-x86-gnu
+ cmake -G Ninja ../llvm-project/runtimes -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=C:/src/clang-build/bin/clang-cl.exe -DCMAKE_CXX_COMPILER=C:/src/clang-build/bin/clang-cl.exe -DLLVM_ENABLE_RUNTIMES=libc
```
Some LLVM libc math unittests test correctness/accuracy against results from
More information about the libc-commits
mailing list