File: 0012-do-not-install-hipcc.patch

package info (click to toggle)
rocm-hipamd 6.4.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,040 kB
  • sloc: cpp: 211,057; ansic: 35,860; sh: 755; python: 623; perl: 275; asm: 166; makefile: 27
file content (36 lines) | stat: -rw-r--r-- 1,272 bytes parent folder | download
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
29
30
31
32
33
34
35
36
From: Xuanteng Huang <xuanteng.huang@outlook.com>
Date: Sun, 24 Nov 2024 23:35:35 +0800
Subject: do not install hipcc
Description: hipcc is now shipped by the rocm-llvm src package,
so we should not install these files here.

Forwarded: not-needed
---
 hipamd/CMakeLists.txt | 9 ---------
 1 file changed, 9 deletions(-)

--- a/hipamd/CMakeLists.txt
+++ b/hipamd/CMakeLists.txt
@@ -410,22 +410,6 @@
 install(FILES ${PROJECT_BINARY_DIR}/include/hip/hip_version.h
         DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/hip)
 
-if (NOT ${HIPCC_BIN_DIR} STREQUAL "")
-  file(TO_CMAKE_PATH "${HIPCC_BIN_DIR}" HIPCC_BIN_DIR)
-  if(EXISTS ${HIPCC_BIN_DIR})
-    install(PROGRAMS ${HIPCC_BIN_DIR}/${HIPCC_EXECUTABLE} DESTINATION bin)
-    install(PROGRAMS ${HIPCC_BIN_DIR}/${HIPCONFIG_EXECUTABLE} DESTINATION bin)
-    install(PROGRAMS ${HIPCC_BIN_DIR}/hipcc.pl DESTINATION bin)
-    install(PROGRAMS ${HIPCC_BIN_DIR}/hipconfig.pl DESTINATION bin)
-    install(PROGRAMS ${HIPCC_BIN_DIR}/hipvars.pm DESTINATION bin)
-
-    if(NOT UNIX)
-      install(PROGRAMS ${HIPCC_BIN_DIR}/hipcc.bat DESTINATION bin)
-      install(PROGRAMS ${HIPCC_BIN_DIR}/hipconfig.bat DESTINATION bin)
-    endif()
-  endif()
-endif()
-
 #############################
 # hip-config
 #############################