Skip to content

Commit 15f91d9

Browse files
Merge pull request #51 from trailofbits/fix-z3-deps-again
Help older LLVMs find our Z3
2 parents af71ffd + ac72c14 commit 15f91d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkgman/installers/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,9 +599,9 @@ def common_installer_llvm(properties):
599599
"-DLLVM_INCLUDE_TESTS=OFF"]
600600

601601
if properties["llvm_has_z3"]:
602-
cmake_command += ["-DLLVM_ENABLE_Z3_SOLVER=ON", "-DLLVM_Z3_INSTALL_DIR=" + os.path.join(repository_path, "z3")]
602+
cmake_command += ["-DLLVM_ENABLE_Z3_SOLVER=ON", "-DLLVM_Z3_INSTALL_DIR=" + os.path.join(repository_path, "z3"), "-DCLANG_ANALYZER_Z3_INSTALL_DIR=" + os.path.join(repository_path, "z3")]
603603
else:
604-
cmake_command += ["-DLLVM_ENABLE_Z3_SOLVER=OFF"]
604+
cmake_command += ["-DLLVM_ENABLE_Z3_SOLVER=OFF", "-DCLANG_ANALYZER_ENABLE_Z3_SOLVER=OFF"]
605605

606606
if properties["ccache"]:
607607
print(" i Enabling ccache on /cache ... ")

0 commit comments

Comments
 (0)