Package Details: graal-native-image-bin 19.2.0.1-1

Git Clone URL: https://aur.archlinux.org/graal-native-image-bin.git (read-only)
Package Base: graal-native-image-bin
Description: Plugin to turn Graal-based applications into native binary images
Upstream URL: https://github.com/oracle/graal
Licenses: custom
Conflicts: graal-native-image
Provides: graal-native-image
Submitter: lucaswerkmeister
Maintainer: lucaswerkmeister
Last Packager: lucaswerkmeister
Votes: 2
Popularity: 1.222667
First Submitted: 2019-05-30 10:58
Last Updated: 2019-09-13 19:10

Dependencies (1)

Required by (1)

  • graal-bin (requires graal-native-image) (optional)

Sources (1)

Latest Comments

sogaiu commented on 2019-05-31 21:24

Thanks for the update, it appears to be working well so far!

lucaswerkmeister commented on 2019-05-31 15:52

Oops, yeah, that’s what I get for copying the graalpython PKGBUILD too blindly :D

FWIW, on my system native-image worked because I have /usr/lib/jvm/default/bin/ in my PATH. (I did test this package I built! I promise!)

I’ve pushed a fix now (a bit different from your patch), please try it out!

sogaiu commented on 2019-05-31 15:17

It seems like making a symlink from /usr/bin/native-image to the packaged native-image might be nicer. How does this look?

diff --git a/PKGBUILD b/PKGBUILD
index cec27c9..b256c61 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgname_=graal-native-image
 pkgname=${pkgname_}-bin
 pkgver_=19.0.0
 pkgver=${pkgver_/-/_}
-pkgrel=1
+pkgrel=2
 pkgdesc='Plugin to turn Graal-based applications into native binary images'
 arch=('x86_64')
 url='https://github.com/oracle/graal'
@@ -56,5 +56,5 @@ package() {

     install -DTm644 jre/lib/svm/LICENSE_NATIVEIMAGE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

-    ln -s ../lib/jvm/java-8-graal/bin/${pkgname_} "$pkgdir/usr/bin/"
+    ln -s ../lib/jvm/java-8-graal/bin/native-image "$pkgdir/usr/bin/native-image"
 }