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

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Fri Dec 8 11:51:08 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 
----------------
SchrodingerZhu wrote:

I see. I will be closing this PR then. Before that, would it be beneficial to update commands to `-DLLVM_ENABLE_RUNTIMES="libc;compiler-rt"`? 

----

I think I was wrong about `llvm/utils/TableGen`. The error I had before may be due to my attempting to build `libc` from `cmake ../runtime`. Would that be causing problems?

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


More information about the libc-commits mailing list