pespin has uploaded this change for review.

View Change

regen-makefile.sh: Increase file Code splitting to decrease mem use

Building MME_Tests with an 8core host with 16GB of RAM sometimes
exhausts the whole available RAM, triggering the OOM killer.
Let's increase the variable to generate 8 C++ files for each TTCN3
files, in order to avoid consuming so much memory.

Change-Id: If5f54e18384f8a26b281d057e9d9f5c450566422
---
M regen-makefile.sh
1 file changed, 15 insertions(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/78/35478/1
diff --git a/regen-makefile.sh b/regen-makefile.sh
index 67e5df0..09088e0 100755
--- a/regen-makefile.sh
+++ b/regen-makefile.sh
@@ -37,7 +37,7 @@
USE_CCACHE=1
fi

-ttcn3_makefilegen -g -p -l -U 5 -f $*
+ttcn3_makefilegen -g -p -l -U 8 -f $*

sed -i -e 's/# TTCN3_DIR = /TTCN3_DIR = \/usr/' Makefile
sed -i -e 's/LDFLAGS = /LDFLAGS = -L \/usr\/lib\/titan/' Makefile

To view, visit change 35478. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: If5f54e18384f8a26b281d057e9d9f5c450566422
Gerrit-Change-Number: 35478
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-MessageType: newchange