1 |
commit: 2e29a28aab65572fd9cfa1c93fe110d680edb29d |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 26 22:38:55 2019 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 26 22:45:26 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e29a28a |
7 |
|
8 |
dev-libs/libclc: Drop old versions |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
dev-libs/libclc/Manifest | 1 - |
13 |
dev-libs/libclc/libclc-0.2.0_pre20190313.ebuild | 81 ------------------------- |
14 |
2 files changed, 82 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest |
17 |
index cb6d63f2403..8df1eab8716 100644 |
18 |
--- a/dev-libs/libclc/Manifest |
19 |
+++ b/dev-libs/libclc/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST libclc-0.2.0_pre20190313.tar.gz 176803 BLAKE2B c9ecd5053685c2de89d92ae4e9cc9e9f8bee24ca05e5ddca6fffd0b45356b7d4a96b54d9bebf316624e0a49594a33ebb156ae6c4b963093bdc6c1067548b2bd0 SHA512 22813bcd76e77c018acbdf2a3d3d300c2996e169c17729726ae8a93c39f85033cfa1f6d43907a7c026451bcdfcce6fbdc64a202961492aa951ef1b818c3f9335 |
22 |
DIST libclc-0.2.0_pre20191024.tar.xz 128628 BLAKE2B dc750725ee48456e3678cb4f730cc889045ff7401c4b40ac3ae9b656da9fe429aa2094c2042a18eda4f7e87c786ff8ae121fbf726a18de03884f30dad48b3fa1 SHA512 b4c2ca980fb28b5662055bea951de844284fcf122695234d7618439234f0203baf82b5cc5cf8acddfe387f19d32be3a958e53511bb1e33e9469f6be5951dbcdb |
23 |
|
24 |
diff --git a/dev-libs/libclc/libclc-0.2.0_pre20190313.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20190313.ebuild |
25 |
deleted file mode 100644 |
26 |
index f33fd1c7cd7..00000000000 |
27 |
--- a/dev-libs/libclc/libclc-0.2.0_pre20190313.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,81 +0,0 @@ |
30 |
-# Copyright 1999-2019 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=6 |
34 |
-PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) |
35 |
- |
36 |
-EGIT_REPO_URI="https://llvm.org/git/${PN}.git |
37 |
- https://github.com/llvm-mirror/${PN}.git" |
38 |
-EGIT_COMMIT="45017385361603d6328997a2272d140e50786686" |
39 |
- |
40 |
-if [[ ${PV} = 9999* ]]; then |
41 |
- GIT_ECLASS="git-r3" |
42 |
- EXPERIMENTAL="true" |
43 |
-else |
44 |
- GIT_ECLASS="" |
45 |
- S="${WORKDIR}/libclc-${EGIT_COMMIT}" |
46 |
-fi |
47 |
- |
48 |
-inherit llvm prefix python-any-r1 toolchain-funcs ${GIT_ECLASS} |
49 |
- |
50 |
-DESCRIPTION="OpenCL C library" |
51 |
-HOMEPAGE="http://libclc.llvm.org/" |
52 |
- |
53 |
-if [[ ${PV} = 9999* ]]; then |
54 |
- SRC_URI="${SRC_PATCHES}" |
55 |
-else |
56 |
- SRC_URI="https://github.com/llvm-mirror/libclc/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz |
57 |
- ${SRC_PATCHES}" |
58 |
-fi |
59 |
- |
60 |
-LICENSE="|| ( MIT BSD )" |
61 |
-SLOT="0" |
62 |
-KEYWORDS="amd64 x86" |
63 |
-IUSE_VIDEO_CARDS="video_cards_nvidia video_cards_r600 video_cards_radeonsi" |
64 |
-IUSE="${IUSE_VIDEO_CARDS}" |
65 |
-REQUIRED_USE="|| ( ${IUSE_VIDEO_CARDS} )" |
66 |
- |
67 |
-DEPEND=" |
68 |
- || ( |
69 |
- sys-devel/clang:9 |
70 |
- sys-devel/clang:8 |
71 |
- sys-devel/clang:7 |
72 |
- sys-devel/clang:6 |
73 |
- sys-devel/clang:5 |
74 |
- ) |
75 |
- ${PYTHON_DEPS}" |
76 |
- |
77 |
-llvm_check_deps() { |
78 |
- has_version "sys-devel/clang:${LLVM_SLOT}" |
79 |
-} |
80 |
- |
81 |
-src_prepare() { |
82 |
- default |
83 |
- if use prefix; then |
84 |
- hprefixify configure.py |
85 |
- fi |
86 |
-} |
87 |
- |
88 |
-pkg_setup() { |
89 |
- # we do not need llvm_pkg_setup |
90 |
- python-any-r1_pkg_setup |
91 |
-} |
92 |
- |
93 |
-src_configure() { |
94 |
- local libclc_targets=() |
95 |
- |
96 |
- use video_cards_nvidia && libclc_targets+=("nvptx--" "nvptx64--" "nvptx--nvidiacl" "nvptx64--nvidiacl") |
97 |
- use video_cards_r600 && libclc_targets+=("r600--") |
98 |
- use video_cards_radeonsi && libclc_targets+=("amdgcn--" "amdgcn-mesa-mesa3d" "amdgcn--amdhsa") |
99 |
- |
100 |
- [[ ${#libclc_targets[@]} ]] || die "libclc target missing!" |
101 |
- |
102 |
- ./configure.py \ |
103 |
- --with-cxx-compiler="$(tc-getCXX)" \ |
104 |
- --with-llvm-config="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config" \ |
105 |
- --prefix="${EPREFIX}/usr" "${libclc_targets[@]}" || die |
106 |
-} |
107 |
- |
108 |
-src_compile() { |
109 |
- emake VERBOSE=1 |
110 |
-} |