Compatibility with older architectures

This commit is contained in:
Michiel Borkent 2023-09-28 11:54:37 +02:00
parent e938a58e06
commit c8324ac887
2 changed files with 2 additions and 0 deletions

View file

@ -47,6 +47,7 @@ args=("-jar" "$BABASHKA_JAR"
# --trace-class-initialization=jdk.internal.net.http.common.DebugLogger,jdk.internal.net.http.websocket.WebSocketImpl,jdk.internal.net.http.common.Utils
"$BABASHKA_XMX"
"--enable-preview"
"-march=compatibility" # necessary for compatibility with older machines, e.g. see https://github.com/borkdude/deps.clj/actions/runs/6337277754/job/17212028399
"-O1")
BABASHKA_STATIC=${BABASHKA_STATIC:-}

View file

@ -31,6 +31,7 @@ call %GRAALVM_HOME%\bin\native-image.cmd ^
"--no-fallback" ^
"--enable-preview" ^
"--install-exit-handlers" ^
"-march=compatibility" ^
"-O1" ^
"%BABASHKA_XMX%" ^
%*