-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bazel 0.15.2 * Include description of workaround
- Loading branch information
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
# Maintainer: David Ostrovsky <[email protected]> | ||
|
||
pkgname=bazel | ||
pkgver=0.13.0 | ||
pkgver=0.15.2 | ||
pkgrel=0 | ||
pkgdesc='Correct, reproducible, and fast builds for everyone' | ||
arch="all" | ||
license="ASL-2.0" | ||
url='https://bazel.io/' | ||
depends="openjdk8 libarchive zip unzip" | ||
makedepends="git protobuf python" | ||
depends="bash openjdk8 libarchive zip unzip" | ||
# coreutils can be removed as a make dependency once expr in busybox is compatible with the BSD version, see following bug reports: | ||
# Patch bazel: https://github.com/bazelbuild/bazel/issues/4055 | ||
# https://bugs.alpinelinux.org/issues/8121 | ||
makedepends="coreutils git linux-headers 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="3c128e551cff1b685250a68892ca3e1ad6be8b152ee2b8eb527c94adbb8fd50c70e703a363bb938916275030ddb14d756c14e4dc238e7a7b40289c700c5d53c7 bazel-0.13.0-dist.zip | ||
37fd1446e4c9614d66d85d06a9906b2c9bf3026c6f843af913134abff5d7479864813e29a00b8e6875938994022e3736f9d495f360d7fa5e2e2c4db48a2a28f7 bazel-0.13.0-dist.zip.sig" | ||
sha512sums="c1257fc7eeadc8e76fbd52be393d07161e6eadf7111e09ee9a7f9bf6d3b7e848e9b193a3b66a13e99c09a42e577404cb3a5f1fc3819f35436a36149dbb1ea365 bazel-0.15.2-dist.zip | ||
d81fd679b9efbd334a32ed4d32561deed7aace24f12462a5860d3fc7b4fc2dfa3614a23f4772e54d06031b364790e91df936d34b1f881ed4067234a8d84cc0b9 bazel-0.15.2-dist.zip.sig" | ||
|
||
build() { | ||
./compile.sh | ||
# Patch bazel: https://github.com/bazelbuild/bazel/issues/4055 | ||
# https://bugs.alpinelinux.org/issues/8121 | ||
sed -i.bak 's/expr --/expr/' scripts/generate_bash_completion.sh | ||
./output/bazel build -s --verbose_failures scripts:bazel-complete.bash | ||
cd output | ||
./bazel shutdown | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# bazel-alpine-package | ||
|
||
This is the Bazel 0.13.0 as a Alpine Linux package. | ||
This is the Bazel 0.15.2 as a Alpine Linux package. | ||
|
||
## Installing | ||
|
||
The current installation method for these packages is to pull them in using `wget` or `curl` and install the local file with `apk`: | ||
|
||
apk --no-cache add ca-certificates wget | ||
wget -q -O /etc/apk/keys/[email protected] https://raw.githubusercontent.com/davido/bazel-alpine-package/master/[email protected] | ||
wget https://github.com/davido/bazel-alpine-package/releases/download/0.13.0/bazel-0.13.0-r0.apk | ||
apk add bazel-0.13.0-r0.apk | ||
wget https://github.com/davido/bazel-alpine-package/releases/download/0.15.2/bazel-0.15.2-r0.apk | ||
apk add bazel-0.15.2-r0.apk |