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 XRAN_FH_LIB_DIR=$XRAN_DIR/lib
21 XRAN_FH_APP_DIR=$XRAN_DIR/app
22 XRAN_FH_TEST_DIR=$XRAN_DIR/test/test_xran
27 echo Number of commandline arguments: $#
45 echo $key is unknown command # unknown option
48 shift # past argument or value
53 echo 'MLOG folder is not set. Disable MLOG (MLOG_DIR='$MLOG_DIR')'
56 echo 'MLOG folder is set. Enable MLOG (MLOG_DIR='$MLOG_DIR')'
60 echo 'Building xRAN Library'
61 echo "LIBXRANSO = ${LIBXRANSO}"
65 make $COMMAND_LINE MLOG=${MLOG} LIBXRANSO=${LIBXRANSO} #DEBUG=1 VERBOSE=1
67 echo 'Building xRAN Test Application'
69 make $COMMAND_LINE MLOG=${MLOG} #DEBUG=1 VERBOSE=1
71 if [ -z ${GTEST_ROOT+x} ];
73 echo "GTEST_ROOT is not set. Unit tests are not compiled";
75 echo 'Building xRAN Test Application ('$GTEST_ROOT')'