mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 16:15:11 +03:00
d6f7afc624
# Important Notes Some workarounds are being considered but we need this change sooner than later.
12 lines
479 B
Batchfile
12 lines
479 B
Batchfile
@echo off
|
|
set comp-dir=%~dp0\..\component
|
|
set EXTRA_OPTS=-Dgraal.PrintGraph=Network
|
|
FOR %%A in (%*) DO (
|
|
if /I %%A==--dump-graphs (
|
|
set EXTRA_OPTS=%EXTRA_OPTS% -Dgraal.Dump=Truffle:1
|
|
)
|
|
)
|
|
set JAVA_OPTS=%JAVA_OPTS% --add-opens=java.base/java.nio=ALL-UNNAMED
|
|
java --module-path %comp-dir% -Dorg.graalvm.language.enso.home=%comp-dir% -Dpolyglot.compiler.IterativePartialEscape=true %EXTRA_OPTS% %JAVA_OPTS% -m org.enso.runtime/org.enso.EngineRunnerBootLoader %*
|
|
exit /B %errorlevel%
|