summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilfried Holzke <gentoo@holzke.net>2020-08-22 19:33:39 +0200
committerCraig Andrews <candrews@gentoo.org>2020-08-22 13:28:50 -0400
commitaf83e96004ec26d0645f45e823123b8233db24ea (patch)
tree3a71d9f01084d13ac930d3aeee3a88604aa9ee4e /dev-libs/rocm-device-libs/rocm-device-libs-3.7.0.ebuild
parentmedia-gfx/gimp: Drop 2.10.20 (r0) (diff)
downloadgentoo-af83e96004ec26d0645f45e823123b8233db24ea.tar.gz
gentoo-af83e96004ec26d0645f45e823123b8233db24ea.tar.bz2
gentoo-af83e96004ec26d0645f45e823123b8233db24ea.zip
dev-libs/rocm-device-libs: Version bump to 3.7.0
Signed-off-by: Wilfried Holzke <gentoo@holzke.net> Package-Manager: Portage-2.3.103, Repoman-2.3.23 Closes: https://github.com/gentoo/gentoo/pull/17212 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'dev-libs/rocm-device-libs/rocm-device-libs-3.7.0.ebuild')
-rw-r--r--dev-libs/rocm-device-libs/rocm-device-libs-3.7.0.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-libs/rocm-device-libs/rocm-device-libs-3.7.0.ebuild b/dev-libs/rocm-device-libs/rocm-device-libs-3.7.0.ebuild
new file mode 100644
index 00000000000..23acf7bb488
--- /dev/null
+++ b/dev-libs/rocm-device-libs/rocm-device-libs-3.7.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
+}