[libc-commits] [libc] Update the cmake options in libc windows build docs (PR #152205)

via libc-commits libc-commits at lists.llvm.org
Tue Aug 5 13:52:40 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Amy Huang (amykhuang)

<details>
<summary>Changes</summary>

Add the LLVM_ENABLE_RUNTIMES option and remove some that are out of date or already the default setting.

---
Full diff: https://github.com/llvm/llvm-project/pull/152205.diff


1 Files Affected:

- (modified) libc/config/windows/README.md (+1-1) 


``````````diff
diff --git a/libc/config/windows/README.md b/libc/config/windows/README.md
index 3ac058e207a65..b5fc83b043a69 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/llvm -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

``````````

</details>


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


More information about the libc-commits mailing list