Skip to content

Commit

Permalink
setup: Upgrade to bazel 0.19.2 (RobotLocomotion#10100)
Browse files Browse the repository at this point in the history
  • Loading branch information
jwnimmer-tri authored Nov 28, 2018
1 parent 3401427 commit b314b7e
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ endif()

# The version passed to find_package(Bazel) should match the
# minimum_bazel_version value in the call to versions.check() in WORKSPACE.
set(MINIMUM_BAZEL_VERSION 0.18.0)
set(MINIMUM_BAZEL_VERSION 0.19.2)
find_package(Bazel ${MINIMUM_BAZEL_VERSION} MODULE REQUIRED)

get_filename_component(C_COMPILER_REALPATH "${CMAKE_C_COMPILER}" REALPATH)
Expand Down
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ load("@bazel_skylib//:lib.bzl", "versions")
# This needs to be in WORKSPACE or a repository rule for native.bazel_version
# to actually be defined. The minimum_bazel_version value should match the
# version passed to the find_package(Bazel) call in the root CMakeLists.txt.
versions.check(minimum_bazel_version = "0.18.0")
versions.check(minimum_bazel_version = "0.19.2")
6 changes: 3 additions & 3 deletions doc/clion.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ Installing CLion

The most recent versions that we have tested for compatibility are:
- Ubuntu 16.04
- Bazel 0.16.1
- CLion 2018.1.6 with:
- Bazel 0.19.2
- CLion 2018.2.6 with:

- Bazel plug-in 2018.08.06.0.1.
- Bazel plug-in 2018.10.22.0.2.

Many versions the above (Bazel / CLion / plug-in) are *not* compatible with
each other. We strongly suggest using only the versions shown above, when
Expand Down
6 changes: 3 additions & 3 deletions doc/developers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ supported for CMake builds using the "Unix Makefiles" generator.
| Operating System | Build System | C/C++ Compiler | Java | MATLAB (Optional) | Python |
+==================================+=================+=================+============+===================+========+
+----------------------------------+-----------------+-----------------+------------+-------------------+--------+
| Ubuntu 16.04 LTS (Xenial Xerus) | | Bazel 0.18.0 | | Clang 6.0 | OpenJDK 8 | R2017a | 2.7.11 |
| Ubuntu 16.04 LTS (Xenial Xerus) | | Bazel 0.19.2 | | Clang 6.0 | OpenJDK 8 | R2017a | 2.7.11 |
| | | CMake 3.5.1 | | GCC 5.4 | | | |
+----------------------------------+-----------------+-----------------+------------+-------------------+--------+
| Ubuntu 18.04 LTS (Bionic Beaver) | | Bazel 0.18.0 | | Clang 6.0 | OpenJDK 11 | R2018b | 2.7.15 |
| Ubuntu 18.04 LTS (Bionic Beaver) | | Bazel 0.19.2 | | Clang 6.0 | OpenJDK 11 | R2018b | 2.7.15 |
| | | CMake 3.10.2 | | GCC 7.3 | | | |
+----------------------------------+-----------------+-----------------+------------+ | |
| macOS High Sierra (10.13) | | Bazel 0.18.0 | Apple LLVM 10.0 | Oracle 11 | | |
| macOS High Sierra (10.13) | | Bazel 0.19.2 | Apple LLVM 10.0 | Oracle 11 | | |
+----------------------------------+ | CMake 3.12.3 | | | | |
| macOS Mojave (10.14) | | | | | |
+----------------------------------+-----------------+-----------------+------------+-------------------+--------+
Expand Down
6 changes: 3 additions & 3 deletions setup/ubuntu/16.04/source_distribution/install_prereqs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ dpkg_install_from_wget() {
}

dpkg_install_from_wget \
bazel 0.18.0 \
https://github.com/bazelbuild/bazel/releases/download/0.18.0/bazel_0.18.0-linux-x86_64.deb \
fbdc6dd3bbac4512648314619a317de81df6bbea9826d9201c4e07ec48d3744f
bazel 0.19.2 \
https://github.com/bazelbuild/bazel/releases/download/0.19.2/bazel_0.19.2-linux-x86_64.deb \
5d22686faa59a5c0bba65c593c3f955a871f2712d306dd607f284cabd2b32c1f
8 changes: 4 additions & 4 deletions setup/ubuntu/18.04/source_distribution/install_prereqs.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
#
# Install development prerequisites for source distributions of Drake on
# Ubuntu 18.04 (Bionic). Note that this is currently an UNSUPPORTED platform.
# Ubuntu 18.04 (Bionic).
#
# The development and runtime prerequisites for binary distributions should be
# installed before running this script.
Expand Down Expand Up @@ -69,6 +69,6 @@ dpkg_install_from_wget() {
}

dpkg_install_from_wget \
bazel 0.18.0 \
https://github.com/bazelbuild/bazel/releases/download/0.18.0/bazel_0.18.0-linux-x86_64.deb \
fbdc6dd3bbac4512648314619a317de81df6bbea9826d9201c4e07ec48d3744f
bazel 0.19.2 \
https://github.com/bazelbuild/bazel/releases/download/0.19.2/bazel_0.19.2-linux-x86_64.deb \
5d22686faa59a5c0bba65c593c3f955a871f2712d306dd607f284cabd2b32c1f

0 comments on commit b314b7e

Please sign in to comment.