summaryrefslogtreecommitdiffstats
path: root/amd/packages/patches/hip-headers-5.6.1.patch
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2025-06-19 19:25:22 -0500
committermsglm <msglm@techchud.xyz>2025-06-19 19:25:22 -0500
commitd6119d8f49be6149c176f3de34a9e65cd7a20064 (patch)
treefb397b181178a713009c27dede3783cb7b56b779 /amd/packages/patches/hip-headers-5.6.1.patch
parentedb38a355aebe1786447bacdfd5b3550aee5f91e (diff)
downloadguix-msglm-master.tar.gz
guix-msglm-master.tar.bz2
guix-msglm-master.zip
import guix-hpc amd modules and add gfx1100 supportHEADmaster
Diffstat (limited to 'amd/packages/patches/hip-headers-5.6.1.patch')
-rw-r--r--amd/packages/patches/hip-headers-5.6.1.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/amd/packages/patches/hip-headers-5.6.1.patch b/amd/packages/patches/hip-headers-5.6.1.patch
new file mode 100644
index 0000000..ce7dc2d
--- /dev/null
+++ b/amd/packages/patches/hip-headers-5.6.1.patch
@@ -0,0 +1,15 @@
+FindHIP: Improved search logic for HIP_ROOT_DIR
+diff --git a/cmake/FindHIP.cmake b/cmake/FindHIP.cmake
+index 24e475d3..43f4ce28 100644
+--- a/cmake/FindHIP.cmake
++++ b/cmake/FindHIP.cmake
+@@ -89,6 +89,9 @@ if(NOT APPLE)
+ DOC "HIP installed location"
+ NO_DEFAULT_PATH
+ )
++ if(NOT HIP_ROOT_DIR)
++ find_path(HIP_ROOT_DIR NAMES bin/hipconfig)
++ endif()
+ if(NOT EXISTS ${HIP_ROOT_DIR})
+ if(HIP_FIND_REQUIRED)
+ message(FATAL_ERROR "Specify HIP_ROOT_DIR")