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