[COMMIT osv-apps master] fix GraalVM example Makefile

2 views
Skip to first unread message

Commit Bot

unread,
Jan 26, 2020, 9:44:25 AM1/26/20
to osv...@googlegroups.com, Arnaud Tournier
From: Arnaud Tournier <arnaud....@stack-labs.com>
Committer: Nadav Har'El <n...@scylladb.com>
Branch: master

fix GraalVM example Makefile

---
diff --git a/graalvm-example/Makefile b/graalvm-example/Makefile
--- a/graalvm-example/Makefile
+++ b/graalvm-example/Makefile
@@ -2,10 +2,10 @@ module: hello

include common.gmk

-Hello.class: Hello.java upstream/graalvm-ce-java11-$(GRAAL_VERSION)
+Hello.class: Hello.java $(app-dir)/upstream/graalvm-ce-java11-$(GRAAL_VERSION)
upstream/graalvm-ce-java11-$(GRAAL_VERSION)/bin/javac -d . Hello.java

-hello: Hello.class upstream/graalvm-ce-java11-$(GRAAL_VERSION)/bin/native-image
+hello: Hello.class $(app-dir)/upstream/graalvm-ce-java11-$(GRAAL_VERSION)/bin/native-image
upstream/graalvm-ce-java11-$(GRAAL_VERSION)/bin/native-image --no-server Hello

clean:
Reply all
Reply to author
Forward
0 new messages