Default to -DLLVM_LINK_LLVM_DYLIB=ON.

* We're building libLLVM.so anyway. Saves a lot of time/space to link tools against it.
* MLIR tools do not yet respect this (but it doesn't seem to hurt).
pull/112/head
Stella Laurenzo 2020-11-08 18:19:36 -08:00 committed by Sean Silva
parent 4b10fe94fe
commit 36d750ca89
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ cmake -GNinja \
-DCMAKE_EXPORT_COMPILE_COMMANDS=TRUE \
"-DPYTHON_EXECUTABLE=$python_exe" \
-DLLVM_BUILD_LLVM_DYLIB=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_INSTALL_UTILS=ON \
-DLLVM_ENABLE_PROJECTS=mlir \
-DLLVM_TARGETS_TO_BUILD="X86" \