summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSv. Lockal <lockalsash@gmail.com>2024-05-19 19:32:04 +0000
committerSam James <sam@gentoo.org>2024-06-26 10:19:03 +0100
commitf2459b58fa96a325ac36743fa4fb4efb8a21f435 (patch)
treeea67cf4967d569da3dee388255c1394b895dabf8 /dev-util
parentdev-libs/rocm-comgr: include and call external hipcc to fix tests (diff)
downloadgentoo-f2459b58fa96a325ac36743fa4fb4efb8a21f435.tar.gz
gentoo-f2459b58fa96a325ac36743fa4fb4efb8a21f435.tar.bz2
gentoo-f2459b58fa96a325ac36743fa4fb4efb8a21f435.zip
dev-util/roctracer: support LLVM 18 and llvm-r1.eclass
Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/roctracer/roctracer-6.1.1.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/dev-util/roctracer/roctracer-6.1.1.ebuild b/dev-util/roctracer/roctracer-6.1.1.ebuild
index 69473b45deef..d277b5c5a526 100644
--- a/dev-util/roctracer/roctracer-6.1.1.ebuild
+++ b/dev-util/roctracer/roctracer-6.1.1.ebuild
@@ -4,10 +4,10 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
-LLVM_MAX_SLOT=17
+LLVM_COMPAT=( 18 )
ROCM_VERSION=${PV}
-inherit cmake prefix python-any-r1 rocm llvm
+inherit cmake prefix python-any-r1 rocm llvm-r1
DESCRIPTION="Callback/Activity Library for Performance tracing AMD GPU's"
HOMEPAGE="https://github.com/ROCm/roctracer"
@@ -63,9 +63,8 @@ src_configure() {
-DWITH_TESTS=$(usex test)
)
use test && mycmakeargs+=(
- -DCMAKE_FIND_DEBUG_MODE=ON
-DHIP_ROOT_DIR="${EPREFIX}/usr"
- -DHIP_CLANG_INSTALL_DIR="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin"
+ -DHIP_CLANG_INSTALL_DIR="$(get_llvm_prefix)/bin"
-DGPU_TARGETS="$(get_amdgpu_flags)"
)