diff options
author | Craig Andrews <candrews@gentoo.org> | 2020-09-18 16:29:12 -0400 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2020-09-18 16:31:16 -0400 |
commit | 5aafa783b41b6bf277b3368a5c51f41be2091d0c (patch) | |
tree | cc6dc6718e5f27ceeb21fffa0b151656b344075f /dev-libs/rocm-device-libs/rocm-device-libs-3.8.0.ebuild | |
parent | sys-devel/llvm-roc: 3.8.0 version bump (diff) | |
download | gentoo-5aafa783b41b6bf277b3368a5c51f41be2091d0c.tar.gz gentoo-5aafa783b41b6bf277b3368a5c51f41be2091d0c.tar.bz2 gentoo-5aafa783b41b6bf277b3368a5c51f41be2091d0c.zip |
dev-libs/rocm-device-libs: 3.8.0 version bump
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'dev-libs/rocm-device-libs/rocm-device-libs-3.8.0.ebuild')
-rw-r--r-- | dev-libs/rocm-device-libs/rocm-device-libs-3.8.0.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-libs/rocm-device-libs/rocm-device-libs-3.8.0.ebuild b/dev-libs/rocm-device-libs/rocm-device-libs-3.8.0.ebuild new file mode 100644 index 000000000000..23acf7bb488f --- /dev/null +++ b/dev-libs/rocm-device-libs/rocm-device-libs-3.8.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCm-Device-Libs/" + inherit git-r3 + S="${WORKDIR}/${P}/src" +else + SRC_URI="https://github.com/RadeonOpenCompute/ROCm-Device-Libs/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/ROCm-Device-Libs-rocm-${PV}" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Radeon Open Compute Device Libraries" +HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-Device-Libs" + +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" + +RDEPEND=">=sys-devel/llvm-roc-${PV}:=" +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + -DLLVM_DIR="${EPREFIX}/usr/lib/llvm/roc/lib/cmake/llvm" + ) + cmake_src_configure +} |