Compare commits
5 commits
master
...
init-at-bu
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f792c98784 | ||
|
|
524fc4d66c | ||
|
|
e66670a4f9 | ||
|
|
15e2fc7cbe | ||
|
|
207e22a6fa |
1 changed files with 6 additions and 2 deletions
|
|
@ -38,6 +38,9 @@ fi
|
|||
|
||||
BABASHKA_BINARY=${BABASHKA_BINARY:-"bb"}
|
||||
|
||||
# the initialize-at-build-time flag is generated with
|
||||
# (->> (map ns-name (all-ns)) (remove #(str/starts-with? % "clojure")) (map #(str/split (str %) #"\.")) (keep butlast) (map #(str/join "." %)) distinct (map munge) (cons "clojure"))
|
||||
|
||||
args=( "-jar" "$BABASHKA_JAR"
|
||||
"-H:Name=$BABASHKA_BINARY"
|
||||
"-H:+ReportExceptionStackTraces"
|
||||
|
|
@ -45,7 +48,8 @@ args=( "-jar" "$BABASHKA_JAR"
|
|||
"-H:IncludeResources=BABASHKA_VERSION"
|
||||
"-H:IncludeResources=SCI_VERSION"
|
||||
"-H:ReflectionConfigurationFiles=reflection.json"
|
||||
"--initialize-at-build-time"
|
||||
"--initialize-at-build-time=clojure,sci.impl,selmer,babashka.nrepl,babashka.impl.clojure.java,babashka.impl,rewrite_clj.node,bencode,rewrite_clj.parser,babashka.impl.clojure,org.httpkit,rewrite_clj.custom_zipper,rewrite_clj.zip,borkdude.graal,babashka.nrepl.impl,babashka.pods,cognitect,babashka,edamame.impl,cheshire,rewrite_clj,hiccup,sci,borkdude,flatland.ordered,babashka.pods.impl,clj_yaml,babashka.impl.clojure.core,datascript,hf.depstar,babashka.impl.tools,sci.addons,babashka.impl.clojure.test"
|
||||
"--initialize-at-build-time=com.fasterxml.jackson"
|
||||
#"-H:+PrintAnalysisCallTree"
|
||||
# "-H:+DashboardAll"
|
||||
# "-H:DashboardDump=reports/dump"
|
||||
|
|
@ -59,7 +63,7 @@ args=( "-jar" "$BABASHKA_JAR"
|
|||
"--no-fallback"
|
||||
"--no-server"
|
||||
"--report-unsupported-elements-at-runtime"
|
||||
"--initialize-at-run-time=org.postgresql.sspi.SSPIClient"
|
||||
# "--initialize-at-run-time=org.postgresql.sspi.SSPIClient"
|
||||
"--initialize-at-run-time=org.httpkit.client.ClientSslEngineFactory\$SSLHolder"
|
||||
"--native-image-info"
|
||||
"--verbose"
|
||||
|
|
|
|||
Loading…
Reference in a new issue