[libc-commits] [libc] Update the cmake options in libc windows build docs (PR #152205)
Amy Huang via libc-commits
libc-commits at lists.llvm.org
Tue Aug 5 13:52:10 PDT 2025
https://github.com/amykhuang created https://github.com/llvm/llvm-project/pull/152205
Add the LLVM_ENABLE_RUNTIMES option and remove some that are out of date or already the default setting.
>From 3883251bc5a581c47963d35bd487d31a259f6355 Mon Sep 17 00:00:00 2001
From: Amy Huang <akhuang at google.com>
Date: Tue, 5 Aug 2025 13:48:21 -0700
Subject: [PATCH] Update the cmake options in libc windows build docs
---
libc/config/windows/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
More information about the libc-commits
mailing list