Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/compiler-rt/
Date: Mon, 12 Oct 2020 12:38:40
Message-Id: 1602506298.2eb38ddfa4352f27cf8ba4bedc67c05ad9b440fc.mgorny@gentoo
1 commit: 2eb38ddfa4352f27cf8ba4bedc67c05ad9b440fc
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Oct 12 09:16:22 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 12 12:38:18 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eb38ddf
7
8 sys-libs/compiler-rt: Remove 11.0.0 RCs
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-libs/compiler-rt/Manifest | 3 -
13 sys-libs/compiler-rt/compiler-rt-11.0.0_rc3.ebuild | 106 ---------------------
14 sys-libs/compiler-rt/compiler-rt-11.0.0_rc4.ebuild | 106 ---------------------
15 sys-libs/compiler-rt/compiler-rt-11.0.0_rc6.ebuild | 106 ---------------------
16 4 files changed, 321 deletions(-)
17
18 diff --git a/sys-libs/compiler-rt/Manifest b/sys-libs/compiler-rt/Manifest
19 index dc8a7ae8e29..52eb105e0cf 100644
20 --- a/sys-libs/compiler-rt/Manifest
21 +++ b/sys-libs/compiler-rt/Manifest
22 @@ -1,7 +1,4 @@
23 DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 6b0254f5b913398cdcf2b2ec1ff219888706d2b79d5296590934714e42ac79f6a6547941ac2b1d2c4e6313dd18b6c7068e748aa6ac033e49fccbf5d355aa8191 SHA512 baa182d62fef1851836013ae8a1a00861ea89769778d67fb97b407a9de664e6c85da2af9c5b3f75d2bf34ff6b00004e531ca7e4b3115a26c0e61c575cf2303a0
24 DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1 SHA512 48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151
25 -DIST llvmorg-11.0.0-rc3.tar.gz 122766783 BLAKE2B 052fdc864fed52692141284ebdc41d52d21fbeaf24ac5ed3e67701537baa683bae61b1c06de68322e0578a27a1f5a8856088cdc001d2b8d34d2ec88ae65ff739 SHA512 a28ce74775373c63fe23b3116cd25db0efb95c6fdb60e56f2522659a404a59576f3d9429a109cb0f90534927259289aa1c712673f36f92272d642bf8dce5699f
26 -DIST llvmorg-11.0.0-rc4.tar.gz 122768150 BLAKE2B e92417b6e1775a10c196534518036de6393e3cb9e0e656d4f864e7870be8fb0dad3f4cf170345e653ba60f36172df117977d5dfebe3d9ee7ec2c160d3dc9c5cd SHA512 ed2aee9f6d0bb887f27840158e9f95d94c9ad3981a0388a33fcd3e405f5072134a02999075238b6a2b8803149aa08ac790214605b186c2cc2d4827ba53c00de1
27 -DIST llvmorg-11.0.0-rc6.tar.gz 122769521 BLAKE2B 0d03f385447902846dcb8150bda85ac0ab42153f63bb653befc18ed1cba357493065777750447b0ac71c077f61ea8c8f7a4c313ea5f3079926ffd012ace0debd SHA512 249b8e685cfc45a651f4dbd777b10298251c77476b57f9657860644ded612f810224d16879225d17b7a6ac9d584d63d53a33ac114c38e1cf86dd9e8d0faed9a9
28 DIST llvmorg-11.0.0.tar.gz 122743665 BLAKE2B 3f95570240789fd68ddb747df817f5c6cdc9da40911bbe9ee3531c15ada9165e5002b1c2f778cf8735858485ea05a8754e3d3a5f4b15bdd6cb33d64a14692984 SHA512 b6d38871ccce0e086e27d35e42887618d68e57d8274735c59e3eabc42dee352412489296293f8d5169fe0044936345915ee7da61ebdc64ec10f7737f6ecd90f2
29 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f SHA512 fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
30
31 diff --git a/sys-libs/compiler-rt/compiler-rt-11.0.0_rc3.ebuild b/sys-libs/compiler-rt/compiler-rt-11.0.0_rc3.ebuild
32 deleted file mode 100644
33 index c83c56ecf24..00000000000
34 --- a/sys-libs/compiler-rt/compiler-rt-11.0.0_rc3.ebuild
35 +++ /dev/null
36 @@ -1,106 +0,0 @@
37 -# Copyright 1999-2020 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=7
41 -
42 -PYTHON_COMPAT=( python3_{6..9} )
43 -inherit cmake flag-o-matic llvm llvm.org python-any-r1 toolchain-funcs
44 -
45 -DESCRIPTION="Compiler runtime library for clang (built-in part)"
46 -HOMEPAGE="https://llvm.org/"
47 -LLVM_COMPONENTS=( compiler-rt )
48 -llvm.org_set_globals
49 -
50 -LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
51 -SLOT="$(ver_cut 1-3)"
52 -KEYWORDS=""
53 -IUSE="+clang test"
54 -RESTRICT="!test? ( test ) !clang? ( test )"
55 -
56 -CLANG_SLOT=${SLOT%%.*}
57 -# llvm-6 for new lit options
58 -DEPEND="
59 - >=sys-devel/llvm-6"
60 -BDEPEND="
61 - clang? ( sys-devel/clang )
62 - test? (
63 - $(python_gen_any_dep ">=dev-python/lit-9.0.1[\${PYTHON_USEDEP}]")
64 - =sys-devel/clang-${PV%_*}*:${CLANG_SLOT} )
65 - ${PYTHON_DEPS}"
66 -
67 -python_check_deps() {
68 - use test || return 0
69 - has_version "dev-python/lit[${PYTHON_USEDEP}]"
70 -}
71 -
72 -pkg_pretend() {
73 - if ! use clang && ! tc-is-clang; then
74 - ewarn "Building using a compiler other than clang may result in broken atomics"
75 - ewarn "library. Enable USE=clang unless you have a very good reason not to."
76 - fi
77 -}
78 -
79 -pkg_setup() {
80 - llvm_pkg_setup
81 - python-any-r1_pkg_setup
82 -}
83 -
84 -test_compiler() {
85 - $(tc-getCC) ${CFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c - \
86 - <<<'int main() { return 0; }' &>/dev/null
87 -}
88 -
89 -src_configure() {
90 - # pre-set since we need to pass it to cmake
91 - BUILD_DIR=${WORKDIR}/${P}_build
92 -
93 - local nolib_flags=( -nodefaultlibs -lc )
94 - if use clang; then
95 - local -x CC=${CHOST}-clang
96 - local -x CXX=${CHOST}-clang++
97 - strip-unsupported-flags
98 - # ensure we can use clang before installing compiler-rt
99 - local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}"
100 - elif ! test_compiler; then
101 - if test_compiler "${nolib_flags[@]}"; then
102 - local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}"
103 - ewarn "${CC} seems to lack runtime, trying with ${nolib_flags[*]}"
104 - fi
105 - fi
106 -
107 - local mycmakeargs=(
108 - -DCOMPILER_RT_INSTALL_PATH="${EPREFIX}/usr/lib/clang/${SLOT}"
109 -
110 - -DCOMPILER_RT_INCLUDE_TESTS=$(usex test)
111 - -DCOMPILER_RT_BUILD_LIBFUZZER=OFF
112 - -DCOMPILER_RT_BUILD_PROFILE=OFF
113 - -DCOMPILER_RT_BUILD_SANITIZERS=OFF
114 - -DCOMPILER_RT_BUILD_XRAY=OFF
115 - )
116 -
117 - if use prefix && [[ "${CHOST}" == *-darwin* ]] ; then
118 - mycmakeargs+=(
119 - # disable use of SDK for the system itself
120 - -DDARWIN_macosx_CACHED_SYSROOT=/
121 - )
122 - fi
123 -
124 - if use test; then
125 - mycmakeargs+=(
126 - -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
127 - -DLLVM_LIT_ARGS="$(get_lit_flags)"
128 -
129 - -DCOMPILER_RT_TEST_COMPILER="${EPREFIX}/usr/lib/llvm/${CLANG_SLOT}/bin/clang"
130 - -DCOMPILER_RT_TEST_CXX_COMPILER="${EPREFIX}/usr/lib/llvm/${CLANG_SLOT}/bin/clang++"
131 - )
132 - fi
133 -
134 - cmake_src_configure
135 -}
136 -
137 -src_test() {
138 - # respect TMPDIR!
139 - local -x LIT_PRESERVES_TMP=1
140 -
141 - cmake_build check-builtins
142 -}
143
144 diff --git a/sys-libs/compiler-rt/compiler-rt-11.0.0_rc4.ebuild b/sys-libs/compiler-rt/compiler-rt-11.0.0_rc4.ebuild
145 deleted file mode 100644
146 index c83c56ecf24..00000000000
147 --- a/sys-libs/compiler-rt/compiler-rt-11.0.0_rc4.ebuild
148 +++ /dev/null
149 @@ -1,106 +0,0 @@
150 -# Copyright 1999-2020 Gentoo Authors
151 -# Distributed under the terms of the GNU General Public License v2
152 -
153 -EAPI=7
154 -
155 -PYTHON_COMPAT=( python3_{6..9} )
156 -inherit cmake flag-o-matic llvm llvm.org python-any-r1 toolchain-funcs
157 -
158 -DESCRIPTION="Compiler runtime library for clang (built-in part)"
159 -HOMEPAGE="https://llvm.org/"
160 -LLVM_COMPONENTS=( compiler-rt )
161 -llvm.org_set_globals
162 -
163 -LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
164 -SLOT="$(ver_cut 1-3)"
165 -KEYWORDS=""
166 -IUSE="+clang test"
167 -RESTRICT="!test? ( test ) !clang? ( test )"
168 -
169 -CLANG_SLOT=${SLOT%%.*}
170 -# llvm-6 for new lit options
171 -DEPEND="
172 - >=sys-devel/llvm-6"
173 -BDEPEND="
174 - clang? ( sys-devel/clang )
175 - test? (
176 - $(python_gen_any_dep ">=dev-python/lit-9.0.1[\${PYTHON_USEDEP}]")
177 - =sys-devel/clang-${PV%_*}*:${CLANG_SLOT} )
178 - ${PYTHON_DEPS}"
179 -
180 -python_check_deps() {
181 - use test || return 0
182 - has_version "dev-python/lit[${PYTHON_USEDEP}]"
183 -}
184 -
185 -pkg_pretend() {
186 - if ! use clang && ! tc-is-clang; then
187 - ewarn "Building using a compiler other than clang may result in broken atomics"
188 - ewarn "library. Enable USE=clang unless you have a very good reason not to."
189 - fi
190 -}
191 -
192 -pkg_setup() {
193 - llvm_pkg_setup
194 - python-any-r1_pkg_setup
195 -}
196 -
197 -test_compiler() {
198 - $(tc-getCC) ${CFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c - \
199 - <<<'int main() { return 0; }' &>/dev/null
200 -}
201 -
202 -src_configure() {
203 - # pre-set since we need to pass it to cmake
204 - BUILD_DIR=${WORKDIR}/${P}_build
205 -
206 - local nolib_flags=( -nodefaultlibs -lc )
207 - if use clang; then
208 - local -x CC=${CHOST}-clang
209 - local -x CXX=${CHOST}-clang++
210 - strip-unsupported-flags
211 - # ensure we can use clang before installing compiler-rt
212 - local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}"
213 - elif ! test_compiler; then
214 - if test_compiler "${nolib_flags[@]}"; then
215 - local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}"
216 - ewarn "${CC} seems to lack runtime, trying with ${nolib_flags[*]}"
217 - fi
218 - fi
219 -
220 - local mycmakeargs=(
221 - -DCOMPILER_RT_INSTALL_PATH="${EPREFIX}/usr/lib/clang/${SLOT}"
222 -
223 - -DCOMPILER_RT_INCLUDE_TESTS=$(usex test)
224 - -DCOMPILER_RT_BUILD_LIBFUZZER=OFF
225 - -DCOMPILER_RT_BUILD_PROFILE=OFF
226 - -DCOMPILER_RT_BUILD_SANITIZERS=OFF
227 - -DCOMPILER_RT_BUILD_XRAY=OFF
228 - )
229 -
230 - if use prefix && [[ "${CHOST}" == *-darwin* ]] ; then
231 - mycmakeargs+=(
232 - # disable use of SDK for the system itself
233 - -DDARWIN_macosx_CACHED_SYSROOT=/
234 - )
235 - fi
236 -
237 - if use test; then
238 - mycmakeargs+=(
239 - -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
240 - -DLLVM_LIT_ARGS="$(get_lit_flags)"
241 -
242 - -DCOMPILER_RT_TEST_COMPILER="${EPREFIX}/usr/lib/llvm/${CLANG_SLOT}/bin/clang"
243 - -DCOMPILER_RT_TEST_CXX_COMPILER="${EPREFIX}/usr/lib/llvm/${CLANG_SLOT}/bin/clang++"
244 - )
245 - fi
246 -
247 - cmake_src_configure
248 -}
249 -
250 -src_test() {
251 - # respect TMPDIR!
252 - local -x LIT_PRESERVES_TMP=1
253 -
254 - cmake_build check-builtins
255 -}
256
257 diff --git a/sys-libs/compiler-rt/compiler-rt-11.0.0_rc6.ebuild b/sys-libs/compiler-rt/compiler-rt-11.0.0_rc6.ebuild
258 deleted file mode 100644
259 index c83c56ecf24..00000000000
260 --- a/sys-libs/compiler-rt/compiler-rt-11.0.0_rc6.ebuild
261 +++ /dev/null
262 @@ -1,106 +0,0 @@
263 -# Copyright 1999-2020 Gentoo Authors
264 -# Distributed under the terms of the GNU General Public License v2
265 -
266 -EAPI=7
267 -
268 -PYTHON_COMPAT=( python3_{6..9} )
269 -inherit cmake flag-o-matic llvm llvm.org python-any-r1 toolchain-funcs
270 -
271 -DESCRIPTION="Compiler runtime library for clang (built-in part)"
272 -HOMEPAGE="https://llvm.org/"
273 -LLVM_COMPONENTS=( compiler-rt )
274 -llvm.org_set_globals
275 -
276 -LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
277 -SLOT="$(ver_cut 1-3)"
278 -KEYWORDS=""
279 -IUSE="+clang test"
280 -RESTRICT="!test? ( test ) !clang? ( test )"
281 -
282 -CLANG_SLOT=${SLOT%%.*}
283 -# llvm-6 for new lit options
284 -DEPEND="
285 - >=sys-devel/llvm-6"
286 -BDEPEND="
287 - clang? ( sys-devel/clang )
288 - test? (
289 - $(python_gen_any_dep ">=dev-python/lit-9.0.1[\${PYTHON_USEDEP}]")
290 - =sys-devel/clang-${PV%_*}*:${CLANG_SLOT} )
291 - ${PYTHON_DEPS}"
292 -
293 -python_check_deps() {
294 - use test || return 0
295 - has_version "dev-python/lit[${PYTHON_USEDEP}]"
296 -}
297 -
298 -pkg_pretend() {
299 - if ! use clang && ! tc-is-clang; then
300 - ewarn "Building using a compiler other than clang may result in broken atomics"
301 - ewarn "library. Enable USE=clang unless you have a very good reason not to."
302 - fi
303 -}
304 -
305 -pkg_setup() {
306 - llvm_pkg_setup
307 - python-any-r1_pkg_setup
308 -}
309 -
310 -test_compiler() {
311 - $(tc-getCC) ${CFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c - \
312 - <<<'int main() { return 0; }' &>/dev/null
313 -}
314 -
315 -src_configure() {
316 - # pre-set since we need to pass it to cmake
317 - BUILD_DIR=${WORKDIR}/${P}_build
318 -
319 - local nolib_flags=( -nodefaultlibs -lc )
320 - if use clang; then
321 - local -x CC=${CHOST}-clang
322 - local -x CXX=${CHOST}-clang++
323 - strip-unsupported-flags
324 - # ensure we can use clang before installing compiler-rt
325 - local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}"
326 - elif ! test_compiler; then
327 - if test_compiler "${nolib_flags[@]}"; then
328 - local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}"
329 - ewarn "${CC} seems to lack runtime, trying with ${nolib_flags[*]}"
330 - fi
331 - fi
332 -
333 - local mycmakeargs=(
334 - -DCOMPILER_RT_INSTALL_PATH="${EPREFIX}/usr/lib/clang/${SLOT}"
335 -
336 - -DCOMPILER_RT_INCLUDE_TESTS=$(usex test)
337 - -DCOMPILER_RT_BUILD_LIBFUZZER=OFF
338 - -DCOMPILER_RT_BUILD_PROFILE=OFF
339 - -DCOMPILER_RT_BUILD_SANITIZERS=OFF
340 - -DCOMPILER_RT_BUILD_XRAY=OFF
341 - )
342 -
343 - if use prefix && [[ "${CHOST}" == *-darwin* ]] ; then
344 - mycmakeargs+=(
345 - # disable use of SDK for the system itself
346 - -DDARWIN_macosx_CACHED_SYSROOT=/
347 - )
348 - fi
349 -
350 - if use test; then
351 - mycmakeargs+=(
352 - -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
353 - -DLLVM_LIT_ARGS="$(get_lit_flags)"
354 -
355 - -DCOMPILER_RT_TEST_COMPILER="${EPREFIX}/usr/lib/llvm/${CLANG_SLOT}/bin/clang"
356 - -DCOMPILER_RT_TEST_CXX_COMPILER="${EPREFIX}/usr/lib/llvm/${CLANG_SLOT}/bin/clang++"
357 - )
358 - fi
359 -
360 - cmake_src_configure
361 -}
362 -
363 -src_test() {
364 - # respect TMPDIR!
365 - local -x LIT_PRESERVES_TMP=1
366 -
367 - cmake_build check-builtins
368 -}