-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I can build a reasonable graalvm native image now
- Loading branch information
1 parent
1c8e774
commit 73cab59
Showing
3 changed files
with
28 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
(defproject repoman "0.1.0-SNAPSHOT" | ||
(defproject repoman "0.1.1" | ||
:description "Tiny tool to query repology" | ||
:url "http://example.com/FIXME" | ||
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0" | ||
:url "https://www.eclipse.org/legal/epl-2.0/"} | ||
:dependencies [[org.clojure/clojure "1.10.1"] | ||
:dependencies [[org.clojure/clojure "1.10.2-alpha1"] | ||
[org.clojure/tools.cli "1.0.194"] | ||
;; clj-http incompatible with graal | ||
[org.martinklepsch/clj-http-lite "0.4.3"] | ||
;; 0.4.3-1 is built locally, using the latest commit | ||
[org.martinklepsch/clj-http-lite "0.4.3-1"] | ||
[cheshire "5.10.0"] | ||
[camel-snake-kebab "0.4.1"]] | ||
:plugins [[io.taylorwood/lein-native-image "0.3.1"]] | ||
:main ^:skip-aot repoman.core | ||
:target-path "target/%s" | ||
:java-cmd "C:\\Users\\doubl\\scoop\\apps\\openjdk15\\current\\bin\\java.exe" | ||
:javac-options ["-server"] | ||
:native-image | ||
{:name "rp" | ||
:graal-bin "C:\\Program Files\\GraalVM\\graalvm-ce-java11-20.1.0\\bin" | ||
;; :jvm-opts ["-Dclojure.compiler.direct-linking=true"] | ||
:opts ["--verbose" | ||
"--report-unsupported-elements-at-runtime" | ||
;; "--report-unsupported-elements-at-runtime" | ||
"--initialize-at-build-time" | ||
"--allow-incomplete-classpath" ;; clj-http-lite requires this | ||
"--enable-https" | ||
"--no-fallback"]} | ||
:profiles | ||
{:uberjar | ||
{:aot :all | ||
:native-image | ||
{:jvm-opts ["-Dclojure.compiler.direct-linking=true"]}}}) | ||
:jvm-opts ["-Dclojure.compiler.direct-linking=true"]}}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters