summaryrefslogtreecommitdiffstats
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorgjoranv <gv@oath.com>2018-12-11 16:04:47 +0100
committergjoranv <gv@oath.com>2018-12-11 16:06:10 +0100
commit9b4e9f93ac26511d2f8b7b7c3c9309f769f26a74 (patch)
treeff2ba9a964ee1a39d961d2ce845c47cafb7f377d /bootstrap.sh
parenta4af8e7aa38507b43fa0cb75c8af18f42203a3f3 (diff)
Use multiple threads for build with multiple modules
.. and one thread for single-module builds.
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index faeeb806d01..b0c3fc12ca6 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -64,17 +64,17 @@ $top/dist/getversion.pl -M $top > $top/dist/vtag.map
echo "Downloading all dependencies. This may take a few minutes with an empty Maven cache."
(
cd container-dependency-versions
- mvn_install --threads 1.5C
+ mvn_install
)
(
cd parent
- mvn_install --threads 1.5C
+ mvn_install
)
-mvn_install --threads 1.5C -N
+mvn_install -N
# and build plugins first:
echo "Building Vespa Maven plugins."
-mvn_install --threads 1 -f maven-plugins/pom.xml
+mvn_install --threads 1.5C -f maven-plugins/pom.xml
# now everything else should just work with normal maven dependency resolution: