on xenial help sign in
Let Ninja parallelize itself.

Approved by Albert Astals Cid, PS Jenkins bot.

commit7072cef19b1a8b55a6ea5c08f1457a762f193353 authorJussi Pakkanen <jussi.pakkanen@canonical.com> dateMon 26 Aug 2013, 14:39 (13 years ago) parent51035b7fcb7647
1 file changed+2−1
build+2−1
build+2−1
@@ -59,7 +59,8 @@ mk_build_deps() {
5959
6060if [ -f "/usr/bin/ninja" ] ; then
6161 GENERATOR="-G Ninja"
62− BUILD_COMMAND="ninja -j$NUM_JOBS"
62+ # Ninja does not need -j, it parallelizes automatically.
63+ BUILD_COMMAND="ninja"
6364else
6465 GENERATOR=
6566 BUILD_COMMAND="make -j$NUM_JOBS"