Files
gentoo/dev-libs/rocm-comgr/files/rocm-comgr-6.3.2-rocm_path.patch
2025-10-17 16:31:23 +02:00

15 lines
419 B
Diff

Index: comgr/src/comgr-env.cpp
===================================================================
--- comgr.orig/src/comgr-env.cpp
+++ comgr/src/comgr-env.cpp
@@ -269,6 +269,9 @@ InstallationDetector *getDetectorImpl()
if (EnvROCMPath) {
ROCmInstallPath = EnvROCMPath;
}
+ else {
+ ROCmInstallPath = "@GENTOO_PORTAGE_EPREFIX@/usr";
+ }
InstallationDetector *Detector;
if (ROCmInstallPath == "") {