* INTC Contribution to the O-RAN F Release for O-DU Low
[o-du/phy.git] / setupenv.sh
1 #!/bin/bash
2
3 export DIR_ROOT=$HOME
4 #set the L1 binary root DIR
5 export DIR_ROOT_L1_BIN=$DIR_ROOT/FlexRAN
6 #set the phy root DIR
7 export DIR_ROOT_PHY=$DIR_ROOT/phy
8 #set the DPDK root DIR
9 export DIR_ROOT_DPDK=/$DIR_ROOT/dpdk
10 #set the GTEST root DIR
11 #export DIR_ROOT_GTEST=/home/gtest/gtest-1.7.0
12
13 export DIR_WIRELESS_TEST_5G=$DIR_ROOT_L1_BIN/testcase
14 export DIR_WIRELESS_SDK=$DIR_ROOT_L1_BIN/sdk/build-avx512-icc
15 export DIR_WIRELESS_TABLE_5G=$DIR_ROOT_L1_BIN/l1/bin/nr5g/gnb/l1/table
16 #source /opt/intel/system_studio_2019/bin/iccvars.sh intel64 -platform linux
17 export XRAN_DIR=$DIR_ROOT_PHY/fhi_lib
18 export XRAN_LIB_SO=true
19 export RTE_TARGET=x86_64-native-linuxapp-icc
20 export RTE_SDK=$DIR_ROOT_DPDK
21 export DESTDIR=$DIR_ROOT_DPDK
22
23 #Uncomment to run tests - it's commented to make builds faster.
24 #export GTEST_ROOT=$DIR_ROOT_GTEST
25
26 export ORAN_5G_FAPI=true
27 export DIR_WIRELESS_WLS=$DIR_ROOT_PHY/wls_lib
28 export DEBUG_MODE=true
29 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR_WIRELESS_WLS:$XRAN_DIR/lib/build
30 export DIR_WIRELESS=$DIR_ROOT_L1_BIN/l1
31 export DIR_WIRELESS_ORAN_5G_FAPI=$DIR_ROOT_PHY/fapi_5g
32 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR_ROOT_L1_BIN/libs/cpa/bin
33