Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for running GrallVM native agent #1606

Open
exoego opened this issue Apr 19, 2024 · 0 comments
Open

Support for running GrallVM native agent #1606

exoego opened this issue Apr 19, 2024 · 0 comments

Comments

@exoego
Copy link

exoego commented Apr 19, 2024

Background

Since 2019, GraalVM offers Java agent to collect native image configuration from running JVM app.
GraalVM's official Gradle plugin offers support for the agent. It's user can collect configuration by gradlew test metadataCopy which dramatically help native image build workflow.

I am not sure such feature is covered in the scope of sbt-native-packager, but it is highly helpful.
There is a feature request in other sbt plugin scalameta/sbt-native-image#58, but it seems that the plugin is not so actively maintained.

Expected behaviour

sbt test runs tests with GraalVM native agent so metadata for native image build are collected automatically.

Actual behaviour

Such feature is not implemented.

Information

  • What sbt-native-packager are you using
    • 1.10.0
  • What sbt version
    • 1.9.9
  • What is your build system (e.g. Ubuntu, MacOS, Windows, Debian )
    • MacOs
  • What package are you building (e.g. docker, rpm, ...)
    • GraalVM native image
  • What version has your build tool (find out with e.g. rpm --version)
    • graalvm-22.3.1
  • What is your target system (e.g. Ubuntu 16.04, CentOS 7)
    • Multiple (Windows x64, Linux x64, Mac ARM, e.g.)
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

No branches or pull requests

1 participant