LLVM: Difference between revisions
imported>Nix m add applications and languages categories |
imported>Igodlab m libcxx & libcxxabi should be enabled in -DLLVM_ENABLE_RUNTIMES rather than -DLLVM_ENABLE_PROJECTS |
||
Line 34: | Line 34: | ||
"-DLLVM_INSTALL_TOOLCHAIN_ONLY=ON" | "-DLLVM_INSTALL_TOOLCHAIN_ONLY=ON" | ||
# change this to enable the projects you need | # change this to enable the projects you need | ||
"-DLLVM_ENABLE_PROJECTS=clang | "-DLLVM_ENABLE_PROJECTS=clang" | ||
# enable libcxx* to come into play at runtimes | |||
"-DLLVM_ENABLE_RUNTIMES=libcxx;libcxxabi" | |||
# this makes llvm only to produce code for the current platform, this saves CPU time, change it to what you need | # this makes llvm only to produce code for the current platform, this saves CPU time, change it to what you need | ||
"-DLLVM_TARGETS_TO_BUILD=host" | "-DLLVM_TARGETS_TO_BUILD=host" |