summaryrefslogtreecommitdiff
path: root/sci-libs/rocThrust/files/rocThrust-6.4.1-no-tests-install.patch
blob: f94ab3ca473dad9be8699cd683af99f234ae080e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Disable installation of test files.
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -106,7 +106,6 @@ function(add_rocthrust_test TEST)
                 LABELS "hip"
         )
     endif()
-    rocm_install(TARGETS ${TEST_TARGET} COMPONENT tests)
     if (WIN32 AND NOT DEFINED DLLS_COPIED)
       set(DLLS_COPIED "YES")
       set(DLLS_COPIED ${DLLS_COPIED} PARENT_SCOPE)
@@ -266,10 +265,3 @@ if(BUILD_HIPSTDPAR_TEST)
         endif()
     endif()
 endif()
-
-rocm_install(
-    FILES "${INSTALL_TEST_FILE}"
-    DESTINATION "${CMAKE_INSTALL_BINDIR}/${PROJECT_NAME}"
-    COMPONENT tests
-    RENAME "CTestTestfile.cmake"
-)