[PATCH] D123968: docs: Add instructions for stand-alone builds of clang

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 28 00:13:11 PDT 2022


MaskRay added inline comments.


================
Comment at: llvm/docs/GettingStarted.rst:127
+
+LLVM_ROOT should point to the prefix of your llvm installation, so for example,
+if llvm is installed into /usr/bin and /usr/lib64, then you should pass
----------------
What files are needed for the llvm installation? `LLVM_ENABLE_PROJECTS=llvm` with everything installed by `ninja install` ?


================
Comment at: llvm/docs/GettingStarted.rst:129
+if llvm is installed into /usr/bin and /usr/lib64, then you should pass
+-DLLVM_ROOT=/usr/.  Both the LLVM_ROOT and LLVM_EXTERNAL_LIT options
+are required to do stand-alone builds for all sub-projects.  Additional required
----------------
Add backsticks for /usr/bin, -D, etc.

Is `Clang_DIR` worth mentioning? See https://lldb.llvm.org/resources/build.html#standalone-builds


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123968/new/

https://reviews.llvm.org/D123968



More information about the llvm-commits mailing list