Skip to content

Commit

Permalink
Switch to bazel 0.29
Browse files Browse the repository at this point in the history
  • Loading branch information
guibou committed Sep 4, 2019
1 parent 9c3e67c commit 55b0375
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 13 deletions.
8 changes: 1 addition & 7 deletions .netlify/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@

set -eux

# XXX: This should be bazel 0.27
# However, starting from bazel 0.27, they link with a more recent
# glibc, they are based on ubuntu 16.04 instead of 14.04.
# Apparently, netlify does not have the right glibc for now
# So, using bazel 0.26 is a temporary solution until netlify fix its
# environment.
V=0.26.0
V=0.29.0

curl -LO https://github.com/bazelbuild/bazel/releases/download/$V/bazel-$V-installer-linux-x86_64.sh
chmod +x bazel-$V-installer-linux-x86_64.sh
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
### Highlights

* The minimum supported Bazel version is now 0.27.
`rules_haskell` supports Bazel up to 0.28.
`rules_haskell` supports Bazel up to 0.29.
0.27 is a LTS release, which means upstream guarantees all new
releases are backwards-compatible to it for 3 months. See the [Bazel
Stability](https://blog.bazel.build/2019/06/06/Bazel-Semantic-Versioning.html)
Expand Down
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ register_toolchains(
"//tests:c2hs-toolchain",
"//tests:doctest-toolchain",
"//tests:protobuf-toolchain",
"//tests:python_toolchain",
# "//tests:python_toolchain",
)

nixpkgs_cc_configure(
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
architecture: 'x64'
- bash: |
set -e
curl -LO https://github.com/bazelbuild/bazel/releases/download/0.28.0/bazel-0.28.0-windows-x86_64.exe
curl -LO https://github.com/bazelbuild/bazel/releases/download/0.29.0/bazel-0.29.0-windows-x86_64.exe
mv bazel-*.exe bazel.exe
mkdir /c/bazel
mv bazel.exe /c/bazel
Expand Down
5 changes: 3 additions & 2 deletions nixpkgs/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
let
sha256 = "1vpm73y7d0j2cviq0cgjwdj64h2v0c349capiyqf5f6071anx7d7";
rev = "c4adeddb5f8";
# 2019-09-03
sha256 = "1wddvvhppsr5yzdjrwmdhgjjz9zc5r2ryiwab5lz4rwz1k2vvapp";
rev = "5eef8c231ada09d9d2f298fed5ec4718ab75ce10";
in
import (fetchTarball {
inherit sha256;
Expand Down
2 changes: 1 addition & 1 deletion start
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ MIN_BAZEL_MAJOR=0
MIN_BAZEL_MINOR=27

MAX_BAZEL_MAJOR=0
MAX_BAZEL_MINOR=28
MAX_BAZEL_MINOR=29

set -e

Expand Down

0 comments on commit 55b0375

Please sign in to comment.