mirror of https://github.com/llvm/torch-mlir
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
parent
4b10fe94fe
commit
36d750ca89
|
@ -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" \
|
||||
|
|
Loading…
Reference in New Issue