Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/ocl-icd/
Date: Sat, 29 May 2021 14:44:03
Message-Id: 1622299415.33470b53c126038cfb84831516172bd8ff3bbe00.chewi@gentoo
1 commit: 33470b53c126038cfb84831516172bd8ff3bbe00
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 29 14:42:10 2021 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sat May 29 14:43:35 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33470b53
7
8 dev-libs/ocl-icd: Drop old and broken 2.2.14
9
10 Closes: https://bugs.gentoo.org/789558
11 Package-Manager: Portage-3.0.19, Repoman-3.0.3
12 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
13
14 dev-libs/ocl-icd/Manifest | 1 -
15 dev-libs/ocl-icd/ocl-icd-2.2.14-r1.ebuild | 57 -------------------------------
16 dev-libs/ocl-icd/ocl-icd-2.2.14.ebuild | 44 ------------------------
17 3 files changed, 102 deletions(-)
18
19 diff --git a/dev-libs/ocl-icd/Manifest b/dev-libs/ocl-icd/Manifest
20 index 50148b96627..d56cb716316 100644
21 --- a/dev-libs/ocl-icd/Manifest
22 +++ b/dev-libs/ocl-icd/Manifest
23 @@ -1,3 +1,2 @@
24 DIST ocl-icd-2.2.12.tar.gz 80718 BLAKE2B 524f9eea9782323eafa2f41858c4970333c029898c651bbf15624331e184d1b439d2259532b02defd67c9ab434a35b1b9a64a28e1515b3f42f09b3a270975df7 SHA512 f1668c3a39ecfbc089ee5a5f61f44ceb86ab80e504e58064dec306ce907daf77936c5403b4af15ed8714068891d68346c86725f285cfbc90c4fcb35d18db4048
25 -DIST ocl-icd-2.2.14.tar.gz 100629 BLAKE2B 4862560541c979edb06d89f7f57b78a34c02e38843c02b0f125a121649cd6a33570e29c86fe7d3fd6f0fa3d489831777100daef97264e32b82854384075cbbf2 SHA512 78510b6fa4e2c6a52141a51ccf0d0ef3110b0b4902a43bb97f7622ff0ce470b108dc05c9619c28ce8758ccea1e1cf6b2e7f1a296f8b07f52532f23b2b036a5cf
26 DIST ocl-icd-2.3.0.tar.gz 100848 BLAKE2B b9e5b78df63f4865bb4cb3623fbc6bd336c86b4a9e1f23a29fab1cf11f848cb20d6d8d4a480ff44e442b02d606247a923798143058256ef59c2b16c9daf7098d SHA512 003f3661b7086a7364e79d1058591f12a7095aa2c3decfc4b496f00a0863a91cd81080f33b9308e3948045f8aca5856868ed2725f478654230e51a60d654e613
27
28 diff --git a/dev-libs/ocl-icd/ocl-icd-2.2.14-r1.ebuild b/dev-libs/ocl-icd/ocl-icd-2.2.14-r1.ebuild
29 deleted file mode 100644
30 index 909ba9498ea..00000000000
31 --- a/dev-libs/ocl-icd/ocl-icd-2.2.14-r1.ebuild
32 +++ /dev/null
33 @@ -1,57 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -USE_RUBY="ruby25 ruby26 ruby27 ruby30"
40 -inherit autotools flag-o-matic multilib-minimal ruby-single
41 -
42 -DESCRIPTION="Alternative to vendor specific OpenCL ICD loaders"
43 -HOMEPAGE="https://github.com/OCL-dev/ocl-icd"
44 -SRC_URI="https://github.com/OCL-dev/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
45 -LICENSE="BSD-2"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -
49 -# Does nothing now but by keeping it here we avoid having to have virtual/opencl
50 -# handle ebuilds both with and without this flag.
51 -IUSE="+khronos-headers"
52 -
53 -BDEPEND="${RUBY_DEPS}"
54 -DEPEND=">=dev-util/opencl-headers-2020.12.18"
55 -RDEPEND="${DEPEND}
56 - !app-eselect/eselect-opencl
57 - !dev-libs/opencl-icd-loader"
58 -
59 -src_prepare() {
60 - replace-flags -Os -O2 # bug 646122
61 -
62 - default
63 - eautoreconf
64 -}
65 -
66 -multilib_src_configure() {
67 - # dev-util/opencl-headers ARE official Khronos Group headers, what this option
68 - # does is disable the use of the bundled ones
69 - ECONF_SOURCE="${S}" econf --enable-pthread-once --disable-official-khronos-headers
70 -}
71 -
72 -multilib_src_compile() {
73 - local candidates=(${USE_RUBY})
74 - local ruby=
75 - for (( idx=${#candidates[@]}-1 ; idx>=0 ; idx-- )) ; do
76 - if ${candidates[idx]} --version &> /dev/null; then
77 - ruby=${candidates[idx]} && break
78 - fi
79 - done
80 - [[ -z ${ruby} ]] && die "No ruby executable found"
81 -
82 - emake RUBY=${ruby}
83 -}
84 -
85 -multilib_src_install() {
86 - default
87 -
88 - # Drop .la files
89 - find "${ED}" -name '*.la' -delete || die
90 -}
91
92 diff --git a/dev-libs/ocl-icd/ocl-icd-2.2.14.ebuild b/dev-libs/ocl-icd/ocl-icd-2.2.14.ebuild
93 deleted file mode 100644
94 index e5b4c9f2623..00000000000
95 --- a/dev-libs/ocl-icd/ocl-icd-2.2.14.ebuild
96 +++ /dev/null
97 @@ -1,44 +0,0 @@
98 -# Copyright 1999-2021 Gentoo Authors
99 -# Distributed under the terms of the GNU General Public License v2
100 -
101 -EAPI=7
102 -
103 -USE_RUBY="ruby24 ruby25 ruby26 ruby27"
104 -inherit autotools flag-o-matic multilib-minimal ruby-single
105 -
106 -DESCRIPTION="Alternative to vendor specific OpenCL ICD loaders"
107 -HOMEPAGE="https://github.com/OCL-dev/ocl-icd"
108 -SRC_URI="https://github.com/OCL-dev/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
109 -LICENSE="BSD-2"
110 -SLOT="0"
111 -KEYWORDS="~amd64 ~x86"
112 -
113 -# Does nothing now but by keeping it here we avoid having to have virtual/opencl
114 -# handle ebuilds both with and without this flag.
115 -IUSE="+khronos-headers"
116 -
117 -BDEPEND="${RUBY_DEPS}"
118 -DEPEND=">=dev-util/opencl-headers-2020.12.18"
119 -RDEPEND="${DEPEND}
120 - !app-eselect/eselect-opencl
121 - !dev-libs/opencl-icd-loader"
122 -
123 -src_prepare() {
124 - replace-flags -Os -O2 # bug 646122
125 -
126 - default
127 - eautoreconf
128 -}
129 -
130 -multilib_src_configure() {
131 - # dev-util/opencl-headers ARE official Khronos Group headers, what this option
132 - # does is disable the use of the bundled ones
133 - ECONF_SOURCE="${S}" econf --enable-pthread-once --disable-official-khronos-headers
134 -}
135 -
136 -multilib_src_install() {
137 - default
138 -
139 - # Drop .la files
140 - find "${ED}" -name '*.la' -delete || die
141 -}