diff options
Diffstat (limited to 'sys-devel/llvm-roc')
-rw-r--r-- | sys-devel/llvm-roc/files/llvm-roc-4.5.0-hip-location.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-devel/llvm-roc/files/llvm-roc-4.5.0-hip-location.patch b/sys-devel/llvm-roc/files/llvm-roc-4.5.0-hip-location.patch index 4092255..b4dd267 100644 --- a/sys-devel/llvm-roc/files/llvm-roc-4.5.0-hip-location.patch +++ b/sys-devel/llvm-roc/files/llvm-roc-4.5.0-hip-location.patch @@ -77,7 +77,8 @@ Author: Yiyang Wu <xgreenlandforwyy@gmail.com> - // Some versions of the aomp package install to /opt/rocm/aomp/bin - if (ParentName == "llvm" || ParentName.startswith("aomp")) - ParentDir = llvm::sys::path::parent_path(ParentDir); -- +- // Some versions of the aomp package install to /opt/rocm/aomp/bin +- // and it seems ParentDir is already pointing to correct place. - return Candidate(ParentDir.str(), /*StrictChecking=*/true); - }; - |