Compare commits

...

3 commits

Author SHA1 Message Date
7cdf8bf0c1 Merge remote-tracking branch 'refs/remotes/origin/main' 2024-02-21 16:24:13 +01:00
3692d4ef01 zlib no longer needed in isolation 2024-02-21 16:21:26 +01:00
7a0d2fd240 fix arch 2024-02-21 16:21:08 +01:00
3 changed files with 5 additions and 4 deletions

View file

@ -123,8 +123,9 @@ def package_native(project):
"--no-fallback " +
"--features=clj_easy.graal_build_time.InitClojureClasses " +
"-jar target/uberjar/" + project.name + "-standalone.jar " +
"-march=compatibility " +
"-H:IncludeResources=.*.yaml " +
"-H:IncludeResources=.*.xml " +
"-H:IncludeResources=logback.xml " +
"-H:Log=registerResource:verbose " +
"-H:Name=target/graalvm/" + project.name + "",
shell=True,

View file

@ -52,7 +52,7 @@ sudo update-alternatives --config java
sudo ln -s /usr/lib/jvm/graalvm-21/bin/native-image /usr/local/bin
# deps
sudo apt-get install build-essential libz-dev zlib1g-dev
sudo apt-get install build-essential zlib1g-dev
# build
cd ~/repo/c4k/c4k-forgejo

View file

@ -4,7 +4,7 @@
:license {:name "Apache License, Version 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.11.1" :scope "provided"]
[org.clojure/tools.reader "1.3.7"]
[org.clojure/tools.reader "1.4.0"]
[org.domaindrivenarchitecture/c4k-common-clj "6.1.3"]
[hickory "0.7.1" :exclusions [viebel/codox-klipse-theme]]]
:target-path "target/%s/"
@ -22,7 +22,7 @@
:uberjar {:aot :all
:main dda.c4k-forgejo.uberjar
:uberjar-name "c4k-forgejo-standalone.jar"
:dependencies [[org.clojure/tools.cli "1.0.219"]
:dependencies [[org.clojure/tools.cli "1.1.230"]
[ch.qos.logback/logback-classic "1.5.0"
:exclusions [com.sun.mail/javax.mail]]
[org.slf4j/jcl-over-slf4j "2.0.12"]