summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-06-01 22:12:59 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-06-02 14:28:49 +0200
commit3b906728b7d2bbe1cb7b3f0dda8cb971b59443d8 (patch)
treed16182913bd1d8e097f29bde1361d13053a801c4 /contrib
parentfa00b0f843baed92b1396464890bd9d4d85385c6 (diff)
jenkins: remove unused file: jenkins-build-osmo-bts-octphy.sh
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/jenkins-build-osmo-bts-octphy.sh70
1 files changed, 0 insertions, 70 deletions
diff --git a/contrib/jenkins-build-osmo-bts-octphy.sh b/contrib/jenkins-build-osmo-bts-octphy.sh
deleted file mode 100755
index 4045948..0000000
--- a/contrib/jenkins-build-osmo-bts-octphy.sh
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/bin/sh
-set -x -e
-
-base="$PWD"
-prefix="$base/inst-osmo-bts-octphy"
-
-rm -f "$base/osmo-bts-octphy*.tgz"
-
-deps="
-libosmocore
-libosmo-abis
-osmo-bts
-"
-
-have_repo() {
- repo="$1"
- cd "$base"
- if [ ! -d "$repo" ]; then
- git clone "git://git.osmocom.org/$repo" "$repo"
- fi
- cd "$repo"
- git clean -dxf
- git fetch origin
- git reset --hard origin/master
- git rev-parse HEAD
- cd "$base"
-}
-
-# for gsm_data_shared.*
-have_repo openbsc
-
-# octphy headers
-have_repo octphy-2g-headers
-
-
-rm -rf "$prefix"
-mkdir -p "$prefix"
-
-export PKG_CONFIG_PATH="$prefix/lib/pkgconfig"
-export LD_LIBRARY_PATH="$prefix/lib"
-
-for dep in $deps; do
- have_repo "$dep"
- cd "$dep"
- rm -rf *
- git checkout .
-
- echo "$(git rev-parse HEAD) $dep" >> "$prefix/osmo-bts-octphy_git_hashes.txt"
-
- autoreconf -fi
-
- config_opts=""
-
- case "$repo" in
- 'osmo-bts') config_opts="$config_opts --enable-octphy --with-octsdr-2g=$base/octphy-2g-headers" ;;
- esac
-
- ./configure --prefix="$prefix" $config_opts
- make -j8
- make install
-done
-
-# build the archive that is going to be copied to the tester
-rm "$base"/*.tgz "$base"/*.md5 || true
-cd "$prefix"
-this="osmo-bts-octphy.build-${BUILD_NUMBER}"
-tar="${this}.tgz"
-tar czf "$base/$tar" *
-cd "$base"
-md5sum "$tar" > "${this}.md5"