Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: graalvm/native-build-tools Loading
base: 0.9.23
Choose a base ref
...
head repository: graalvm/native-build-tools Loading
compare: 0.9.24
Choose a head ref
  • 16 commits
  • 61 files changed
  • 6 contributors

Commits on Jun 16, 2023

  1. Configuration menu
    Copy the full SHA
    bdf89e9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #454 from dnestoro/dnestoro/CreateRelease0.9.23

    Create release 0.9.23
    dnestoro committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    3b0d4f7 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2023

  1. Update broken links

    olyagpl committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    f97d2b7 View commit details
    Browse the repository at this point in the history
  2. Update GraalVM setup steps

    olyagpl committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    5252d66 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2e28f5c View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

  1. Improve GraalVM setup guide

    olyagpl committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    70dd88c View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2023

  1. Configuration menu
    Copy the full SHA
    d1c4e41 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #460 from graalvm/og/graalvm-install-steps

    [GR-46881] Update GraalVM installation instructions.
    olyagpl committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    42fac01 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. Fix typos in reachability metadata gradle tasks descriptions (#463)

    * metadataCopy: replaces 'metdata' with 'metadata'
    * collectReachabilityMetadata: removes trailing dot to match all other task's descriptions
    abelsromero committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    6e4a273 View commit details
    Browse the repository at this point in the history
  2. Discover tests with ClassLoader other than ImageClassLoader (#445)

    Discover tests with another Java process
    
    JUnitPlatformFeature discovers tests before analysis. The discovery
    procsee will initialize some of the test classes when @RunWith,
    @parameterized annotations are used. As they are loaded by
    the ImageClassloader, the initialization may cause eager class
    initialization error during native image building time.
    
    This commit lauches the test discovery in a another Java process in
    the JUnitPlatformFeature to make sure the test class initialization at
    discovery time won't affect the native image class initialization
    policy.
    ziyilin committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    2988364 View commit details
    Browse the repository at this point in the history
  3. Keep same classpath order as surefire (#450)

    The elements' order on the classpath for native-image building must be
    consistent with the testing time when the graalvm agent is enabled to
    record the native image configurations.
    ziyilin committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    1c4c174 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. Revert "Discover tests with ClassLoader other than `ImageClassLoade…

    …r`" (#470)
    
    Revert "Discover tests with `ClassLoader` other than `ImageClassLoader` (#445)"
    
    This reverts commit 2988364.
    melix committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    7bdab7a View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. Add support for PGO instrumentation (#471)

    * Add support for PGO instrumentation
    
    This commit adds support for PGO instrumentation. This should be
    enabled by adding the `--pgo-instrument` option to the Gradle
    command line. When this is done, then the generated binary will
    be compiled with PGO instrumentation enabled, and the binary
    name will be suffixed with `-instrumented`.
    
    It is possible to run the instrumented binary directly too,
    in which case the profile files will be written in the same
    directory as the binary.
    
    * Add support for a PGO profiles directory
    
    By convention, the directory is set to `src/pgo-profiles/<binary>`.
    For example, for the `main` binary, the directory where to put
    PGO profiles would be `src/pgo-profiles/main`. If that directory
    is present _and that we're not instrumenting_, then the profile
    will be used when compiling with native image.
    
    It is possible to provide multiple profiles in a single directory.
    
    * Remove GraalVM version from workflows
    
    * Add documentation about PGO support
    
    See #457
    
    * Fix JUnit native test
    
    * Make checkstyle happy
    
    * Fix tests
    
    * Temporarily(?) disable testing with config cache
    
    As we're not compatible. Test `org.graalvm.buildtools.gradle.OfficialMetadataRepoFunctionalTest`
    throws an incomprehensible error message, in all versions of Gradle I've tested:
    
    ```
    Configuration cache state could not be cached: field `spec` of `org.gradle.api.internal.tasks.execution.SelfDescribingSpec` bean found in task `:compileJava` of type `org.gradle.api.tasks.compile.JavaCompile`: error writing value of type 'org.gradle.api.internal.tasks.compile.CompilerForkUtils$$Lambda$1235/0x00000008015b1c38'
    > Unable to make field private final java.lang.Object[] java.lang.invoke.SerializedLambda.capturedArgs accessible: module java.base does not "opens java.lang.invoke" to unnamed module @3cc98b0c
    ```
    
    This PR also rewrote some code which fixed other configuration
    cache issues which arose _before_ reaching this one.
    
    * Upgrade to JUnit 5.10.0
    
    * Make checkstyle happy
    
    * Fix test
    
    * Restore configuration cache tests
    
    * Update baseline versions for config cache
    melix committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    421b6b6 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. Bump metadata version

    dnestoro committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    e7d0f94 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #474 from dnestoro/dnestoro/BumpMetadataVersionTo0…

    ….3.3
    
    Bump metadata version to 0.3.3
    dnestoro committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    bd456a5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    654fcd4 View commit details
    Browse the repository at this point in the history
Loading