aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-12-11 20:34:20 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-12-12 04:06:26 +0100
commitaed52669a5f95a5391c6d28898f8f7e8da696898 (patch)
tree0bf0a133cbb2d92e65203137040b5696739c611c
parent4e60633e6e4d8221892fa097f321bc6af2c11608 (diff)
jenkins: always enable -Werrorneels/misc
-rwxr-xr-xcontrib/jenkins.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index be8dadc..201db08 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -22,7 +22,9 @@ export deps inst
osmo-clean-workspace.sh
-mkdir "$deps" || true
+mkdir -p "$deps"
+
+gcc --version
osmo-build-dep.sh libosmocore "" ac_cv_path_DOXYGEN=false
@@ -39,13 +41,10 @@ PARALLEL_MAKE="" osmo-build-dep.sh libsmpp34
osmo-build-dep.sh osmo-mgw
osmo-build-dep.sh osmo-hlr
-enable_werror=""
if [ "x$IU" = "x--enable-iu" ]; then
osmo-build-dep.sh libasn1c
#osmo-build-dep.sh asn1c aper-prefix # only needed for make regen in osmo-iuh
osmo-build-dep.sh osmo-iuh
-else
- enable_werror="--enable-werror"
fi
# Additional configure options and depends
@@ -65,12 +64,12 @@ set -x
cd "$base"
autoreconf --install --force
-./configure --enable-sanitize $enable_werror --enable-smpp $IU --enable-external-tests $CONFIG
+./configure --enable-sanitize --enable-werror --enable-smpp $IU --enable-external-tests $CONFIG
$MAKE $PARALLEL_MAKE
LD_LIBRARY_PATH="$inst/lib" $MAKE check \
|| cat-testlogs.sh
LD_LIBRARY_PATH="$inst/lib" \
- DISTCHECK_CONFIGURE_FLAGS="$enable_werror --enable-smpp $IU --enable-external-tests $CONFIG" \
+ DISTCHECK_CONFIGURE_FLAGS="--enable-werror --enable-smpp $IU --enable-external-tests $CONFIG" \
$MAKE distcheck \
|| cat-testlogs.sh