diff options
author | Mark de Wever <koraq@xs4all.nl> | 2021-09-23 12:15:02 -0400 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2021-09-24 11:38:26 -0400 |
commit | f881776175e97f7667ad2d32cfea0ba6f4254181 (patch) | |
tree | 8ec5c8744f8f22f6bd4d1442070810b883cddc07 /libcxx/benchmarks | |
parent | 09e71c367af36a07cce04a812dcd9c62bebfbcdf (diff) | |
download | llvm-f881776175e97f7667ad2d32cfea0ba6f4254181.tar.gz |
[libc++] Require a C++20 capable compiler.
This enforces libcxx and its benchmarks are compiled by a C++20 capable
compiler. Based on review comments in D103413.
Differential Revision: https://reviews.llvm.org/D110338
Diffstat (limited to 'libcxx/benchmarks')
-rw-r--r-- | libcxx/benchmarks/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/benchmarks/CMakeLists.txt b/libcxx/benchmarks/CMakeLists.txt index 8d83ecdfc9b9..cad880858a78 100644 --- a/libcxx/benchmarks/CMakeLists.txt +++ b/libcxx/benchmarks/CMakeLists.txt @@ -81,7 +81,7 @@ set(BENCHMARK_LIBCXX_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/benchmark-libcxx) set(BENCHMARK_NATIVE_INSTALL ${CMAKE_CURRENT_BINARY_DIR}/benchmark-native) add_library( cxx-benchmarks-flags INTERFACE) -target_compile_features( cxx-benchmarks-flags INTERFACE cxx_std_17) +target_compile_features( cxx-benchmarks-flags INTERFACE cxx_std_20) target_compile_options( cxx-benchmarks-flags INTERFACE -O2 -fsized-deallocation) target_include_directories(cxx-benchmarks-flags INTERFACE "${BENCHMARK_LIBCXX_INSTALL}/include" INTERFACE "${LIBCXX_SOURCE_DIR}/test/support") |