dev-libs/rocm-device-libs: 2.7.0 version bump
authorCraig Andrews <candrews@gentoo.org>
Wed, 14 Aug 2019 00:54:45 +0000 (20:54 -0400)
committerCraig Andrews <candrews@gentoo.org>
Wed, 14 Aug 2019 20:54:36 +0000 (16:54 -0400)
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Craig Andrews <candrews@gentoo.org>
dev-libs/rocm-device-libs/Manifest
dev-libs/rocm-device-libs/rocm-device-libs-2.7.0.ebuild [new file with mode: 0644]

index cc781e9e0e8dbe7fff5c1fe1766b57d26454dd0a..facc647c5e1c6c574074e5616d71bef8195fcefa 100644 (file)
@@ -1 +1,2 @@
 DIST rocm-device-libs-2.6.0.tar.gz 221981 BLAKE2B 6350fafb31453daf015886bc2d3d2ba59b805fafdf12372fcad8f328c9e7c74d4e54093817b07961d7be77b990780038f7a7b91d5ab63650a92bf107e0be4a40 SHA512 4262c956ea8c212c2707acf74ee27f609a6faee1bee7c3fd436b2a4adbedf1b072b611e6143cc315bd4e9d1e306d874aa0f4629cff9301bd28be65fd16867180
+DIST rocm-device-libs-2.7.0.tar.gz 226395 BLAKE2B 85c5b7ebfca1570d9653428d4aa7052f784443c774b224b563471638caac01f9d800d0bb5d52dace2b54a447cfc00c0f39ed87ab1612f1e382fbba10c5e30e80 SHA512 2277ff4037b25d32b473b3b046708b2ce4aeb28c1df7ed4ce51893c204e5409c931083b3ecc38c6796581c1233e0d25dd0f0c5710961be8d1d60118e9a1de88a
diff --git a/dev-libs/rocm-device-libs/rocm-device-libs-2.7.0.ebuild b/dev-libs/rocm-device-libs/rocm-device-libs-2.7.0.ebuild
new file mode 100644 (file)
index 0000000..e0264de
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+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/roc-ocl-${PV}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}/ROCm-Device-Libs-roc-ocl-${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=">=dev-libs/rocr-runtime-${PV}
+       >=sys-devel/llvm-roc-${PV}:="
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DLLVM_DIR="${EPREFIX}/usr/lib/llvm/roc/"
+               -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/"
+       )
+       cmake-utils_src_configure
+}