From 9e9bf7ac5bc8bf7c2b07dbc8a09d7cb494c70acb Mon Sep 17 00:00:00 2001 From: Amy Huang Date: Tue, 5 Aug 2025 16:57:16 -0700 Subject: [PATCH] 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. --- 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 3ac058e207a6..ee5d5fb66e8f 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