base repository: graalvm/native-build-tools
base: 0.9.9
head repository: graalvm/native-build-tools
Uh oh!
There was an error while loading. Please reload this page.
compare: 0.9.10
- 16 commits
- 50 files changed
- 2 contributors
Commits on Feb 1, 2022
Introduce skipNativeTests flag in Maven plugin (#193)
Prior to this commit, the NativeTestMojo had a `skipTests` property. This meant that you could skip the tests, but that skipped the JVM tests as well as the native tests, since Maven Surefire looks for the same `skipTests` flag. In other words, there was previously no way to execute the JVM tests and skip only the native tests. This commit addresses this issue by introducing a new `skipNativeTests` flag that allows the user to explicitly disable only native testing support. For example, this new feature enables workflows that need to execute tests on the JVM using the agent in order to generate native configuration files without having to execute the tests within a native image. See the updated reference documentation for additional use cases. Closes #179
sbrannen authoredFeb 1, 2022
Commits on Feb 3, 2022
Commits on Feb 4, 2022
Make sure executable ends with
.exe
under WindowsThis commit fixes the executable name when the plugin is running under Windows: `nativeRun` would fail because it doesn't append the `.exe` extension to the file name. Fixes #198
melix committedFeb 4, 2022 Configuration menu Copy the full SHA View commit details Browse the repository at this point in the history - melix committed
Feb 4, 2022 Configuration menu Copy the full SHA View commit details Browse the repository at this point in the history Only pass the short name to native image args
melix committedFeb 4, 2022 Disable testing for Maven on Windows too
Since this is also failing in strange ways.
melix committedFeb 4, 2022 Configuration menu Copy the full SHA View commit details Browse the repository at this point in the history Make it possible to override the classpath
This is an internal implementation change so that plugins reusing this code can customize the classpath provider.
melix committedFeb 4, 2022 Configuration menu Copy the full SHA View commit details Browse the repository at this point in the history
Commits on Feb 7, 2022
Document version compatibility for JUnit Platform & Maven Surefire
Closes #151
sbrannen committedFeb 7, 2022
Commits on Feb 9, 2022
- melix committed
Feb 9, 2022 Fix race condition if tests are executed in parallel
This commit makes use of the `native-image-configure` tool to merge the results of agent files. Before this commit, several process could be writing to the same output directory. Now, each process will use a separate directory and the tool is used to merge their outputs. Because the `native-image-configure` tool might not be present, it's also going to invoke the command which generates it. See #194
melix committedFeb 9, 2022 Configuration menu Copy the full SHA View commit details Browse the repository at this point in the history Do not use separate agent directories when agent is invoked on main
This is a workaround for goal execution ordering problems with Maven. For tests, we can add a synthetic goal which is executed in the same phase and will merge the agent files generated by the test execution. Unfortunately, this approach doesn't work if we want to instrument the main execution, which is sometimes the case. This is not doable because we won't have a phase to hook into and a goal to execute in order to merge the files. Even if we synthetize a goal and try to add it to the session execution, this would cause ordering issues because we don't know in which order the plugins are defined in the build file. In addition, this would simply not work for multi-module builds. As a workaround, we simply disable the split agent output directories in case we instrument the main execution. This will hopefully work for most invocations.
melix committedFeb 9, 2022 Add documentation about bugfix
melix committedFeb 9, 2022
Commits on Feb 11, 2022
Use argument file when invoking
native-image
With this, it is no longer necessary to build a fat jar (or shaded jar) under Windows in case of long classpath issues. Using the argument file is enabled by default. If the user uses a version older than 21.3, then they can use the fat jar support (and disable arg-file usage). Fixes #203
melix committedFeb 11, 2022
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:git diff 0.9.9...0.9.10
Uh oh!
There was an error while loading. Please reload this page.