diff --git a/.circleci/config.yml b/.circleci/config.yml index ae88af07418..dacc635abbb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -71,7 +71,7 @@ workflows: matrix: parameters: compiler: ["clang++-17", "g++-13"] - standard: ["20", "17"] + standard: ["23", "20"] mode: ["dev", "debug", "release"] # only build this combination with dpdk enabled, so we don't double # the size of the test matrix, and can at least test the build with @@ -80,7 +80,7 @@ workflows: matrix: parameters: compiler: ["clang++-17"] - standard: ["20"] + standard: ["23"] mode: ["release"] with_dpdk: [ "enable-dpdk" ] # only build this combination with C++20 moduels enabled, so we don't double @@ -90,6 +90,6 @@ workflows: matrix: parameters: compiler: ["clang++-17"] - standard: ["20"] + standard: ["23"] mode: ["debug"] with_modules: [ "enable-modules" ] diff --git a/CMakeLists.txt b/CMakeLists.txt index 785c3a6ff3d..0cec62ccba9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -141,7 +141,7 @@ set (CMAKE_CXX_FLAGS_SANITIZE FORCE) set (CMAKE_CXX_STANDARD - "20" + "23" CACHE STRING "C++ standard to build with.") diff --git a/configure.py b/configure.py index 85eed5f663a..3e67bcb7232 100755 --- a/configure.py +++ b/configure.py @@ -159,7 +159,7 @@ def identify_best_standard(cpp_standards, compiler): if args.cpp_standard == '': - cpp_standards = ['23', '20', '17'] + cpp_standards = ['23', '20'] args.cpp_standard = identify_best_standard(cpp_standards, compiler=args.cxx)