diff options
Diffstat (limited to 'contrib/jenkins_oct.sh')
-rwxr-xr-x | contrib/jenkins_oct.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/contrib/jenkins_oct.sh b/contrib/jenkins_oct.sh new file mode 100755 index 00000000..bd57dd18 --- /dev/null +++ b/contrib/jenkins_oct.sh @@ -0,0 +1,26 @@ +#!/bin/sh +# jenkins build helper script for osmo-bts-octphy + +# shellcheck source=contrib/jenkins_common.sh +. $(dirname "$0")/jenkins_common.sh + +osmo-build-dep.sh libosmocore "" --disable-doxygen + +export PKG_CONFIG_PATH="$inst/lib/pkgconfig:$PKG_CONFIG_PATH" +export LD_LIBRARY_PATH="$inst/lib" + +osmo-build-dep.sh libosmo-abis + +cd "$deps" +osmo-layer1-headers.sh oct "$FIRMWARE_VERSION" + +configure_flags="\ + --enable-sanitize \ + --enable-werror \ + --with-octsdr-2g=$deps/layer1-headers/ \ + --enable-octphy \ + " + +build_bts "osmo-bts-octphy" "$configure_flags" + +osmo-clean-workspace.sh |