1 |
commit: d131f25ec9ee02f3b9f223b2018ed7cbf6937589 |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 15 20:19:29 2019 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 15 20:19:29 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d131f25e |
7 |
|
8 |
dev-libs/rocm-opencl-runtime: Cleanup old version |
9 |
|
10 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
11 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
12 |
|
13 |
.../rocm-opencl-runtime-2.6.0.ebuild | 50 ---------------------- |
14 |
1 file changed, 50 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-2.6.0.ebuild b/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-2.6.0.ebuild |
17 |
deleted file mode 100644 |
18 |
index cd44ed80e4d..00000000000 |
19 |
--- a/dev-libs/rocm-opencl-runtime/rocm-opencl-runtime-2.6.0.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,50 +0,0 @@ |
22 |
-# Copyright 1999-2019 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-inherit cmake-utils |
28 |
- |
29 |
-OPENCL_ICD_COMMIT="bc9728edf8cace79cf33bf75560be88fc2432dc4" |
30 |
-SRC_URI="https://github.com/KhronosGroup/OpenCL-ICD-Loader/archive/${OPENCL_ICD_COMMIT}.tar.gz -> OpenCL-ICD-Loader-${OPENCL_ICD_COMMIT}.tar.gz" |
31 |
-if [[ ${PV} == *9999 ]] ; then |
32 |
- EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/" |
33 |
- inherit git-r3 |
34 |
-else |
35 |
- SRC_URI+=" https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime/archive/roc-${PV}.tar.gz -> ${P}.tar.gz" |
36 |
- KEYWORDS="~amd64" |
37 |
- S="${WORKDIR}/ROCm-OpenCL-Runtime-roc-${PV}" |
38 |
-fi |
39 |
- |
40 |
-DESCRIPTION="Radeon Open Compute OpenCL Compatible Runtime" |
41 |
-HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm-OpenCL-Runtime" |
42 |
- |
43 |
-LICENSE="Apache-2.0 MIT" |
44 |
-SLOT="0/$(ver_cut 1-2)" |
45 |
- |
46 |
-RDEPEND="dev-libs/rocr-runtime |
47 |
- dev-libs/rocm-comgr |
48 |
- dev-libs/rocm-device-libs |
49 |
- dev-libs/rocm-opencl-driver" |
50 |
-DEPEND="${RDEPEND} |
51 |
- dev-lang/ocaml |
52 |
- dev-ml/findlib" |
53 |
- |
54 |
-PATCHES=( |
55 |
- "${FILESDIR}/${P}-unbundle-dependencies.patch" |
56 |
-) |
57 |
- |
58 |
-src_prepare() { |
59 |
- mkdir -p "${S}"/api/opencl/khronos/ || die |
60 |
- mv "${WORKDIR}/OpenCL-ICD-Loader-${OPENCL_ICD_COMMIT}" "${S}"/api/opencl/khronos/icd || die |
61 |
- cmake-utils_src_prepare |
62 |
-} |
63 |
- |
64 |
-src_configure() { |
65 |
- local mycmakeargs=( |
66 |
- -DLLVM_DIR="${EPREFIX}/usr/lib/llvm/roc/" |
67 |
- -DClang_DIR="${EPREFIX}/usr/lib/llvm/roc/lib/cmake/clang/" |
68 |
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/" |
69 |
- ) |
70 |
- cmake-utils_src_configure |
71 |
-} |