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
This commit is contained in:
Pau Espin 2024-01-02 19:10:33 +01:00
parent 12cf40abb9
commit 9f07e3b6b9
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ if [ -z "$USE_CCACHE" ] && which ccache 2>/dev/null; then
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