Skip to content

Conversation

@rbygrave
Copy link

@rbygrave rbygrave commented Dec 17, 2025

Examples:
$linux:--GC=G1
$linux:-R:MaxGCPauseMillis=50

Linux specific build arguments. These build args are not included on another os like mac.

Example:

<buildArgs>
    <buildArg>$linux:--gc=G1</buildArg>                   <!-- only use on linux-->
    <buildArg>$linux:-R:MaxGCPauseMillis=50</buildArg>    <!-- only use on linux-->
    <buildArg>-R:MaxHeapSize=400m</buildArg>
    <buildArg>--emit build-report</buildArg>
    <buildArg>--no-fallback</buildArg>
    <buildArg>-march=compatibility</buildArg>
    <buildArg>--allow-incomplete-classpath</buildArg>
    <buildArg>--static-nolibc</buildArg>
</buildArgs>

Examples:
 $linux:--GC=G1
 $linux:-R:MaxGCPauseMillis=50

Linux specific build arguments. These build args are not included
on another os like mac.
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Dec 17, 2025
@rbygrave
Copy link
Author

PR to address #800

@rbygrave rbygrave changed the title Add support for platform specific buildArgs using $os: prefix [maven plugin] Add support for platform specific buildArgs using $os: prefix Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant