2017-08-15 14:20:07 +00:00
|
|
|
#!/bin/sh
|
|
|
|
set -e -x
|
|
|
|
base="$PWD"
|
|
|
|
name="osmo-trx"
|
|
|
|
. "$(dirname "$0")/jenkins-build-common.sh"
|
|
|
|
|
2018-08-27 16:45:01 +00:00
|
|
|
build_repo_limesuite() {
|
|
|
|
set +x; echo "
|
|
|
|
|
|
|
|
====================== $dep
|
|
|
|
|
|
|
|
"; set -x
|
|
|
|
|
|
|
|
prev_git_url="${git_url}"
|
|
|
|
git_url="https://github.com/myriadrf/"
|
|
|
|
have_repo "LimeSuite" "master"
|
|
|
|
git_url="${prev_git_url}"
|
|
|
|
cd "LimeSuite"
|
|
|
|
|
|
|
|
set +x; echo; echo; set -x
|
|
|
|
mkdir -p builddir && cd builddir
|
|
|
|
set +x; echo; echo; set -x
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix ../
|
|
|
|
set +x; echo; echo; set -x
|
|
|
|
make -j5
|
|
|
|
set +x; echo; echo; set -x
|
|
|
|
make install
|
|
|
|
}
|
|
|
|
|
|
|
|
# We want to use LimSuite installed by debian repos
|
|
|
|
# build_repo_limesuite
|
|
|
|
|
2018-04-19 10:10:10 +00:00
|
|
|
# AddressSanitizer is not enabled on purpose since overhead affects the clocking.
|
2023-08-25 08:39:15 +00:00
|
|
|
build_repo libosmocore --disable-doxygen --disable-uring
|
2020-09-18 18:48:00 +00:00
|
|
|
build_repo osmo-trx --with-uhd --with-lms
|
2017-08-15 14:20:07 +00:00
|
|
|
|
2018-08-27 16:45:01 +00:00
|
|
|
create_bin_tgz "osmo-trx-uhd osmo-trx-lms"
|