blob: acdf15c1a2eb4ac81e1740c4af0c774c831ec68f [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
czichy56044b72022-12-08 12:33:09 +02009rmr_ver=${1:-4.8.5}
E. Scott Daniels4e4fb502020-03-24 12:28:06 -040010
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