aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-06-11 13:06:22 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-06-22 11:52:53 +0200
commit954e4d8321320c1ecb88e50e636d818f8f28e711 (patch)
tree1a9c995c0635d6ff4bd644e84dd34f305bbad5e9 /contrib
parent9215f76443c95c287c6bd0f83a56c015f07d5e60 (diff)
jenkins_*.sh: add --enable-werror to configure flags
The flag is enabled for all BTS flavour except for lc15, which still contain several compilation warnings (fixes submitted to gerrit, but not merged since no contributor is testing lc15 nowadays). Change-Id: Ib65056633697dafa63831fc2a480b798df550db6
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/jenkins_bts_trx.sh3
-rwxr-xr-xcontrib/jenkins_lc15.sh6
-rwxr-xr-xcontrib/jenkins_oct.sh7
-rwxr-xr-xcontrib/jenkins_oct_and_bts_trx.sh1
-rwxr-xr-xcontrib/jenkins_sysmobts.sh7
5 files changed, 20 insertions, 4 deletions
diff --git a/contrib/jenkins_bts_trx.sh b/contrib/jenkins_bts_trx.sh
index 3e3d8d36..1b723e67 100755
--- a/contrib/jenkins_bts_trx.sh
+++ b/contrib/jenkins_bts_trx.sh
@@ -14,9 +14,10 @@ osmo-build-dep.sh libosmo-abis
cd "$deps"
configure_flags="\
+ --enable-sanitize \
+ --enable-werror \
--with-osmo-pcu=$deps/osmo-pcu/include \
--enable-trx \
- --enable-sanitize \
"
build_bts "osmo-bts-trx" "$configure_flags"
diff --git a/contrib/jenkins_lc15.sh b/contrib/jenkins_lc15.sh
index 38c1f339..c7d62c96 100755
--- a/contrib/jenkins_lc15.sh
+++ b/contrib/jenkins_lc15.sh
@@ -14,7 +14,11 @@ osmo-build-dep.sh libosmo-abis
cd "$deps"
osmo-layer1-headers.sh lc15 "$FIRMWARE_VERSION"
-configure_flags="--enable-sanitize --with-litecell15=$deps/layer1-headers/inc/ --enable-litecell15"
+configure_flags="\
+ --enable-sanitize \
+ --with-litecell15=$deps/layer1-headers/inc/ \
+ --enable-litecell15 \
+ "
build_bts "osmo-bts-lc15" "$configure_flags"
diff --git a/contrib/jenkins_oct.sh b/contrib/jenkins_oct.sh
index efbd368d..bd57dd18 100755
--- a/contrib/jenkins_oct.sh
+++ b/contrib/jenkins_oct.sh
@@ -14,7 +14,12 @@ osmo-build-dep.sh libosmo-abis
cd "$deps"
osmo-layer1-headers.sh oct "$FIRMWARE_VERSION"
-configure_flags="--enable-sanitize --with-octsdr-2g=$deps/layer1-headers/ --enable-octphy"
+configure_flags="\
+ --enable-sanitize \
+ --enable-werror \
+ --with-octsdr-2g=$deps/layer1-headers/ \
+ --enable-octphy \
+ "
build_bts "osmo-bts-octphy" "$configure_flags"
diff --git a/contrib/jenkins_oct_and_bts_trx.sh b/contrib/jenkins_oct_and_bts_trx.sh
index f68a9d31..049f5f79 100755
--- a/contrib/jenkins_oct_and_bts_trx.sh
+++ b/contrib/jenkins_oct_and_bts_trx.sh
@@ -16,6 +16,7 @@ cd "$deps"
osmo-layer1-headers.sh oct "$FIRMWARE_VERSION"
configure_flags="\
+ --enable-werror \
--with-osmo-pcu=$deps/osmo-pcu/include \
--with-octsdr-2g=$deps/layer1-headers/ \
--enable-octphy \
diff --git a/contrib/jenkins_sysmobts.sh b/contrib/jenkins_sysmobts.sh
index 7488419b..d0d05ae6 100755
--- a/contrib/jenkins_sysmobts.sh
+++ b/contrib/jenkins_sysmobts.sh
@@ -16,7 +16,12 @@ osmo-layer1-headers.sh sysmo "$FIRMWARE_VERSION"
mkdir -p "$inst/include/sysmocom/femtobts"
ln -s $deps/layer1-headers/include/* "$inst/include/sysmocom/femtobts/"
-configure_flags="--enable-sanitize --enable-sysmocom-bts --with-sysmobts=$inst/include/"
+configure_flags="\
+ --enable-sanitize \
+ --enable-werror \
+ --enable-sysmocom-bts \
+ --with-sysmobts=$inst/include/ \
+ "
# This will not work for the femtobts
if [ $FIRMWARE_VERSION != "femtobts_v2.7" ]; then