diff options
Diffstat (limited to 'development/bazel')
-rw-r--r-- | development/bazel/README | 2 | ||||
-rw-r--r-- | development/bazel/bazel.SlackBuild | 10 | ||||
-rw-r--r-- | development/bazel/bazel.info | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/development/bazel/README b/development/bazel/README index 2c37f54ea7..32fe80a90d 100644 --- a/development/bazel/README +++ b/development/bazel/README @@ -2,5 +2,5 @@ Bazel is an open-source build and test tool that scalably supports multi-language and multi-platform projects. Only 1 version of OpenJDK may be installed at a time while building -Bazel. For example, if both zulu-openjdk8 and zulu-openjdk11 are +Bazel. For example, if both zulu-openjdk8 and zulu-openjdk21 are installed, please uninstall zulu-openjdk8 before building Bazel. diff --git a/development/bazel/bazel.SlackBuild b/development/bazel/bazel.SlackBuild index 1b6448a144..511270c48f 100644 --- a/development/bazel/bazel.SlackBuild +++ b/development/bazel/bazel.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for bazel -# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com> +# Copyright 2022-2025 Isaac Yu <isaacyu@protonmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=bazel -VERSION=${VERSION:-5.4.1} +VERSION=${VERSION:-8.3.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -73,8 +73,8 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # Export environmental variables -# Please change JAVA_HOME if not using zulu-openjdk11 -export JAVA_HOME=/usr/lib$LIBDIRSUFFIX/zulu-openjdk11 +# Please change JAVA_HOME if not using zulu-openjdk21 +export JAVA_HOME=/usr/lib$LIBDIRSUFFIX/zulu-openjdk21 export EMBED_LABEL=$VERSION export EXTRA_BAZEL_ARGS="--java_runtime_version=local_jdk --tool_java_runtime_version=local_jdk" @@ -103,7 +103,7 @@ mv $TMP/$PRGNAM-$VERSION/output/bazel $PKG/usr/bin cp $TMP/$PRGNAM-$VERSION/scripts/packages/bazel.sh $PKG/usr/bin cp $TMP/$PRGNAM-$VERSION/bazel-complete.bash $PKG/usr/share/bash-completion/completions/bazel cp $TMP/$PRGNAM-$VERSION/scripts/zsh_completion/_bazel $PKG/usr/share/zsh/site-functions/_bazel -for d in examples third_party tools; do +for d in third_party tools; do cp -r $TMP/$PRGNAM-$VERSION/$d $PKG/usr/share/bazel/ done diff --git a/development/bazel/bazel.info b/development/bazel/bazel.info index 54baef8b7b..6b1fe89a3f 100644 --- a/development/bazel/bazel.info +++ b/development/bazel/bazel.info @@ -1,10 +1,10 @@ PRGNAM="bazel" -VERSION="5.4.1" +VERSION="8.3.1" HOMEPAGE="https://bazel.build/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://github.com/bazelbuild/bazel/releases/download/5.4.1/bazel-5.4.1-dist.zip" -MD5SUM_x86_64="0adff930095c57e5df28bf2f735db2d1" -REQUIRES="zulu-openjdk11" +DOWNLOAD_x86_64="https://github.com/bazelbuild/bazel/releases/download/8.3.1/bazel-8.3.1-dist.zip" +MD5SUM_x86_64="87e77f4dac074c1b3331f13df914c1cf" +REQUIRES="zulu-openjdk21" MAINTAINER="Isaac Yu" EMAIL="isaacyu@protonmail.com" |