blob: 57e0906a0096992b2c1dd79e8e874411bec9a3e3 [file] [log] [blame]
Pau Espin Pedrol47738532017-08-15 16:20:07 +02001#!/bin/sh
2set -e -x
3base="$PWD"
4name="osmo-trx"
5. "$(dirname "$0")/jenkins-build-common.sh"
6
Pau Espin Pedrole789f0c2018-08-27 18:45:01 +02007build_repo_limesuite() {
8set +x; echo "
9
10====================== $dep
11
12"; set -x
13
14prev_git_url="${git_url}"
15git_url="https://github.com/myriadrf/"
16have_repo "LimeSuite" "master"
17git_url="${prev_git_url}"
18cd "LimeSuite"
19
20set +x; echo; echo; set -x
21mkdir -p builddir && cd builddir
22set +x; echo; echo; set -x
23cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix ../
24set +x; echo; echo; set -x
25make -j5
26set +x; echo; echo; set -x
27make install
28}
29
30# We want to use LimSuite installed by debian repos
31# build_repo_limesuite
32
Pau Espin Pedrol1cd017d2018-04-19 12:10:10 +020033# AddressSanitizer is not enabled on purpose since overhead affects the clocking.
34build_repo libosmocore --disable-doxygen
Pau Espin Pedrol2159cfe2020-09-18 20:48:00 +020035build_repo osmo-trx --with-uhd --with-lms
Pau Espin Pedrol47738532017-08-15 16:20:07 +020036
Pau Espin Pedrole789f0c2018-08-27 18:45:01 +020037create_bin_tgz "osmo-trx-uhd osmo-trx-lms"