[libc-commits] [libc] [libc] [doc] explain the need of `clang` (PR #74855)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Fri Dec 8 11:55:25 PST 2023


================
@@ -60,9 +60,12 @@ to use the freshly built lld and compiler-rt.
 We will go over some of the special options passed to the ``cmake`` command
 above.
 
-* **Enabled Projects** - Since we want to build and install clang, lld
-  and compiler-rt along with the libc, we specify
-  ``clang;libc;lld;compiler-rt`` as the list of enabled projects.
+* **Enabled Projects** - Since we want to build and install ``clang``, ``lld``
+  and ``compiler-rt`` along with the ``libc``, we specify
+  ``clang;libc;lld;compiler-rt`` as the list of enabled projects. ``clang`` is 
----------------
jhuber6 wrote:

IIRC, the `LLVM_ENABLE_RUNTIMES=libc` option automatically enabled `libc` as a "project", but configures it such that the only thing it does is build `libc-hdrgen`. We then pass that explicitly to the runtimes build.

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


More information about the libc-commits mailing list