summaryrefslogtreecommitdiffstats
path: root/amd/packages/patches/hip-headers-5.6.1.patch
diff options
context:
space:
mode:
authortechchud <protrude_paying969@simplelogin.com>2025-08-17 19:24:07 -0500
committertechchud <protrude_paying969@simplelogin.com>2025-08-17 19:24:07 -0500
commitb2d86632ac6abf4ee7ed05c27cc18989e5d27915 (patch)
treefb397b181178a713009c27dede3783cb7b56b779 /amd/packages/patches/hip-headers-5.6.1.patch
parent77d9ffffe9a59ad4decdaf2fadb1778e866d36f0 (diff)
downloadguix-techchud-b2d86632ac6abf4ee7ed05c27cc18989e5d27915.tar.gz
guix-techchud-b2d86632ac6abf4ee7ed05c27cc18989e5d27915.tar.bz2
guix-techchud-b2d86632ac6abf4ee7ed05c27cc18989e5d27915.zip
import guix-hpc amd modules and add gfx1100 support
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")