diff --git a/Run-tracing‐agent-to-collect-native-image-configurations.md b/Run-tracing‐agent-to-collect-native-image-configurations.md new file mode 100644 index 0000000..1e448ba --- /dev/null +++ b/Run-tracing‐agent-to-collect-native-image-configurations.md @@ -0,0 +1,10 @@ +Fixup `LD_LIBRARY_PATH`: +``` +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/graalvm/lib +``` + +Run the tests with tracing agent enabled, copy the generated metadata over and compile the native image + +``` +gradle -Pagent test && gradle metadataCopy --task test --dir src/main/resources/META-INF/native-image && gradle nativeCompile +``` \ No newline at end of file