[libc-commits] [libc] [libc] Fix builds on Windows (PR #102162)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Tue Aug 6 08:36:23 PDT 2024


================
@@ -39,7 +39,7 @@ the CMake configure step as follows:
   $> cd llvm-project  # The llvm-project checkout
   $> mkdir build
   $> cd build
-  $> cmake ../llvm -G Ninja -DLLVM_ENABLE_PROJECTS="libc"  \
+  $> cmake ../llvm -G Ninja -DLLVM_ENABLE_RUNTIMES="libc"  \
----------------
SchrodingerZhu wrote:

As a side note, `LLVM_ENABLE_PROJECTS` should work but the cmake is unhappy about it, generating no targets of libc for some reason. I think it is generally better to use `LLVM_ENABLE_RUNTIMES` after all.

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


More information about the libc-commits mailing list