Pau Espin Pedrol | 4773853 | 2017-08-15 16:20:07 +0200 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | set -e -x |
| 3 | base="$PWD" |
| 4 | name="osmo-trx" |
| 5 | . "$(dirname "$0")/jenkins-build-common.sh" |
| 6 | |
Pau Espin Pedrol | e789f0c | 2018-08-27 18:45:01 +0200 | [diff] [blame] | 7 | build_repo_limesuite() { |
| 8 | set +x; echo " |
| 9 | |
| 10 | ====================== $dep |
| 11 | |
| 12 | "; set -x |
| 13 | |
| 14 | prev_git_url="${git_url}" |
| 15 | git_url="https://github.com/myriadrf/" |
| 16 | have_repo "LimeSuite" "master" |
| 17 | git_url="${prev_git_url}" |
| 18 | cd "LimeSuite" |
| 19 | |
| 20 | set +x; echo; echo; set -x |
| 21 | mkdir -p builddir && cd builddir |
| 22 | set +x; echo; echo; set -x |
| 23 | cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix ../ |
| 24 | set +x; echo; echo; set -x |
| 25 | make -j5 |
| 26 | set +x; echo; echo; set -x |
| 27 | make install |
| 28 | } |
| 29 | |
| 30 | # We want to use LimSuite installed by debian repos |
| 31 | # build_repo_limesuite |
| 32 | |
Pau Espin Pedrol | 1cd017d | 2018-04-19 12:10:10 +0200 | [diff] [blame] | 33 | # AddressSanitizer is not enabled on purpose since overhead affects the clocking. |
| 34 | build_repo libosmocore --disable-doxygen |
Pau Espin Pedrol | 2159cfe | 2020-09-18 20:48:00 +0200 | [diff] [blame] | 35 | build_repo osmo-trx --with-uhd --with-lms |
Pau Espin Pedrol | 4773853 | 2017-08-15 16:20:07 +0200 | [diff] [blame] | 36 | |
Pau Espin Pedrol | e789f0c | 2018-08-27 18:45:01 +0200 | [diff] [blame] | 37 | create_bin_tgz "osmo-trx-uhd osmo-trx-lms" |