Skip to content

Commit

Permalink
Update prepare_cb0s.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
cb0s authored Jan 30, 2024
1 parent c617d4c commit 98c2dce
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions prepare_cb0s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,5 @@
#

# Uncomment below to use sdk
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk use java 21.0.1-graal 1>&2

# used from thomaswue's prepare
if [ ! -f target/CalculateAverage_cb0s_image ]; then
NATIVE_IMAGE_OPTS="--gc=epsilon -O3 -march=native --enable-preview"
# Use -H:MethodFilter=CalculateAverage_cb0s.* -H:Dump=:2 -H:PrintGraph=Network for IdealGraphVisualizer graph dumping.
native-image $NATIVE_IMAGE_OPTS -cp target/average-1.0.0-SNAPSHOT.jar -o target/CalculateAverage_cb0s_image dev.morling.onebrc.CalculateAverage_cb0s
fi

# source "$HOME/.sdkman/bin/sdkman-init.sh"
# sdk use java 21.0.1-graal 1>&2

0 comments on commit 98c2dce

Please sign in to comment.