2 #/******************************************************************************
4 #* Copyright (c) 2019 Intel.
6 #* Licensed under the Apache License, Version 2.0 (the "License");
7 #* you may not use this file except in compliance with the License.
8 #* You may obtain a copy of the License at
10 #* http://www.apache.org/licenses/LICENSE-2.0
12 #* Unless required by applicable law or agreed to in writing, software
13 #* distributed under the License is distributed on an "AS IS" BASIS,
14 #* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 #* See the License for the specific language governing permissions and
16 #* limitations under the License.
18 #*******************************************************************************/
20 # Please see example_odu_fhi_lib_build.txt to find how to set up the global variables used by this script
21 # and the fhi_lib makefile
23 XRAN_FH_LIB_DIR=$XRAN_DIR/lib
24 XRAN_FH_APP_DIR=$XRAN_DIR/app
25 XRAN_FH_TEST_DIR=$XRAN_DIR/test/test_xran
30 echo Number of commandline arguments: $#
48 echo $key is unknown command # unknown option
51 shift # past argument or value
56 echo 'MLOG folder is not set. Disable MLOG (MLOG_DIR='$MLOG_DIR')'
59 echo 'MLOG folder is set. Enable MLOG (MLOG_DIR='$MLOG_DIR')'
63 echo 'Building xRAN Library'
64 echo "LIBXRANSO = ${LIBXRANSO}"
68 make $COMMAND_LINE MLOG=${MLOG} LIBXRANSO=${LIBXRANSO} #DEBUG=1 VERBOSE=1
70 #echo 'Building xRAN Test Application'
72 #make $COMMAND_LINE MLOG=${MLOG} #DEBUG=1 VERBOSE=1
74 #if [ -z ${GTEST_ROOT+x} ];
76 # echo "GTEST_ROOT is not set. Unit tests are not compiled";
78 # echo 'Building xRAN Test Application ('$GTEST_ROOT')'
79 # cd $XRAN_FH_TEST_DIR