[K/N] Enable new mm for native by default

This commit is contained in:
Pavel Kunyavskiy
2022-05-02 15:44:20 +02:00
committed by Space
parent b739344b1c
commit 9801a21abb
15 changed files with 145 additions and 102 deletions
@@ -3,11 +3,11 @@
ALL_PARAMS="$konanCompilerArgs"
MEMORY_MODEL=$1
if [ $MEMORY_MODEL = "experimental" ]; then
if [ $MEMORY_MODEL = "legacy" ]; then
if [ "$ALL_PARAMS" != "" ]; then
ALL_PARAMS=" $ALL_PARAMS"
fi
ALL_PARAMS="-memory-model experimental$ALL_PARAMS"
ALL_PARAMS="-memory-model strict$ALL_PARAMS"
fi
if [ "$ALL_PARAMS" != "" ]; then
ALL_PARAMS="-PcompilerArgs=$ALL_PARAMS"