summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2016-07-11 19:44:58 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2016-07-13 17:50:12 +0200
commit9759374adbb632ff5f8a4b739e0f62a9c9017622 (patch)
treee363e0bece7f4921b030b6c27d4d488bd69d9cc6 /contrib
parenta3d93ed2f9c114634b749c1304039e709a21a270 (diff)
jenkins.sh: add --enable-iu matrix build
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/jenkins.sh17
1 files changed, 14 insertions, 3 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 00cf2c8..755ff1c 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -41,16 +41,27 @@ build_dep libosmocore
# All below builds want this PKG_CONFIG_PATH
export PKG_CONFIG_PATH="$inst/lib/pkgconfig:$PKG_CONFIG_PATH"
+if [ "x$IU" = "x--enable-iu" ]; then
+ netif_branch="sysmocom/sctp"
+ sccp_branch="sysmocom/iu"
+fi
+
build_dep libosmo-abis
-build_dep libosmo-netif
-build_dep libosmo-sccp
+build_dep libosmo-netif $netif_branch
+build_dep libosmo-sccp $sccp_branch
PARALLEL_MAKE="" build_dep libsmpp34
build_dep openggsn
+if [ "x$IU" = "x--enable-iu" ]; then
+ build_dep libasn1c
+ #build_dep asn1c aper-prefix # only needed for make regen in osmo-iuh
+ build_dep osmo-iuh
+fi
+
cd "$base"
cd openbsc
autoreconf --install --force
-./configure --enable-osmo-bsc --enable-nat $SMPP $MGCP --enable-vty-tests --enable-external-tests
+./configure --enable-osmo-bsc --enable-nat $SMPP $MGCP $IU --enable-vty-tests --enable-external-tests
$MAKE $PARALLEL_MAKE
LD_LIBRARY_PATH="$inst/lib" $MAKE check
LD_LIBRARY_PATH="$inst/lib" $MAKE distcheck