Skip to content

Commit

Permalink
Disable native-image optimization
Browse files Browse the repository at this point in the history
With optimization enabled the native image build process
fails because of a deadlock.

The issue might be related to oracle/graal#8685
  • Loading branch information
usommerl committed May 7, 2024
1 parent 5ed47b4 commit 966f784
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Args = --no-fallback \
# I need to pass the no optimization flag ('-O0') since updating to Scala 3.
# Otherwise, building the native image fails because of a deadlock.
# See:
# - https://github.com/oracle/graal/issues/8685
# - https://stackoverflow.com/q/73935636/1827123
Args = -O0 \
--no-fallback \
--static \
--libc=musl \
--enable-http \
Expand Down

0 comments on commit 966f784

Please sign in to comment.