From 74e493d5c0d1f4b67caa289320ed2ca803035a8a Mon Sep 17 00:00:00 2001 From: patdyn Date: Tue, 6 Aug 2024 11:16:55 +0200 Subject: [PATCH] Update package_native run cmd Using flags from c4k-keycloak --- build.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index c244f73..1e81ce9 100644 --- a/build.py +++ b/build.py @@ -129,10 +129,13 @@ def package_native(project): "--no-server " + "--no-fallback " + "--features=clj_easy.graal_build_time.InitClojureClasses " + - f"-jar target/uberjar/{project.name}-standalone.jar " + + "-jar target/uberjar/" + project.name + "-standalone.jar " + + "-march=compatibility " + + "-H:+UnlockExperimentalVMOptions " + "-H:IncludeResources=.*.yaml " + + "-H:IncludeResources=logback.xml " + "-H:Log=registerResource:verbose " + - f"-H:Name=target/graalvm/{project.name}", + "-H:Name=target/graalvm/" + project.name + "", shell=True, check=True, )