Enhanced SIM for E2AP v1 for TS UC
[sim/e2-interface.git] / e2sim / e2apv1sim / docker / old / install_rmr
diff --git a/e2sim/e2apv1sim/docker/old/install_rmr b/e2sim/e2apv1sim/docker/old/install_rmr
new file mode 100755 (executable)
index 0000000..522df48
--- /dev/null
@@ -0,0 +1,32 @@
+#!/bin/bash
+# 
+#
+# Copyright 2019 AT&T Intellectual Property
+# Copyright 2019 Nokia
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# pull rmr to $E2SIM_DIR/ and checkout the 'stable' demo commit,
+# then build and install in /usr/local
+
+echo "Will install rmr"
+rm -rf rmr
+git clone https://gerrit.oran-osc.org/r/ric-plt/lib/rmr
+date; ls -al /usr/local/lib
+cd rmr
+git checkout 6735f136906ce2
+mkdir .build
+cd .build
+cmake ..
+make install