Warning, /acts/Traccc/extern/rocThrust/rocm-7.2.0.patch is written in an unsupported language. File is not indexed.
0001 diff -ur rocThrust-rocm-7.2.0-orig/CMakeLists.txt rocThrust-rocm-7.2.0-fixed/CMakeLists.txt
0002 --- rocThrust-rocm-7.2.0-orig/CMakeLists.txt 2025-12-13 03:42:50.000000000 +0100
0003 +++ rocThrust-rocm-7.2.0-fixed/CMakeLists.txt 2026-08-10 16:07:59.498606160 +0200
0004 @@ -35,12 +35,6 @@
0005 set(CMAKE_CXX_STANDARD_REQUIRED ON)
0006 set(CMAKE_CXX_EXTENSIONS OFF)
0007
0008 -if (CMAKE_CXX_STANDARD EQUAL 14)
0009 - message(WARNING "C++14 will be deprecated in the next major release")
0010 -elseif(NOT CMAKE_CXX_STANDARD EQUAL 17)
0011 - message(FATAL_ERROR "Only C++14 and C++17 are supported")
0012 -endif()
0013 -
0014 # Set HIP flags
0015 set(CMAKE_HIP_STANDARD 17)
0016 set(CMAKE_HIP_STANDARD_REQUIRED ON)
0017 @@ -196,10 +190,6 @@
0018 list(APPEND COMPILE_OPTIONS -Werror)
0019 endif()
0020
0021 -if(NOT CMAKE_CXX_STANDARD EQUAL 17)
0022 - message(FATAL_ERROR "Only C++17 is supported")
0023 -endif()
0024 -
0025 if (WIN32)
0026 add_compile_options(-xhip)
0027 add_compile_definitions(THRUST_IGNORE_DEPRECATED_CPP_DIALECT)