mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 14:43:52 +02:00
babashka: revbump for mandrel with JDK 21
This commit is contained in:
parent
b80aed9108
commit
521e3dfe43
1 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'babashka'
|
# Template file for 'babashka'
|
||||||
pkgname=babashka
|
pkgname=babashka
|
||||||
version=1.3.188
|
version=1.3.188
|
||||||
revision=1
|
revision=2
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
hostmakedepends="mandrel leiningen git"
|
hostmakedepends="mandrel leiningen git"
|
||||||
makedepends="zlib-devel"
|
makedepends="zlib-devel"
|
||||||
|
@ -55,11 +55,11 @@ post_extract() {
|
||||||
|
|
||||||
# Mandrel doesn't have GraalVM-SDK in the default classpath,
|
# Mandrel doesn't have GraalVM-SDK in the default classpath,
|
||||||
# but some Babashka features require it.
|
# 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() {
|
do_build() {
|
||||||
export GRAALVM_HOME=/usr/lib/jvm/mandrel17
|
export GRAALVM_HOME=/usr/lib/jvm/mandrel21
|
||||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||||
export BABASHKA_MUSL=true
|
export BABASHKA_MUSL=true
|
||||||
export BABASHKA_STATIC=true # mandrel workaround
|
export BABASHKA_STATIC=true # mandrel workaround
|
||||||
|
@ -71,7 +71,7 @@ do_build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
export GRAALVM_HOME=/usr/lib/jvm/mandrel17
|
export GRAALVM_HOME=/usr/lib/jvm/mandrel21
|
||||||
export BABASHKA_TEST_ENV=native
|
export BABASHKA_TEST_ENV=native
|
||||||
script/test
|
script/test
|
||||||
script/run_lib_tests
|
script/run_lib_tests
|
||||||
|
|
Loading…
Add table
Reference in a new issue