add llvm examples

This commit is contained in:
Felix Suchert 2023-01-26 14:39:24 +01:00
parent 62c4900ef9
commit ed7b49403c
Signed by: feliix42
GPG key ID: 24363525EA0E8A99

View file

@ -89,9 +89,11 @@
# inst will be our installation prefix
#"-DCMAKE_INSTALL_PREFIX=../inst"
# "-DLLVM_INSTALL_TOOLCHAIN_ONLY=ON"
# install tools like FileCheck
"-DLLVM_INSTALL_UTILS=ON"
# change this to enable the projects you need
"-DLLVM_ENABLE_PROJECTS=mlir"
"-DLLVM_BUILD_EXAMPLES=ON"
# "-DLLVM_BUILD_EXAMPLES=ON"
# 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=X86"
# -DLLVM_TARGETS_TO_BUILD="X86;NVPTX;AMDGPU" \