[arch-commits] Commit in bazel/trunk (PKGBUILD)

Konstantin Gizdov kgizdov at archlinux.org
Sat Jul 3 14:42:46 UTC 2021


    Date: Saturday, July 3, 2021 @ 14:42:46
  Author: kgizdov
Revision: 971939

upgpkg: bazel 4.1.0-1

Modified:
  bazel/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-03 13:54:35 UTC (rev 971938)
+++ PKGBUILD	2021-07-03 14:42:46 UTC (rev 971939)
@@ -4,7 +4,7 @@
 # Contributor: Simon Legner <Simon.Legner at gmail.com>
 
 pkgname=bazel
-pkgver=4.0.0
+pkgver=4.1.0
 pkgrel=1
 pkgdesc='Correct, reproducible, and fast builds for everyone'
 arch=('x86_64')
@@ -11,16 +11,22 @@
 license=('Apache')
 url='https://bazel.build/'
 depends=('java-environment=11' 'libarchive' 'zip' 'unzip')
-makedepends=('git' 'protobuf' 'python')
+makedepends=('gcc10' 'git' 'protobuf' 'python')
 options=('!distcc' '!strip')
 source=("https://github.com/bazelbuild/bazel/releases/download/${pkgver}/bazel-${pkgver}-dist.zip"
         "https://github.com/bazelbuild/bazel/releases/download/${pkgver}/bazel-${pkgver}-dist.zip.sig")
-sha512sums=('7e89a26b78b0c18bd570618c7610d8de4f6beddbc751efdb5b9357d0309afbf5c83da6b6a367435ce1360361bd010b0987addb4270ba49737ba6b7e8d1f2bb98'
+sha512sums=('18a8f4087b87e2d1dea118491458981bcb162ca736cc451169da9f638520071d846de77d32e4542a0142641f7e94d56d4cca7b0c17098d3d7dc67875528c634c'
             'SKIP')
 validpgpkeys=('71A1D0EFCFEB6281FD0437C93D5919B448457EE0')
 
 build() {
+  # https://github.com/bazelbuild/bazel/issues/13613
+  CC=/usr/bin/gcc-10 \
+  CXX=/usr/bin/g++-10 \
   EMBED_LABEL=$pkgver EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk" ./compile.sh
+  # https://github.com/bazelbuild/bazel/issues/13613
+  CC=/usr/bin/gcc-10 \
+  CXX=/usr/bin/g++-10 \
   ./output/bazel build scripts:bazel-complete.bash
   cd output
   ./bazel shutdown




More information about the arch-commits mailing list