osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-trx/+/28557 )


Change subject: contrib/jenkins: don't run "make distcheck" on arm
......................................................................

contrib/jenkins: don't run "make distcheck" on arm

Avoid building osmo-trx a second time on arm during "make distcheck". If
the build of osmo-trx already passed on arm, running "make distcheck"
should give the exact same result as on x86_64.

This should shorten the build time significantly for osmo-trx jobs
running on raspberry pis, currently they take half an hour.

Change-Id: Ib4fbf7d54d479bbdda3c1415493bfc57b37d3971
---
M contrib/jenkins.sh
1 file changed, 5 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/57/28557/1

diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index bcdcca4..584de07 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -106,8 +106,11 @@
 $MAKE $PARALLEL_MAKE
 $MAKE check \
   || cat-testlogs.sh
-DISTCHECK_CONFIGURE_FLAGS="$CONFIG" $MAKE $PARALLEL_MAKE distcheck \
-  || cat-testlogs.sh
+
+if arch | grep -v -q arm; then
+       DISTCHECK_CONFIGURE_FLAGS="$CONFIG" $MAKE $PARALLEL_MAKE distcheck \
+         || cat-testlogs.sh
+fi

 if [ "$WITH_MANUALS" = "1" ] && [ "$PUBLISH" = "1" ]; then
        make -C "$base/doc/manuals" publish

--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/28557
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ib4fbf7d54d479bbdda3c1415493bfc57b37d3971
Gerrit-Change-Number: 28557
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-MessageType: newchange

Reply via email to