From 205692ab1a31438206f03ba5508c0587a2609e68 Mon Sep 17 00:00:00 2001 From: Graham Sider Date: Tue, 23 Aug 2022 16:05:36 -0400 Subject: [PATCH] kfdtest: Bump C++ compiler to gnu++17 Required due to LLVM retirement of llvm::apply_tuple, instead using std::apply which was introduced in C++17. Signed-off-by: Graham Sider Change-Id: I6646ebcca7d71d3e1bcf340ccfa3db2c15a3110a [ROCm/ROCR-Runtime commit: 4267c4b52470748c4cfcda6d5c5526df4588fca5] --- projects/rocr-runtime/tests/kfdtest/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocr-runtime/tests/kfdtest/CMakeLists.txt b/projects/rocr-runtime/tests/kfdtest/CMakeLists.txt index 5c5db26940..8976a584c1 100644 --- a/projects/rocr-runtime/tests/kfdtest/CMakeLists.txt +++ b/projects/rocr-runtime/tests/kfdtest/CMakeLists.txt @@ -203,7 +203,7 @@ message( STATUS "PROJECT_SOURCE_DIR:" ${PROJECT_SOURCE_DIR} ) if ( "${CMAKE_C_COMPILER_VERSION}" STRGREATER "4.8.0") ## Add --enable-new-dtags to generate DT_RUNPATH -set ( CMAKE_CXX_FLAGS "-std=gnu++14 -Wl,--enable-new-dtags" ) +set ( CMAKE_CXX_FLAGS "-std=gnu++17 -Wl,--enable-new-dtags" ) endif() if ( "${CMAKE_BUILD_TYPE}" STREQUAL Release ) set ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2" )