Commit 1821c8c9 authored by rmagueta's avatar rmagueta

Merge remote-tracking branch 'origin/develop' into develop-SA-CBRA

parents 53d0fc05 3f6df6b9
...@@ -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
......
...@@ -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 {
......
...@@ -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
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment