mirror of
https://github.com/enso-org/enso.git
synced 2024-12-29 05:33:02 +03:00
d6f7afc624
# Important Notes Some workarounds are being considered but we need this change sooner than later.
13 lines
426 B
Plaintext
Executable File
13 lines
426 B
Plaintext
Executable File
COMP_PATH=$(dirname "$0")/../component
|
|
|
|
EXTRA_OPTS="-Dgraal.PrintGraph=Network"
|
|
for opt in "$@"; do
|
|
if [ "$opt" = "--dump-graphs" ]; then
|
|
EXTRA_OPTS="$EXTRA_OPTS -Dgraal.Dump=:1"
|
|
fi
|
|
done
|
|
|
|
JAVA_OPTS="--add-opens=java.base/java.nio=ALL-UNNAMED $JAVA_OPTS"
|
|
exec java --module-path $COMP_PATH -Dorg.graalvm.language.enso.home=$COMP_PATH $EXTRA_OPTS $JAVA_OPTS -m org.enso.runtime/org.enso.EngineRunnerBootLoader "$@"
|
|
exit
|