Push v2.3.5 to package cloud
[ric-plt/xapp-frame-cpp.git] / build_rmr.sh
1 #!/usr/bin/env ksh
2
3 #       Mnemonic:       rmr_build.sh
4 #       Abstract:       This will pull RMR from the repo, build and install. This
5 #                               is en lieu of using wget to fetch the RMR package from some
6 #                               repo and installing it.  The package method is preferred
7 #                               but if that breaks this can be used in place of it.
8
9 rmr_ver=${1:-4.8.0}
10
11 # assume that we're in the proper directory
12 set -e
13 git clone "https://gerrit.o-ran-sc.org/r/ric-plt/lib/rmr"
14
15 cd rmr
16 git checkout $ver
17 mkdir .build
18 cd .build
19 cmake .. -DDEV_PKG=1 -DPACK_EXTERNALS=1
20 make install
21 cmake .. -DDEV_PKG=0
22 make install
23