From 521e3dfe43847149593b664e51d12a7e179ac34a Mon Sep 17 00:00:00 2001 From: icp Date: Thu, 25 Jan 2024 01:57:24 +0530 Subject: [PATCH] babashka: revbump for mandrel with JDK 21 --- srcpkgs/babashka/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/babashka/template b/srcpkgs/babashka/template index 338809bee19..d9342bee85c 100644 --- a/srcpkgs/babashka/template +++ b/srcpkgs/babashka/template @@ -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