2022-06-23 07:43:49 +03:00
|
|
|
@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
|
|
|
|
)
|
|
|
|
)
|
2024-04-17 00:01:32 +03:00
|
|
|
set JAVA_OPTS=%JAVA_OPTS% --add-opens=java.base/java.nio=ALL-UNNAMED
|
2024-04-12 20:01:49 +03:00
|
|
|
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 %*
|
2022-06-23 07:43:49 +03:00
|
|
|
exit /B %errorlevel%
|