Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
*.bc
*.jar
*.o
*.exe
*.dot
.idea
.metals
.vscode
Expand All @@ -14,6 +16,7 @@ klee-out-*
gs_gen
output
benchmarks/**/*.ll
benchmarks/**/*.wat.cpp
.bloop
project/project
project/metals.sbt
Expand Down
3 changes: 2 additions & 1 deletion src/test/scala/genwasym/CppCompilationTestBase.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ abstract class CppCompilationTestBase extends FunSuite {
val fromRepo = firstExistingDir(
Seq(
"./third-party/z3/build/z3_install/include",
"./third-party/z3/build/z3_install/usr/local/include",
"./third-party/z3/src/api/c++"
)
)
Expand All @@ -26,7 +27,7 @@ abstract class CppCompilationTestBase extends FunSuite {

protected lazy val z3LibDir: String = {
val fromEnv = sys.env.get("Z3_LIB_DIR")
val fromRepo = firstExistingDir(Seq("./third-party/z3/build/z3_install/lib"))
val fromRepo = firstExistingDir(Seq("./third-party/z3/build/z3_install/lib", "./third-party/z3/build/z3_install/usr/local/lib"))
fromEnv.orElse(fromRepo).getOrElse {
throw new RuntimeException(
"Cannot locate Z3 library directory. Set Z3_LIB_DIR or build third-party/z3."
Expand Down
Loading