Skip to content

Commit

Permalink
build: change graalvm build args
Browse files Browse the repository at this point in the history
  • Loading branch information
fhussonnois committed Jan 9, 2025
1 parent 2462e79 commit ebdb311
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
<os-maven-plugin.version>1.7.1</os-maven-plugin.version>
<!-- Native -->
<imageName>jikkou</imageName>
<graalvm.build.arg>--verbose -march=compatibility</graalvm.build.arg>
<native.maven.plugin.version>0.10.4</native.maven.plugin.version>
<exec.mainClass>io.streamthoughts.jikkou.client.Jikkou</exec.mainClass>
</properties>
Expand Down Expand Up @@ -368,12 +367,14 @@
<configuration>
<mainClass>${exec.mainClass}</mainClass>
<buildArgs combine.children="append">
<buildArg>${graalvm.build.arg}</buildArg>
<buildArg>--verbose</buildArg>
<buildArg>-march=compatibility</buildArg>
<!--
FIX: Error: Classes that should be initialized at run time got initialized during image building:
see: io.micronaut.core.util.KotlinUtils.<clinit>(KotlinUtils.java:45)
-->
<buildArg>--initialize-at-build-time=kotlin.coroutines.intrinsics.CoroutineSingletons</buildArg>

</buildArgs>
<metadataRepository>
<enabled>true</enabled>
Expand Down

0 comments on commit ebdb311

Please sign in to comment.