diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
commit | e68d405c5d712af4387159df07e226217bdda049 (patch) | |
tree | 009ab0f3d427f0813e62930d71802cb054c07e30 /sys-devel/llvm-roc/files/llvm-roc-4.3.0-hip-location.patch | |
parent | 401101f9c8077911929d3f2b60a37098460a5d89 (diff) |
gentoo resync : 06.04.2022
Diffstat (limited to 'sys-devel/llvm-roc/files/llvm-roc-4.3.0-hip-location.patch')
-rw-r--r-- | sys-devel/llvm-roc/files/llvm-roc-4.3.0-hip-location.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys-devel/llvm-roc/files/llvm-roc-4.3.0-hip-location.patch b/sys-devel/llvm-roc/files/llvm-roc-4.3.0-hip-location.patch index 1fe93a33db36..f3d22b996915 100644 --- a/sys-devel/llvm-roc/files/llvm-roc-4.3.0-hip-location.patch +++ b/sys-devel/llvm-roc/files/llvm-roc-4.3.0-hip-location.patch @@ -143,6 +143,15 @@ Author: Yiyang Wu <xgreenlandforwyy@gmail.com> } RocmInstallationDetector::RocmInstallationDetector( +@@ -397,7 +272,7 @@ void RocmInstallationDetector::detectDev + // - ${ROCM_ROOT}/lib/bitcode/* + // so try to detect these layouts. + static constexpr std::array<const char *, 2> SubDirsList[] = { +- {"amdgcn", "bitcode"}, ++ {"lib/amdgcn", "bitcode"}, + {"lib", ""}, + {"lib", "bitcode"}, + }; @@ -423,42 +298,7 @@ void RocmInstallationDetector::detectDev } |