Warning, /acts/Traccc/extern/rocThrust/rocm-6.1.1.patch is written in an unsupported language. File is not indexed.
0001 diff -ur rocThrust-rocm-6.1.1-orig/cmake/Dependencies.cmake rocThrust-rocm-6.1.1-fixed/cmake/Dependencies.cmake
0002 --- rocThrust-rocm-6.1.1-orig/cmake/Dependencies.cmake 2024-02-07 00:12:37.000000000 +0100
0003 +++ rocThrust-rocm-6.1.1-fixed/cmake/Dependencies.cmake 2024-05-17 09:33:52.423910609 +0200
0004 @@ -23,7 +23,7 @@
0005 GIT_REPOSITORY https://github.com/ROCmSoftwarePlatform/rocPRIM.git
0006 GIT_TAG develop
0007 INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/deps/rocprim
0008 - CMAKE_ARGS -DBUILD_TEST=OFF -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR> -DCMAKE_PREFIX_PATH=/opt/rocm
0009 + CMAKE_ARGS -DBUILD_TEST=OFF -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR> -DCMAKE_PREFIX_PATH=/opt/rocm -DHIP_COMPILER=${HIP_COMPILER} -DHIP_CXX_COMPILER=${HIP_CXX_COMPILER}
0010 LOG_DOWNLOAD TRUE
0011 LOG_CONFIGURE TRUE
0012 LOG_BUILD TRUE
0013 diff -ur rocThrust-rocm-6.1.1-orig/CMakeLists.txt rocThrust-rocm-6.1.1-fixed/CMakeLists.txt
0014 --- rocThrust-rocm-6.1.1-orig/CMakeLists.txt 2024-02-07 00:12:37.000000000 +0100
0015 +++ rocThrust-rocm-6.1.1-fixed/CMakeLists.txt 2024-05-16 16:52:07.600882025 +0200
0016 @@ -63,10 +63,6 @@
0017 # Get dependencies
0018 include(cmake/Dependencies.cmake)
0019
0020 -# Verify that supported compilers are used
0021 -if (NOT WIN32)
0022 - include(cmake/VerifyCompiler.cmake)
0023 -endif()
0024 # Build options
0025 # Disable -Werror
0026 option(DISABLE_WERROR "Disable building with Werror" ON)
0027 diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake
0028 index 218f6122..6394bfec 100644
0029 --- a/cmake/Dependencies.cmake
0030 +++ b/cmake/Dependencies.cmake
0031 @@ -21,7 +21,7 @@ if(NOT rocprim_FOUND)
0032 download_project(
0033 PROJ rocprim
0034 GIT_REPOSITORY https://github.com/ROCmSoftwarePlatform/rocPRIM.git
0035 - GIT_TAG develop
0036 + GIT_TAG rocm-6.1.1
0037 INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/deps/rocprim
0038 CMAKE_ARGS -DBUILD_TEST=OFF -DCMAKE_INSTALL_PREFIX=<INSTALL_DIR> -DCMAKE_PREFIX_PATH=/opt/rocm
0039 LOG_DOWNLOAD TRUE