blob: 0cd8254a40f813a3b164698ba7b099f815b78f8f [file] [log] [blame]
Zhimin2fbf7002020-05-29 06:01:04 +08001#!/bin/bash
2
Luis Farias892daba2022-06-22 13:59:47 -07003export DIR_ROOT=$HOME
Zhimin2fbf7002020-05-29 06:01:04 +08004#set the L1 binary root DIR
5export DIR_ROOT_L1_BIN=$DIR_ROOT/FlexRAN
6#set the phy root DIR
7export DIR_ROOT_PHY=$DIR_ROOT/phy
Zhimin2fbf7002020-05-29 06:01:04 +08008#set the DPDK root DIR
Luis Farias892daba2022-06-22 13:59:47 -07009export DIR_ROOT_DPDK=/$DIR_ROOT/dpdk
Zhimin2fbf7002020-05-29 06:01:04 +080010#set the GTEST root DIR
Luis Farias70d9d922020-08-11 16:05:37 -070011#export DIR_ROOT_GTEST=/home/gtest/gtest-1.7.0
Zhimin2fbf7002020-05-29 06:01:04 +080012
13export DIR_WIRELESS_TEST_5G=$DIR_ROOT_L1_BIN/testcase
14export DIR_WIRELESS_SDK=$DIR_ROOT_L1_BIN/sdk/build-avx512-icc
15export 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
17export XRAN_DIR=$DIR_ROOT_PHY/fhi_lib
Luis Farias70d9d922020-08-11 16:05:37 -070018export XRAN_LIB_SO=true
Zhimin2fbf7002020-05-29 06:01:04 +080019export RTE_TARGET=x86_64-native-linuxapp-icc
Luis Farias892daba2022-06-22 13:59:47 -070020export RTE_SDK=$DIR_ROOT_DPDK
21export DESTDIR=$DIR_ROOT_DPDK
Zhimin2fbf7002020-05-29 06:01:04 +080022
Luis Farias892daba2022-06-22 13:59:47 -070023#Uncomment to run tests - it's commented to make builds faster.
Zhimin2fbf7002020-05-29 06:01:04 +080024#export GTEST_ROOT=$DIR_ROOT_GTEST
25
26export ORAN_5G_FAPI=true
27export DIR_WIRELESS_WLS=$DIR_ROOT_PHY/wls_lib
28export DEBUG_MODE=true
Luis Farias70d9d922020-08-11 16:05:37 -070029export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR_WIRELESS_WLS:$XRAN_DIR/lib/build
Zhimin2fbf7002020-05-29 06:01:04 +080030export DIR_WIRELESS=$DIR_ROOT_L1_BIN/l1
31export DIR_WIRELESS_ORAN_5G_FAPI=$DIR_ROOT_PHY/fapi_5g
Luis Farias70d9d922020-08-11 16:05:37 -070032export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DIR_ROOT_L1_BIN/libs/cpa/bin
Zhimin2fbf7002020-05-29 06:01:04 +080033