From b523ae37da6b384359f1afa89efc24794b47005d Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Thu, 14 Jan 2021 09:32:42 +0000 Subject: Show cpu usage for expensive build phases. --- travis/travis-build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'travis') diff --git a/travis/travis-build.sh b/travis/travis-build.sh index 23f4fbb0772..849f807042a 100755 --- a/travis/travis-build.sh +++ b/travis/travis-build.sh @@ -30,8 +30,8 @@ case $SHOULD_BUILD in cpp) ./bootstrap.sh full cmake3 -DVESPA_UNPRIVILEGED=no . - make -j ${NUM_THREADS} - ctest3 --output-on-failure -j ${NUM_THREADS} + time make -j ${NUM_THREADS} + time ctest3 --output-on-failure -j ${NUM_THREADS} ccache --show-stats ;; java) @@ -40,10 +40,10 @@ case $SHOULD_BUILD in ;; *) ./bootstrap.sh java - mvn -V $VESPA_MAVEN_EXTRA_OPTS install + time mvn -V $VESPA_MAVEN_EXTRA_OPTS install cmake3 -DVESPA_UNPRIVILEGED=no . - make -j ${NUM_THREADS} - ctest3 --output-on-failure -j ${NUM_THREADS} + time make -j ${NUM_THREADS} + time ctest3 --output-on-failure -j ${NUM_THREADS} ccache --show-stats make install ;; -- cgit v1.2.3