summaryrefslogtreecommitdiffstats
path: root/amd/packages/patches/rocprof-register-6.2.0.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/rocprof-register-6.2.0.patch
parentedb38a355aebe1786447bacdfd5b3550aee5f91e (diff)
downloadguix-msglm-d6119d8f49be6149c176f3de34a9e65cd7a20064.tar.gz
guix-msglm-d6119d8f49be6149c176f3de34a9e65cd7a20064.tar.bz2
guix-msglm-d6119d8f49be6149c176f3de34a9e65cd7a20064.zip
import guix-hpc amd modules and add gfx1100 supportHEADmaster
Diffstat (limited to 'amd/packages/patches/rocprof-register-6.2.0.patch')
-rw-r--r--amd/packages/patches/rocprof-register-6.2.0.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/amd/packages/patches/rocprof-register-6.2.0.patch b/amd/packages/patches/rocprof-register-6.2.0.patch
new file mode 100644
index 0000000..edcd47f
--- /dev/null
+++ b/amd/packages/patches/rocprof-register-6.2.0.patch
@@ -0,0 +1,26 @@
+Do not let CMake attempt to build fmt and glog; let CMake find it instead
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 30d1308..7572226 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -113,6 +113,6 @@ if(ROCPROFILER_REGISTER_BUILD_SAMPLES)
+ add_subdirectory(samples)
+ endif()
+
+-include(rocprofiler_register_config_packaging)
++#include(rocprofiler_register_config_packaging)
+
+ rocprofiler_register_print_features()
+diff --git a/source/lib/rocprofiler-register/CMakeLists.txt b/source/lib/rocprofiler-register/CMakeLists.txt
+index 840fbed..2cdca02 100644
+--- a/source/lib/rocprofiler-register/CMakeLists.txt
++++ b/source/lib/rocprofiler-register/CMakeLists.txt
+@@ -17,6 +17,8 @@ target_include_directories(
+ rocprofiler-register PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${PROJECT_SOURCE_DIR}/source
+ ${PROJECT_BINARY_DIR}/source)
+
++find_package(fmt REQUIRED)
++find_package(glog REQUIRED)
+ target_link_libraries(
+ rocprofiler-register
+ PUBLIC rocprofiler-register::headers