summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2020-08-22 13:28:03 -0400
committerCraig Andrews <candrews@gentoo.org>2020-08-22 13:28:51 -0400
commit6cc5a25129ae4283182a02f94a5c6e43e8469d07 (patch)
treed9971a6bba0d9cd2bf6c7d4623f58f60ce0f9d48
parentdev-libs/rocclr: Added "${EPREFIX}" (diff)
downloadgentoo-6cc5a25129ae4283182a02f94a5c6e43e8469d07.tar.gz
gentoo-6cc5a25129ae4283182a02f94a5c6e43e8469d07.tar.bz2
gentoo-6cc5a25129ae4283182a02f94a5c6e43e8469d07.zip
dev-libs/rocclr: Cleanup old version
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Craig Andrews <candrews@gentoo.org>
-rw-r--r--dev-libs/rocclr/rocclr-3.5.0.ebuild46
1 files changed, 0 insertions, 46 deletions
diff --git a/dev-libs/rocclr/rocclr-3.5.0.ebuild b/dev-libs/rocclr/rocclr-3.5.0.ebuild
deleted file mode 100644
index 0d721623e54e..000000000000
--- a/dev-libs/rocclr/rocclr-3.5.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="Radeon Open Compute Common Language Runtime"
-HOMEPAGE="https://github.com/ROCm-Developer-Tools/ROCclr"
-SRC_URI="https://github.com/ROCm-Developer-Tools/ROCclr/archive/roc-${PV}.tar.gz -> ${P}.tar.gz
- https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/archive/roc-${PV}.tar.gz -> rocm-opencl-runtime-${PV}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~amd64"
-
-RDEPEND=">=dev-libs/rocm-comgr-${PV}"
-DEPEND="${RDEPEND}
- >=dev-libs/rocm-comgr-${PV}
- virtual/opengl
- >=dev-util/rocm-cmake-${PV}"
-
-PATCHES=(
- "${FILESDIR}/rocclr-3.5.0-cmake-install-destination.patch"
- "${FILESDIR}/rocclr-3.5.0-find-opencl.patch"
-)
-
-S="${WORKDIR}/ROCclr-roc-${PV}"
-
-src_configure() {
- local mycmakeargs=(
- -DUSE_COMGR_LIBRARY=YES
- -DOPENCL_DIR="${WORKDIR}/ROCm-OpenCL-Runtime-roc-${PV}"
- -DCMAKE_INSTALL_PREFIX="/usr"
- )
- cmake_src_configure
-}
-
-src_install() {
- # This should be fixed in the CMakeLists.txt to get this installed automatically
- sed -e "s:${BUILD_DIR}:/usr/$(get_libdir):" -i "${BUILD_DIR}/amdrocclr_staticTargets.cmake"
- insinto /usr/$(get_libdir)/cmake/rocclr
- doins "${BUILD_DIR}/amdrocclr_staticTargets.cmake"
-
- cmake_src_install
-}