aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-09 11:55:19 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-09 11:55:19 +0100
commit2fac9487895b4268ad5598eee4245094edee8821 (patch)
tree08f6f854b5f59500d21b5b4d70b7eda53b7fb1e6 /build.sh
parent91e52cafc2fc9a9cd990685ede1a530831bd084e (diff)
downloadqtmips-2fac9487895b4268ad5598eee4245094edee8821.tar.gz
qtmips-2fac9487895b4268ad5598eee4245094edee8821.tar.bz2
qtmips-2fac9487895b4268ad5598eee4245094edee8821.zip
Run build in parallel
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index a76e870..3d6ab61 100755
--- a/build.sh
+++ b/build.sh
@@ -8,7 +8,7 @@ cd build
# Compile
qtchooser -run-tool=qmake -qt=5 "$ROOT" "QMAKE_RPATHDIR += ../qtmips_machine"
-make sub-qtmips_cli sub-qtmips_gui # Note: we are building these to to not build tests
+make -j$(nproc) sub-qtmips_cli sub-qtmips_gui # Note: we are building these to to not build tests
# Link executables to more suitable place
ln -fs qtmips_cli/qtmips_cli cli