summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/rocm-comgr/rocm-comgr-6.1.1.ebuild')
-rw-r--r--dev-libs/rocm-comgr/rocm-comgr-6.1.1.ebuild29
1 files changed, 10 insertions, 19 deletions
diff --git a/dev-libs/rocm-comgr/rocm-comgr-6.1.1.ebuild b/dev-libs/rocm-comgr/rocm-comgr-6.1.1.ebuild
index b52f76a962ea..a2492992ceed 100644
--- a/dev-libs/rocm-comgr/rocm-comgr-6.1.1.ebuild
+++ b/dev-libs/rocm-comgr/rocm-comgr-6.1.1.ebuild
@@ -10,15 +10,14 @@ inherit cmake llvm-r1 prefix
MY_P=llvm-project-rocm-${PV}
components=( "amd/comgr" )
-if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/ROCm/llvm-project"
- inherit git-r3
- S="${WORKDIR}/${P}/${components[0]}"
-else
- SRC_URI="https://github.com/ROCm/llvm-project/archive/rocm-${PV}.tar.gz -> ${MY_P}.tar.gz"
- S="${WORKDIR}/${MY_P}/${components[0]}"
- KEYWORDS="~amd64"
-fi
+DESCRIPTION="Radeon Open Compute Code Object Manager"
+HOMEPAGE="https://github.com/ROCm/ROCm-CompilerSupport"
+SRC_URI="https://github.com/ROCm/llvm-project/archive/rocm-${PV}.tar.gz -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}/${components[0]}"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"
@@ -28,27 +27,19 @@ PATCHES=(
"${FILESDIR}/0001-Find-CLANG_RESOURCE_DIR-using-clang-print-resource-d.patch"
"${FILESDIR}/${PN}-5.7.1-correct-license-install-dir.patch"
"${FILESDIR}/${PN}-6.0.0-extend-isa-compatibility-check.patch"
- "${FILESDIR}/${PN}-6.0.0-llvm-18-compat.patch"
+ "${FILESDIR}/${PN}-6.1.0-llvm-18-compat.patch"
"${FILESDIR}/${PN}-6.1.0-enforce-oop-compiler.patch"
"${FILESDIR}/${PN}-6.1.0-fix-comgr-default-flags.patch"
- "${FILESDIR}/${PN}-6.1.0-clang18-option-use-visibility.patch"
- "${FILESDIR}/${PN}-6.1.0-clang18-code-object-v5.patch"
- "${FILESDIR}/${PN}-6.1.0-clang18-log_remarks_test.patch"
"${FILESDIR}/${PN}-6.1.0-dont-add-nogpulib.patch"
)
-DESCRIPTION="Radeon Open Compute Code Object Manager"
-HOMEPAGE="https://github.com/ROCm/ROCm-CompilerSupport"
-LICENSE="MIT"
-SLOT="0/$(ver_cut 1-2)"
-
RDEPEND=">=dev-libs/rocm-device-libs-${PV}
sys-devel/clang-runtime:=
$(llvm_gen_dep '
sys-devel/clang:${LLVM_SLOT}=
sys-devel/lld:${LLVM_SLOT}=
')
- dev-util/hipcc
+ dev-util/hipcc:${SLOT}
"
DEPEND="${RDEPEND}"