babashka: revbump for mandrel with JDK 21
This commit is contained in:
parent
b80aed9108
commit
521e3dfe43
@ -1,7 +1,7 @@
|
||||
# Template file for 'babashka'
|
||||
pkgname=babashka
|
||||
version=1.3.188
|
||||
revision=1
|
||||
revision=2
|
||||
create_wrksrc=yes
|
||||
hostmakedepends="mandrel leiningen git"
|
||||
makedepends="zlib-devel"
|
||||
@ -55,11 +55,11 @@ post_extract() {
|
||||
|
||||
# Mandrel doesn't have GraalVM-SDK in the default classpath,
|
||||
# but some Babashka features require it.
|
||||
vsed -i -e '/:resource-paths/s@]@ "/usr/lib/jvm/mandrel17/lib/jvmci/graal-sdk.jar"]@' project.clj
|
||||
vsed -i -e '/:resource-paths/s@]@ "/usr/lib/jvm/mandrel21/lib/jvmci/nativeimage.jar"]@' project.clj
|
||||
}
|
||||
|
||||
do_build() {
|
||||
export GRAALVM_HOME=/usr/lib/jvm/mandrel17
|
||||
export GRAALVM_HOME=/usr/lib/jvm/mandrel21
|
||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||
export BABASHKA_MUSL=true
|
||||
export BABASHKA_STATIC=true # mandrel workaround
|
||||
@ -71,7 +71,7 @@ do_build() {
|
||||
}
|
||||
|
||||
do_check() {
|
||||
export GRAALVM_HOME=/usr/lib/jvm/mandrel17
|
||||
export GRAALVM_HOME=/usr/lib/jvm/mandrel21
|
||||
export BABASHKA_TEST_ENV=native
|
||||
script/test
|
||||
script/run_lib_tests
|
||||
|
Loading…
x
Reference in New Issue
Block a user