Skip to content

Commit

Permalink
Bump bazel requirement to 4.0.0.
Browse files Browse the repository at this point in the history
This is required to build grpcio 1.36.0.

Issue #162.
  • Loading branch information
ChrisCummins committed Mar 30, 2021
1 parent 6b8aeda commit e07926b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.0
4.0.0
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,20 @@ newer equivalents).

### Building from Source

If you prefer, you may build from source. This requires a modern C++ toolchain.
On macOS you can use the system compiler. On linux, install the required
toolchain using:
If you prefer, you may build from source. This requires a modern C++ toolchain
and bazel.

On macOS you can use the system compiler and install
[bazelisk](https://github.com/bazelbuild/bazelisk) using
[homebrew](https://docs.brew.sh/Installation):

$ brew install bazelisk

On linux, install the required toolchain using:

$ sudo apt install clang libtinfo5 patchelf
$ wget https://github.com/bazelbuild/bazelisk/releases/download/v1.7.5/bazelisk-linux-amd64 -O bazel && chmod +x bazel
$ sudo mv bazel /usr/local/bin
$ export CC=clang
$ export CXX=clang++

Expand Down

0 comments on commit e07926b

Please sign in to comment.