summary refs log tree commit diff
path: root/gnu/packages/patches/rocm-opencl-runtime-4.3-noclinfo.patch
blob: 5709e0d19aa21de29be22a34fdc10ff6e6da8744 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Do not build and install clinfo.

diff --git a/CMakeLists.txt.orig b/CMakeLists.txt
index 76847d3..3f62bfe 100644
--- a/CMakeLists.txt.orig
+++ b/CMakeLists.txt
@@ -72,7 +72,7 @@ find_package(ROCclr REQUIRED CONFIG
 
 add_subdirectory(khronos/icd)
 add_subdirectory(amdocl)
-add_subdirectory(tools/clinfo)
+#add_subdirectory(tools/clinfo)
 add_subdirectory(tools/cltrace)
 if(BUILD_TESTS)
   add_subdirectory(tests/ocltst)
@@ -108,9 +108,9 @@ endif()
 ###--- Packaging ------------------------------------------------------------###
 
 # MAIN package
-install(PROGRAMS $<TARGET_FILE:clinfo>
-        DESTINATION bin
-        COMPONENT MAIN)
+#install(PROGRAMS $<TARGET_FILE:clinfo>
+#        DESTINATION bin
+#        COMPONENT MAIN)
 install(PROGRAMS $<TARGET_FILE:cltrace>
         DESTINATION lib
         COMPONENT MAIN)