[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 10:14:35 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:

I've always enabled it as a project.

I do remember hearing some difficulties with `compiler-rt`, but I just attributed that to needing a full compiler toolchain to build it, so if you have a system installation of `clang` or `gcc` it should work without specifically needing the `compiler-rt` from in-tree.

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


More information about the libc-commits mailing list