Skip to content

Commit 5c45030

Browse files
committed
[tools] Default to C++23 on Noble
1 parent b98e459 commit 5c45030

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

doc/_pages/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Drake's pre-compiled binaries:
6060
| Operating System | C/C++ Compiler | Std |
6161
|------------------------------------|----------------------------|-------|
6262
| Ubuntu 22.04 LTS (Jammy Jellyfish) | GCC 11 | C++20 |
63-
| Ubuntu 24.04 LTS (Noble Numbat) | GCC 13 | C++20 |
63+
| Ubuntu 24.04 LTS (Noble Numbat) | GCC 13 | C++23 |
6464
| macOS Sonoma (14) | Apple LLVM 16 (Xcode 16.2) | C++20 |
6565
| macOS Sequoia (15) | Apple LLVM 17 (Xcode 16.4) | C++20 |
6666

tools/ubuntu-noble.bazelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Use C++23 on Noble.
2+
build --cxxopt=-std=c++23
3+
build --host_cxxopt=-std=c++23
4+
15
# Options for explicitly using Clang.
26
# Keep this in sync with doc/_pages/from_source.md.
37
common:clang --repo_env=CC=clang-19

0 commit comments

Comments
 (0)