Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangwenhui
OpenXG-RAN
Commits
ffebd6b4
Commit
ffebd6b4
authored
Jun 19, 2019
by
yilmazt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Raphael's patch + minor changes in build_oai
parent
12e371f0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
40 deletions
+48
-40
ci-scripts/oai-ci-vm-tool
ci-scripts/oai-ci-vm-tool
+6
-6
ci-scripts/reportBuildLocally.sh
ci-scripts/reportBuildLocally.sh
+29
-11
ci-scripts/waitBuildOnVM.sh
ci-scripts/waitBuildOnVM.sh
+1
-5
cmake_targets/build_oai
cmake_targets/build_oai
+12
-18
No files found.
ci-scripts/oai-ci-vm-tool
View file @
ffebd6b4
...
...
@@ -246,7 +246,7 @@ case $key in
-v2
)
VM_NAME
=
ci-basic-sim
ARCHIVES_LOC
=
basic_sim
LOG_PATTERN
=
Rel1
4
.txt
LOG_PATTERN
=
Rel1
5
.txt
NB_PATTERN_FILES
=
13
BUILD_OPTIONS
=
"--eNB --UE"
VM_MEMORY
=
8192
...
...
@@ -280,7 +280,7 @@ case $key in
VM_NAME
=
ci-gnb-usrp
ARCHIVES_LOC
=
gnb_usrp
LOG_PATTERN
=
.Rel15.txt
NB_PATTERN_FILES
=
4
NB_PATTERN_FILES
=
9
BUILD_OPTIONS
=
"--gNB -w USRP"
NBARGS
=
$[$NBARGS
+256]
shift
...
...
@@ -289,7 +289,7 @@ case $key in
VM_NAME
=
ci-ue-nr-usrp
ARCHIVES_LOC
=
nrue_usrp
LOG_PATTERN
=
.Rel15.txt
NB_PATTERN_FILES
=
4
NB_PATTERN_FILES
=
9
BUILD_OPTIONS
=
"--nrUE -w USRP"
NBARGS
=
$[$NBARGS
+256]
shift
...
...
@@ -360,7 +360,7 @@ case $key in
basic-sim
)
VM_NAME
=
ci-basic-sim
ARCHIVES_LOC
=
basic_sim
LOG_PATTERN
=
.Rel1
4
.txt
LOG_PATTERN
=
.Rel1
5
.txt
NB_PATTERN_FILES
=
13
BUILD_OPTIONS
=
"--UE --eNB"
VM_MEMORY
=
8192
...
...
@@ -391,7 +391,7 @@ case $key in
VM_NAME
=
ci-gnb-usrp
ARCHIVES_LOC
=
gnb_usrp
LOG_PATTERN
=
.Rel15.txt
NB_PATTERN_FILES
=
4
NB_PATTERN_FILES
=
9
BUILD_OPTIONS
=
"--gNB -w USRP"
NBARGS
=
$[$NBARGS
+256]
;;
...
...
@@ -399,7 +399,7 @@ case $key in
VM_NAME
=
ci-ue-nr-usrp
ARCHIVES_LOC
=
nrue_usrp
LOG_PATTERN
=
.Rel15.txt
NB_PATTERN_FILES
=
4
NB_PATTERN_FILES
=
9
BUILD_OPTIONS
=
"--nrUE -w USRP"
NBARGS
=
$[$NBARGS
+256]
;;
...
...
ci-scripts/reportBuildLocally.sh
View file @
ffebd6b4
...
...
@@ -563,17 +563,29 @@ function report_build {
summary_table_row
"OAI USRP device if - Release 15"
./archives/enb_usrp/oai_usrpdevif.Rel15.txt
"Built target oai_usrpdevif"
./enb_usrp_row3.html
summary_table_row
"OAI ETHERNET transport - Release 15"
./archives/enb_usrp/oai_eth_transpro.Rel15.txt
"Built target oai_eth_transpro"
./enb_usrp_row4.html
summary_table_row
"Parameters Lib Config - Release 15"
./archives/enb_usrp/params_libconfig.Rel15.txt
"Built target params_libconfig"
./enb_usrp_row5.html
summary_table_row
"NASMESH - Release 15"
./archives/enb_usrp/nasmesh.Rel15.txt
"Built target nasmesh"
./enb_usrp_row6.html
summary_table_row
"RB Tool - Release 15"
./archives/enb_usrp/rb_tool.Rel15.txt
"Built target rb_tool"
./enb_usrp_row7.html
summary_table_row
"RF Simulator - Release 15"
./archives/enb_usrp/rfsimulator.Rel15.txt
"Built target rfsimulator"
./enb_usrp_row8.html
summary_table_row
"TCP Bridge - Release 15"
./archives/enb_usrp/tcp_bridge_oai.Rel15.txt
"Built target tcp_bridge_oai"
./enb_usrp_row9.html
summary_table_footer
summary_table_header
"OAI Build basic simulator option"
./archives/basic_sim
summary_table_row
"LTE SoftModem - Release 14"
./archives/basic_sim/lte-softmodem.Rel14.txt
"Built target lte-softmodem"
./basic_sim_row1.html
summary_table_row
"LTE UE SoftModem - Release 14"
./archives/basic_sim/lte-uesoftmodem.Rel14.txt
"Built target lte-uesoftmodem"
./basic_sim_row2.htm
summary_table_row
"Conf 2 UE data - Release 14"
./archives/basic_sim/conf2uedata.Rel14.txt
"Built target conf2uedata"
./basic_sim_row3.html
summary_table_row
"RB Tool - Release 14"
./archives/basic_sim/rb_tool.Rel14.txt
"Built target rb_tool"
./basic_sim_row4.html
summary_table_row
"NASMESH - Release 14"
./archives/basic_sim/nasmesh.Rel14.txt
"Built target nasmesh"
./basic_sim_row5.html
summary_table_row
"LTE SoftModem - Release 15"
./archives/basic_sim/lte-softmodem.Rel15.txt
"Built target lte-softmodem"
./basic_sim_row1.html
summary_table_row
"LTE UE SoftModem - Release 15"
./archives/basic_sim/lte-uesoftmodem.Rel15.txt
"Built target lte-uesoftmodem"
./basic_sim_row2.htm
summary_table_row
"Coding - Release 15"
./archives/basic_sim/coding.Rel15.txt
"Built target coding"
./basic_sim_row3.html
summary_table_row
"Conf 2 UE data - Release 15"
./archives/basic_sim/conf2uedata.Rel15.txt
"Built target conf2uedata"
./basic_sim_row4.html
summary_table_row
"OAI ETHERNET transport - Release 15"
./archives/basic_sim/oai_eth_transpro.Rel15.txt
"Built target oai_eth_transpro"
./basic_sim_row5.html
summary_table_row
"NASMESH - Release 15"
./archives/basic_sim/nasmesh.Rel15.txt
"Built target nasmesh"
./basic_sim_row6.html
summary_table_row
"Parameters Lib Config - Release 15"
./archives/basic_sim/params_libconfig.Rel15.txt
"Built target params_libconfig"
./basic_sim_row7.html
summary_table_row
"RB Tool - Release 15"
./archives/basic_sim/rb_tool.Rel15.txt
"Built target rb_tool"
./basic_sim_row8.html
summary_table_row
"RF Simulator - Release 15"
./archives/basic_sim/rfsimulator.Rel15.txt
"Built target rfsimulator"
./basic_sim_row9.html
summary_table_row
"TCP Bridge - Release 15"
./archives/basic_sim/tcp_bridge_oai.Rel15.txt
"Built target tcp_bridge_oai"
./basic_sim_row10.html
summary_table_row
"UE IP - Release 15"
./archives/basic_sim/ue_ip.Rel15.txt
"Built target ue_ip"
./basic_sim_row11.html
summary_table_row
"USIM - Release 15"
./archives/basic_sim/usim.Rel15.txt
"Built target usim"
./basic_sim_row12.html
summary_table_row
"NVRAM - Release 15"
./archives/basic_sim/nvram.Rel15.txt
"Built target nvram"
./basic_sim_row13.html
summary_table_footer
summary_table_header
"OAI Build Physical simulators option"
summary_table_header
"OAI Build Physical simulators option"
./archives/phy_sim
summary_table_row
"LTE DL Simulator - Release 15"
./archives/phy_sim/dlsim.Rel15.txt
"Built target dlsim"
./phy_sim_row1.html
summary_table_row
"LTE UL Simulator - Release 15"
./archives/phy_sim/ulsim.Rel15.txt
"Built target ulsim"
./phy_sim_row2.html
summary_table_row
"Coding - Release 15"
./archives/phy_sim/coding.Rel15.txt
"Built target coding"
./phy_sim_row3.html
...
...
@@ -618,25 +630,31 @@ function report_build {
if
[
-f
archives/gnb_usrp/nr-softmodem.Rel15.txt
]
then
summary_table_header
"OAI Build gNB -- USRP option"
./archives/gnb_usrp
summary_table_row
"
LTE
SoftModem - Release 15"
./archives/gnb_usrp/nr-softmodem.Rel15.txt
"Built target nr-softmodem"
./gnb_usrp_row1.html
summary_table_row
"
5G NR
SoftModem - Release 15"
./archives/gnb_usrp/nr-softmodem.Rel15.txt
"Built target nr-softmodem"
./gnb_usrp_row1.html
summary_table_row
"Coding - Release 15"
./archives/gnb_usrp/coding.Rel15.txt
"Built target coding"
./gnb_usrp_row2.html
summary_table_row
"OAI USRP device if - Release 15"
./archives/gnb_usrp/oai_usrpdevif.Rel15.txt
"Built target oai_usrpdevif"
./gnb_usrp_row3.html
summary_table_row
"Parameters Lib Config - Release 15"
./archives/gnb_usrp/params_libconfig.Rel15.txt
"Built target params_libconfig"
./gnb_usrp_row4.html
summary_table_row
"OAI ETHERNET transport - Release 15"
./archives/gnb_usrp/oai_eth_transpro.Rel15.txt
"Built target oai_eth_transpro"
./gnb_usrp_row4.html
summary_table_row
"NASMESH - Release 15"
./archives/gnb_usrp/nasmesh.Rel15.txt
"Built target nasmesh"
./gnb_usrp_row5.html
summary_table_row
"Parameters Lib Config - Release 15"
./archives/gnb_usrp/params_libconfig.Rel15.txt
"Built target params_libconfig"
./gnb_usrp_row6.html
summary_table_row
"RB Tool - Release 15"
./archives/gnb_usrp/rb_tool.Rel15.txt
"Built target rb_tool"
./gnb_usrp_row7.html
summary_table_footer
fi
if
[
-f
archives/nrue_usrp/nr-uesoftmodem.Rel15.txt
]
then
summary_table_header
"OAI Build 5G NR UE -- USRP option"
./archives/nrue_usrp
summary_table_row
"UE SoftModem - Release 15"
./archives/nrue_usrp/nr-uesoftmodem.Rel15.txt
"Built target nr-uesoftmodem"
./nrue_usrp_row1.html
summary_table_row
"
5G NR
UE SoftModem - Release 15"
./archives/nrue_usrp/nr-uesoftmodem.Rel15.txt
"Built target nr-uesoftmodem"
./nrue_usrp_row1.html
summary_table_row
"Coding - Release 15"
./archives/nrue_usrp/coding.Rel15.txt
"Built target coding"
./nrue_usrp_row2.html
summary_table_row
"OAI USRP device if - Release 15"
./archives/nrue_usrp/oai_usrpdevif.Rel15.txt
"Built target oai_usrpdevif"
./nrue_usrp_row3.html
summary_table_row
"Parameters Lib Config - Release 15"
./archives/nrue_usrp/params_libconfig.Rel15.txt
"Built target params_libconfig"
./nrue_usrp_row4.html
summary_table_row
"OAI ETHERNET transport - Release 15"
./archives/nrue_usrp/oai_eth_transpro.Rel15.txt
"Built target oai_eth_transpro"
./nrue_usrp_row4.html
summary_table_row
"NASMESH - Release 15"
./archives/nrue_usrp/nasmesh.Rel15.txt
"Built target nasmesh"
./nrue_usrp_row5.html
summary_table_row
"Parameters Lib Config - Release 15"
./archives/nrue_usrp/params_libconfig.Rel15.txt
"Built target params_libconfig"
./nrue_usrp_row6.html
summary_table_row
"RB Tool - Release 15"
./archives/nrue_usrp/rb_tool.Rel15.txt
"Built target rb_tool"
./nrue_usrp_row7.html
summary_table_footer
fi
summary_table_header
"OAI Build eNB -- ETHERNET transport option"
./archives/enb_eth
summary_table_row
"LTE SoftModem - Release 15"
./archives/enb_eth/lte-softmodem
-nos1
.Rel15.txt
"Built target lte-softmodem"
./enb_eth_row1.html
summary_table_row
"LTE SoftModem - Release 15"
./archives/enb_eth/lte-softmodem.Rel15.txt
"Built target lte-softmodem"
./enb_eth_row1.html
summary_table_row
"Coding - Release 15"
./archives/enb_eth/coding.Rel15.txt
"Built target coding"
./enb_eth_row2.html
summary_table_row
"OAI ETHERNET transport - Release 15"
./archives/enb_eth/oai_eth_transpro.Rel15.txt
"Built target oai_eth_transpro"
./enb_eth_row3.html
summary_table_row
"Parameters Lib Config - Release 15"
./archives/enb_eth/params_libconfig.Rel15.txt
"Built target params_libconfig"
./enb_eth_row4.html
...
...
ci-scripts/waitBuildOnVM.sh
View file @
ffebd6b4
...
...
@@ -159,10 +159,6 @@ function check_on_vm_build {
then
PASS_PATTERN
=
`
echo
$filename
|
sed
-e
"s#
$LOG_PATTERN
##"
`
fi
if
[
"
$LOG_PATTERN
"
==
"basic_simulator"
]
then
PASS_PATTERN
=
"lte-"
fi
if
[
"
$LOG_PATTERN
"
==
"cppcheck.xml"
]
then
PASS_PATTERN
=
"results version"
...
...
@@ -202,4 +198,4 @@ function check_on_vm_build {
else
echo
"BUILD_KO"
>>
$ARCHIVES_LOC
/build_final_status.log
fi
}
\ No newline at end of file
}
cmake_targets/build_oai
View file @
ffebd6b4
...
...
@@ -837,35 +837,29 @@ function main() {
echo_info
"liboai_device.so is not linked to any device library"
fi
fi
fi
if
[
"
$eNB
"
=
"1"
-o
"
$UE
"
=
"1"
]
;
then
#build simulators devices
echo_info
"Compiling rfsimulator"
compilations
\
$build_dir
rfsimulator
\
librfsimulator.so
$dbin
/librfsimulator.so.
$REL
echo_info
"Compiling basicsimulator"
compilations
\
$build_dir
tcp_bridge_oai
\
libtcp_bridge_oai.so
$dbin
/libtcp_bridge_oai.so.
$REL
fi
if
[
"
$eNB
"
=
"1"
-o
"
$UE
"
=
"1"
-o
"
$gNB
"
=
"1"
-o
"
$nrUE
"
=
"1"
-o
"
$HWLAT
"
=
"1"
]
;
then
#build transport protocol libraries (currently only ETHERNET is available)
if
[
"
$TP
"
!=
"None"
]
;
then
rm
-f
liboai_transpro.so
rm
-f
$dbin
/liboai_transpro.so
if
[
"
$TP
"
==
"ETHERNET"
]
;
then
compilations
\
$build_dir
oai_eth_transpro
\
liboai_eth_transpro.so
$dbin
/liboai_eth_transpro.so.
$REL
ln
-sf
liboai_eth_transpro.so liboai_transpro.so
ln
-sf
$dbin
/liboai_eth_transpro.so.
$REL
$dbin
/liboai_transpro.so
echo_info
"liboai_transpro.so is linked to ETHERNET transport"
fi
fi
rm
-f
liboai_transpro.so
rm
-f
$dbin
/liboai_transpro.so
compilations
\
$build_dir
oai_eth_transpro
\
liboai_eth_transpro.so
$dbin
/liboai_eth_transpro.so.
$REL
ln
-sf
liboai_eth_transpro.so liboai_transpro.so
ln
-sf
$dbin
/liboai_eth_transpro.so.
$REL
$dbin
/liboai_transpro.so
echo_info
"liboai_transpro.so is linked to ETHERNET transport"
fi
###################
# Doxygen Support #
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment