ide icon indicating copy to clipboard operation
ide copied to clipboard

Install native-image for graalvm by default

Open jan-vcapgemini opened this issue 1 year ago • 5 comments

As a graalvm user, I want to have native-image installed by default.

Currently, I manually have to do this:

gu install native-image

See also https://www.graalvm.org/22.0/reference-manual/native-image/#install-native-image

jan-vcapgemini avatar Aug 03 '23 10:08 jan-vcapgemini

See #1325

hohwille avatar Sep 01 '23 12:09 hohwille

Interesting are also the pre-requisites Should we create another story for this and also try to install that by default?

hohwille avatar Sep 01 '23 12:09 hohwille

That would be interesting. Especially how to setup https://github.com/bycloudai/InstallVSBuildToolsWindows as it is one of the pre-requisites. As this is the benefit of quarkus to be able to build native images, it would be great if the devonfw ide would install and prepare the environment accordingly to allow native builds. Vote up!

maybeec avatar Sep 13 '23 06:09 maybeec

Just to add: https://github.com/bycloudai/InstallVSBuildToolsWindows is also needed for SpringBoot 3.x native builds as well as for some Python/PIP dependencies to be installed (mainly in genAI area). It is very problematic with machines without admin rights, as it cannot be easily installed manually.

maciejmalecki avatar Sep 13 '23 07:09 maciejmalecki

In the latest version of GraalVM for JDK 21.0.2 native image is already preinstalled

alfeilex avatar Sep 22 '23 14:09 alfeilex