diff --git a/build_tools/install_mlir.sh b/build_tools/install_mlir.sh index 5b4eec192..9f5e5c335 100755 --- a/build_tools/install_mlir.sh +++ b/build_tools/install_mlir.sh @@ -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" \