aboutsummaryrefslogtreecommitdiff
path: root/prepare_abeobk.sh
diff options
context:
space:
mode:
authorVan Phu DO <abeobk@gmail.com>2024-02-01 04:03:20 +0900
committerGitHub <noreply@github.com>2024-01-31 20:03:20 +0100
commit3c454d0222f787bb09d63d5d8133509c44d65008 (patch)
tree45f22e3e74e0c13e2946d8410e6f73e1da656942 /prepare_abeobk.sh
parentf0f6570975ef50ced4fb89e09743a483ce66e832 (diff)
final version for abeobk (#654)
* final version * Correct stupid mistake * min/max trick does not help that much, setting initial value does. * cut the tail
Diffstat (limited to 'prepare_abeobk.sh')
-rwxr-xr-xprepare_abeobk.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/prepare_abeobk.sh b/prepare_abeobk.sh
index 08a8afd..380e209 100755
--- a/prepare_abeobk.sh
+++ b/prepare_abeobk.sh
@@ -20,6 +20,6 @@ sdk use java 21.0.2-graal 1>&2
# ./mvnw clean verify removes target/ and will re-trigger native image creation.
if [ ! -f target/CalculateAverage_abeobk_image ]; then
- NATIVE_IMAGE_OPTS="--gc=epsilon -O3 -dsa -march=native -H:InlineAllBonus=10 -H:-GenLoopSafepoints -H:-ParseRuntimeOptions --enable-preview --initialize-at-build-time=dev.morling.onebrc.CalculateAverage_abeobk"
+ NATIVE_IMAGE_OPTS="--gc=epsilon -O3 -march=native -H:InlineAllBonus=10 -H:-GenLoopSafepoints --enable-preview --initialize-at-build-time=dev.morling.onebrc.CalculateAverage_abeobk"
native-image $NATIVE_IMAGE_OPTS -cp target/average-1.0.0-SNAPSHOT.jar -o target/CalculateAverage_abeobk_image dev.morling.onebrc.CalculateAverage_abeobk
fi