blob: 905a15d4b0a6d5dc99a7b5a4726fa2849ed6d789 [file] [log] [blame]
E. Scott Daniels4e4fb502020-03-24 12:28:06 -04001#!/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
9rmr_ver=${1:-3.6.2}
10
11# assume that we're in the proper directory
12set -e
13git clone "https://gerrit.o-ran-sc.org/r/ric-plt/lib/rmr"
14
15cd rmr
16git checkout $ver
17mkdir .build
18cd .build
19cmake .. -DDEV_PKG=1 -DPACK_EXTERNALS=1
20make install
21cmake .. -DDEV_PKG=0
22make install
23