Skip to content

Make native image profiles activate on 'native-image' binary#14986

Merged
normanmaurer merged 1 commit intonetty:4.1from
chrisvest:4.1-native-image
Apr 3, 2025
Merged

Make native image profiles activate on 'native-image' binary#14986
normanmaurer merged 1 commit intonetty:4.1from
chrisvest:4.1-native-image

Conversation

@chrisvest
Copy link
Copy Markdown
Member

Motivation:
GraalVM no longer include the $JAVA_HOME/bin/gu binary. It is also no longer necessary, because graalvm include the native-image binary we actually need, by default.

Modification:
Change the native image maven profile activation to be predicated on the native-image binary instead of the gu binary.

Result:
The native image test suites should now run as part of our graal builds.

Motivation:
GraalVM no longer include the `$JAVA_HOME/bin/gu` binary.
It is also no longer necessary, because graalvm include the `native-image` binary we actually need, by default.

Modification:
Change the native image maven profile activation to be predicated on the `native-image` binary instead of the `gu` binary.

Result:
The native image test suites should now run as part of our graal builds.
@chrisvest chrisvest added this to the 4.1.120.Final milestone Apr 3, 2025
@chrisvest chrisvest requested a review from normanmaurer April 3, 2025 01:44
@normanmaurer normanmaurer merged commit 8d9d9b6 into netty:4.1 Apr 3, 2025
26 of 27 checks passed
normanmaurer pushed a commit that referenced this pull request Apr 3, 2025
Motivation:
GraalVM no longer include the `$JAVA_HOME/bin/gu` binary. It is also no
longer necessary, because graalvm include the `native-image` binary we
actually need, by default.

Modification:
Change the native image maven profile activation to be predicated on the
`native-image` binary instead of the `gu` binary.

Result:
The native image test suites should now run as part of our graal builds.
normanmaurer added a commit that referenced this pull request Apr 3, 2025
…#14987)

Motivation:
GraalVM no longer include the `$JAVA_HOME/bin/gu` binary. It is also no
longer necessary, because graalvm include the `native-image` binary we
actually need, by default.

Modification:
Change the native image maven profile activation to be predicated on the
`native-image` binary instead of the `gu` binary.

Result:
The native image test suites should now run as part of our graal builds.

Co-authored-by: Chris Vest <christianvest_hansen@apple.com>
@chrisvest chrisvest deleted the 4.1-native-image branch April 3, 2025 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants