Skip to content

Commit c11c93e

Browse files
committed
Build Z3 with make -j
1 parent e7f6700 commit c11c93e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

project/Build.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,14 @@ object ScalaZ3Build {
148148
val python = if (("which python2.7" #> file("/dev/null")).! == 0) "python2.7" else "python"
149149

150150
val i1 = exec(python + " scripts/mk_make.py --java", z3Path, s)
151-
if (i1 != 0) i1 else exec("make", z3Path / "build", s)
151+
if (i1 != 0) i1 else exec("make -j", z3Path / "build", s)
152152
} else if (isWindows) {
153153
val i1 = if (is64b) exec("python scripts/mk_make.py -x --java", z3Path, s)
154154
else exec("python scripts/mk_make.py --java", z3Path, s)
155-
if (i1 != 0) i1 else exec("nmake", z3Path / "build", s)
155+
if (i1 != 0) i1 else exec("nmake -j", z3Path / "build", s)
156156
} else if (isMac) {
157157
val i1 = exec("python scripts/mk_make.py --java", z3Path, s)
158-
if (i1 != 0) i1 else exec("make", z3Path / "build", s)
158+
if (i1 != 0) i1 else exec("make -j", z3Path / "build", s)
159159
} else {
160160
sys.error("Don't know how to compile Z3 on arch: " + osInf + " - " + osArch)
161161
}

0 commit comments

Comments
 (0)