Skip to content

Commit 28c703e

Browse files
authored
Add C++23 to GCC 12+ compile matrix (#1485)
1 parent cbb70da commit 28c703e

File tree

2 files changed

+40
-2
lines changed

2 files changed

+40
-2
lines changed

.evergreen/config_generator/components/compile_only.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
('rhel92', 'gcc', [11, 17, 20, 23]), # GCC 11.3 (max: C++23)
3434
('rhel94', 'gcc', [11, 17, 20, 23]), # GCC 11.4 (max: C++23)
3535
('rhel95', 'gcc', [11, 17, 20, 23]), # GCC 11.5 (max: C++23)
36-
('debian12-latest', 'gcc', [11, 17, 20, ]), # GCC 12.2 (max: C++23)
37-
('ubuntu2404', 'gcc-13', [11, 17, 20, ]), # GCC 13.3 (max: C++23)
36+
('debian12-latest', 'gcc', [11, 17, 20, 23]), # GCC 12.2 (max: C++23)
37+
('ubuntu2404', 'gcc-13', [11, 17, 20, 23]), # GCC 13.3 (max: C++23)
3838

3939
('windows-vsCurrent', 'vs2015x64', [11, 14, 'latest']), # Max: C++14
4040
('windows-vsCurrent', 'vs2017x64', [11, 14, 17, 20, 'latest']), # Max: C++20

.evergreen/generated_configs/tasks.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,25 @@ tasks:
337337
build_type: Debug
338338
cc_compiler: gcc
339339
cxx_compiler: g++
340+
- name: compile-only-debian12-latest-gcc-cxx23-debug
341+
run_on: debian12-latest-large
342+
tags: [compile-only, debian12-latest, cxx23, gcc, debug]
343+
commands:
344+
- command: expansions.update
345+
params:
346+
updates:
347+
- { key: build_type, value: Debug }
348+
- { key: cc_compiler, value: gcc }
349+
- { key: cxx_compiler, value: g++ }
350+
- func: setup
351+
- func: install_c_driver
352+
- func: compile
353+
vars:
354+
BUILD_SHARED_AND_STATIC_LIBS: "ON"
355+
REQUIRED_CXX_STANDARD: 23
356+
build_type: Debug
357+
cc_compiler: gcc
358+
cxx_compiler: g++
340359
- name: compile-only-macos-14-arm64-cxx11-debug
341360
run_on: macos-14-arm64
342361
tags: [compile-only, macos-14-arm64, cxx11, debug]
@@ -1774,6 +1793,25 @@ tasks:
17741793
build_type: Debug
17751794
cc_compiler: gcc-13
17761795
cxx_compiler: g++-13
1796+
- name: compile-only-ubuntu2404-gcc-13-cxx23-debug
1797+
run_on: ubuntu2404-large
1798+
tags: [compile-only, ubuntu2404, cxx23, gcc-13, debug]
1799+
commands:
1800+
- command: expansions.update
1801+
params:
1802+
updates:
1803+
- { key: build_type, value: Debug }
1804+
- { key: cc_compiler, value: gcc-13 }
1805+
- { key: cxx_compiler, value: g++-13 }
1806+
- func: setup
1807+
- func: install_c_driver
1808+
- func: compile
1809+
vars:
1810+
BUILD_SHARED_AND_STATIC_LIBS: "ON"
1811+
REQUIRED_CXX_STANDARD: 23
1812+
build_type: Debug
1813+
cc_compiler: gcc-13
1814+
cxx_compiler: g++-13
17771815
- name: compile-only-windows-2019-vs2015-x64-cxx11-debug
17781816
run_on: windows-vsCurrent-large
17791817
tags: [compile-only, windows-vsCurrent, cxx11, vs2015x64, debug]

0 commit comments

Comments
 (0)