From 55e015d59d037dd702af20bf4723b20d83eca880 Mon Sep 17 00:00:00 2001 From: Julien Roy Date: Sat, 8 Jan 2022 18:45:04 -0500 Subject: Attempt #2 to fix hip-location patch --- sys-devel/llvm-roc/files/llvm-roc-4.5.0-hip-location.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys-devel/llvm-roc/files/llvm-roc-4.5.0-hip-location.patch') 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 - // 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); - }; - -- cgit v1.2.3