Skip to content

Commit

Permalink
doc: Note that GCC 7.5 is now Ubuntu's default compiler (RobotLocomot…
Browse files Browse the repository at this point in the history
  • Loading branch information
jwnimmer-tri authored Mar 10, 2020
1 parent dc928c3 commit 2d48874
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ endif()

# The minimum compiler versions should match those listed in both
# doc/developers.rst and tools/workspace/cc/repository.bzl.
# TODO(jwnimmer-tri) On 2020-07-01 update GCC min to 7.5 here and in the bzl.
set(MINIMUM_APPLE_CLANG_VERSION 11)
set(MINIMUM_CLANG_VERSION 6)
set(MINIMUM_GNU_VERSION 7.4)
Expand Down
1 change: 1 addition & 0 deletions bindings/pydrake/autodiff_types_pybind.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#ifndef __clang__
// N.B. Without this, GCC 7.4.0 on Ubuntu complains about
// `AutoDiffScalar(const AutoDiffScalar& other)` having uninitialized values.
// We have not tested whether GCC 7.5.0 still complains.
// TODO(eric.cousineau): #11566 Figure out why?
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
Expand Down
2 changes: 1 addition & 1 deletion doc/bazel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ typical examples below; for more reading about target patterns, see:
https://docs.bazel.build/versions/master/user-manual.html#target-patterns.

On Ubuntu, the default compiler is the first ``gcc`` compiler in the
``PATH``, usually GCC 7.4 on Bionic. On macOS, the default compiler is the Apple
``PATH``, usually GCC 7.5 on Bionic. On macOS, the default compiler is the Apple
LLVM compiler. To use Clang 6.0 on Ubuntu, set the ``CC`` and ``CXX``
environment variables before running **bazel build**, **bazel test**, or any
other **bazel** commands.
Expand Down
4 changes: 2 additions & 2 deletions doc/developers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Drake requires a compiler running in C++17 mode.
+==================================+=======+=======+=====================+===================+========+
+----------------------------------+-------+-------+---------------------+-------------------+--------+
| Ubuntu 18.04 LTS (Bionic Beaver) | 2.1 | 3.10 | | Clang 6.0 | OpenJDK 11 | 3.6 |
| | | | | GCC 7.4 (default) | | |
| | | | | GCC 7.5 (default) | | |
+----------------------------------+ +-------+---------------------+-------------------+--------+
| macOS Mojave (10.14) | | 3.16 | | Apple LLVM 11.0.0 | | AdoptOpenJDK 13 | 3.7 |
| | | | | (Xcode 11.3) | | (HotSpot JVM) | |
Expand Down Expand Up @@ -119,7 +119,7 @@ to :ref:`ask for help <getting_help>`.
Binary Packages
---------------

The binary releases of Drake are built with GCC 7.4 on Ubuntu Bionic, and Apple
The binary releases of Drake are built with GCC 7.5 on Ubuntu Bionic, and Apple
LLVM 11.0.0 on macOS Mojave.

The links for these packages are listed in :ref:`binary-installation`.
Expand Down
2 changes: 1 addition & 1 deletion doc/getting_help.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ When reporting an issue, please consider providing the following information
* Operating system (*Ubuntu 18.04, macOS Catalina*)
* Language (C++, :ref:`Python <python-bindings>`)

- C++ compiler (*GCC 7.4.0, Clang 6.0.0*)
- C++ compiler (*GCC 7.5.0, Clang 6.0.0*)
- Python version (*Python 3.6.7*)
- Python distribution (*apt, homebrew*)

Expand Down

0 comments on commit 2d48874

Please sign in to comment.