mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
Fixes: eec258ed05
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44218
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
15 lines
419 B
Diff
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 == "") {
|