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
常顺宇
OpenXG-RAN
Commits
1821c8c9
Commit
1821c8c9
authored
Mar 12, 2021
by
rmagueta
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop-SA-CBRA
parents
53d0fc05
3f6df6b9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
ci-scripts/buildOnVM.sh
ci-scripts/buildOnVM.sh
+3
-0
ci-scripts/oai-ci-vm-tool
ci-scripts/oai-ci-vm-tool
+1
-0
cmake_targets/tools/build_helper
cmake_targets/tools/build_helper
+11
-0
No files found.
ci-scripts/buildOnVM.sh
View file @
1821c8c9
...
@@ -164,6 +164,9 @@ function build_on_vm {
...
@@ -164,6 +164,9 @@ function build_on_vm {
echo
"cd tmp"
>>
$VM_CMDS
echo
"cd tmp"
>>
$VM_CMDS
echo
"echo
\"
unzip -qq -DD ../localZip.zip
\"
"
>>
$VM_CMDS
echo
"echo
\"
unzip -qq -DD ../localZip.zip
\"
"
>>
$VM_CMDS
echo
"unzip -qq -DD ../localZip.zip"
>>
$VM_CMDS
echo
"unzip -qq -DD ../localZip.zip"
>>
$VM_CMDS
# Trying to make some room on filesystem before building
echo
"rm ../localZip.zip"
>>
$VM_CMDS
echo
"export CI_ENV=True"
>>
$VM_CMDS
if
[[
"
$VM_NAME
"
==
*
"-cppcheck"
*
]]
if
[[
"
$VM_NAME
"
==
*
"-cppcheck"
*
]]
then
then
echo
"mkdir cmake_targets/log"
>>
$VM_CMDS
echo
"mkdir cmake_targets/log"
>>
$VM_CMDS
...
...
ci-scripts/oai-ci-vm-tool
View file @
1821c8c9
...
@@ -172,6 +172,7 @@ function setvar_usage {
...
@@ -172,6 +172,7 @@ function setvar_usage {
function
variant__v1__enb_usrp
{
function
variant__v1__enb_usrp
{
NB_PATTERN_FILES
=
9
NB_PATTERN_FILES
=
9
BUILD_OPTIONS
=
"--eNB -w USRP --mu"
BUILD_OPTIONS
=
"--eNB -w USRP --mu"
VM_MEMORY
=
3072
}
}
function
variant__v2__basic_sim
{
function
variant__v2__basic_sim
{
...
...
cmake_targets/tools/build_helper
View file @
1821c8c9
...
@@ -273,6 +273,10 @@ install_protobuf_from_source(){
...
@@ -273,6 +273,10 @@ install_protobuf_from_source(){
make -j`nproc`
make -j`nproc`
$SUDO make install
$SUDO make install
$SUDO ldconfig
$SUDO ldconfig
if [[ -v CI_ENV ]]; then
cd /tmp
$SUDO rm -rf protobuf*
fi
) >& $protobuf_install_log
) >& $protobuf_install_log
}
}
...
@@ -295,6 +299,10 @@ install_protobuf_c_from_source(){
...
@@ -295,6 +299,10 @@ install_protobuf_c_from_source(){
make -j`nproc`
make -j`nproc`
$SUDO make install
$SUDO make install
$SUDO ldconfig
$SUDO ldconfig
if [[ -v CI_ENV ]]; then
cd /tmp
$SUDO rm -rf protobuf*
fi
) >& $protobuf_c_install_log
) >& $protobuf_c_install_log
}
}
...
@@ -831,6 +839,9 @@ install_asn1c_from_source(){
...
@@ -831,6 +839,9 @@ install_asn1c_from_source(){
$SUDO make install
$SUDO make install
cd -
cd -
$SUDO ldconfig
$SUDO ldconfig
if [[ -v CI_ENV ]]; then
$SUDO rm -rf /tmp/asn1c
fi
) > $asn1_install_log 2>&1
) > $asn1_install_log 2>&1
}
}
...
...
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