

The default value is Debug which fits people who want DCMAKE_BUILD_TYPE=type - Controls optimization level and debug information Pathname of where you want the LLVM tools and libraries to be installed DCMAKE_INSTALL_PREFIX=directory - Specify for directory the full DLLVM_ENABLE_PROJECTS="clang" -DLLVM_ENABLE_RUNTIMES="libcxx libcxxabi". Can include any of: clang,Ĭlang-tools-extra, lldb, compiler-rt, lld, polly, or cross-project-tests.įor example, to build LLVM, Clang, libcxx, and libcxxabi, use Subprojects you’d like to additionally build. DLLVM_ENABLE_PROJECTS='.' - semicolon-separated list of the LLVM

The LLVM Getting Started documentation may be out of date. Getting the Source Code and Building LLVM ¶
