Compatibility with older architectures
This commit is contained in:
parent
e938a58e06
commit
c8324ac887
2 changed files with 2 additions and 0 deletions
|
|
@ -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
|
# --trace-class-initialization=jdk.internal.net.http.common.DebugLogger,jdk.internal.net.http.websocket.WebSocketImpl,jdk.internal.net.http.common.Utils
|
||||||
"$BABASHKA_XMX"
|
"$BABASHKA_XMX"
|
||||||
"--enable-preview"
|
"--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")
|
"-O1")
|
||||||
|
|
||||||
BABASHKA_STATIC=${BABASHKA_STATIC:-}
|
BABASHKA_STATIC=${BABASHKA_STATIC:-}
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@ call %GRAALVM_HOME%\bin\native-image.cmd ^
|
||||||
"--no-fallback" ^
|
"--no-fallback" ^
|
||||||
"--enable-preview" ^
|
"--enable-preview" ^
|
||||||
"--install-exit-handlers" ^
|
"--install-exit-handlers" ^
|
||||||
|
"-march=compatibility" ^
|
||||||
"-O1" ^
|
"-O1" ^
|
||||||
"%BABASHKA_XMX%" ^
|
"%BABASHKA_XMX%" ^
|
||||||
%*
|
%*
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue