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: Tue, 06 Sep 2022 08:01:13
Message-Id: 1662451215.8bd959ea45fc6e5dc006c8791dc5775ea01a8075.mgorny@gentoo
1 commit: 8bd959ea45fc6e5dc006c8791dc5775ea01a8075
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 6 08:00:15 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 6 08:00:15 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bd959ea
7
8 sys-libs/compiler-rt: Remove 15.0.0 RCs
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-libs/compiler-rt/Manifest | 6 -
13 sys-libs/compiler-rt/compiler-rt-15.0.0_rc2.ebuild | 152 ---------------------
14 sys-libs/compiler-rt/compiler-rt-15.0.0_rc3.ebuild | 152 ---------------------
15 3 files changed, 310 deletions(-)
16
17 diff --git a/sys-libs/compiler-rt/Manifest b/sys-libs/compiler-rt/Manifest
18 index ff47886fe7d8..230179399ada 100644
19 --- a/sys-libs/compiler-rt/Manifest
20 +++ b/sys-libs/compiler-rt/Manifest
21 @@ -1,15 +1,9 @@
22 DIST llvm-gentoo-patchset-13.0.1.tar.xz 6288 BLAKE2B 899222b962486e924e4f8a2b574d285531a3f87af9385ff68c81db92aa224a0cde6d4ee049b5405056bedb4b232b50e1d5840024071a4a215f6311853304c92d SHA512 b2805337f1deca626768a44c5e7ac9ed16e0c31bead1647d44a493a8123c1b8e8f1c8ceee3536bcc6fa87fdd3fcec408229f701adf30eff07e7ef9889b847b01
23 DIST llvm-gentoo-patchset-14.0.6-r2.tar.xz 16120 BLAKE2B e12e522fdb7ba505693c679cb09cc8e00e6a954df195c86c2af4dbf1b68334a405b8dcc45f2e28b5e5e0b7e9d5eb7ba907337027927371b7a3b7784ff8aae7e0 SHA512 8a5ea71c30fc0727cc855dd812bbcb6d5f51c80c98eb3d5b80258d5c5eaab1310edc9d53ae63c2ca827abec68e2912c4b69ef0da351ff883fb30545a61e1d09c
24 -DIST llvm-gentoo-patchset-15.0.0-rc2.tar.xz 5768 BLAKE2B 03822c4dfbe3157d9131a3524beeda22fbc6adc937af052fd0fbcc23fb6ea86e1a5e015c316b53019820de5b81b1b065bfcbc31608598307f03af39f215fb12e SHA512 b9d7adb9b738a565c2142360c5ff7a7aa8405ce78af8767867203dd003e5bdb2b8a7f14179fdb7dc0c5cdc696cfff55c4886cfcd0894672284b453943e4e7269
25 -DIST llvm-gentoo-patchset-15.0.0-rc3.tar.xz 4036 BLAKE2B 0f8172f1d9ac674b7c888781138dcb1f55c7f73a98ee78d04e4e26442ac91ae2a6c6d6aaa45982a344e174e1d080247ab9c62bbb9adaa7fd20c5a481e0e8bfed SHA512 ebdf8d1d4f52150c99015e6dea4f3fd67f0a54284d52e946d104ff6c0f60efc716a1b39d3cdecf7b353cf139d8306793d37c10fe9269376d9846896fcf6415ad
26 DIST llvm-gentoo-patchset-15.0.0.tar.xz 4032 BLAKE2B 99c959eff6c8164147952aa5dc0621d1804b1e460c71bbfcf0c2a971f82e8405bc0c4dac327c27b6b459c4f45381466e883e502df14c84d8ba98495a437bfd47 SHA512 ce516b3401bd45696cf9ed0003de2f536695b8554fa3c2c35f14f1f1e2f0f115c20ef2b1d5319369cc536db4cb95cb508d34e7a6f8ef60f242547179e9d338a6
27 DIST llvm-gentoo-patchset-9999-1.tar.xz 4032 BLAKE2B b9413484dafed8ae0c68c2c164b45fd07bb8d5d0898f03abe118fd2120ffcb1fb6c949de9649a97c2e8105f24b9d131a725c67c0a502ca4d4d192c1a0d65f49d SHA512 e64449eeaf756c5bd945109937b84ba4bd8a015222bd792d39cf3947871e87571a4ca57814790e51544cb05ad4c2d1f044e818e4caaac7c2e2a02cb1aa290fcc
28 DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f15e428f22a536a17e5f4e3eb29a003b8a8ec0abe0fa3e072591161d5f30ef7d8867c1ce34d1b341ad858e93c00263499941a99 SHA512 6fc6eeb60fac698702d1aac495fc0161eb7216a1f8db2020af8fccec5837831f7cc20dc2a169bf4f0b5f520748280b4a86621f3697d622aa58faaa45dbfaad13
29 DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6
30 DIST llvm-project-15.0.0.src.tar.xz 112062796 BLAKE2B 947917b6c75cbd8882133dc01f57013523274962371ac5ae4a22b010f8a7d5d31288c1d9847bf19ba919fa3110fe34a8ff937107fe19bd064ed87bf4d08d8a51 SHA512 e5aacbe7574dcec62017cc03c9fa2ee4cf075125a3d6c3975c38f06e91adcebb1ff92bcf40c6dd67db087813c60b15a04f1424c713d751199518b58025ce87fc
31 DIST llvm-project-15.0.0.src.tar.xz.sig 438 BLAKE2B 8eb12c259f94d8f867a31dbe05128adc1f9cc7ec8bcbdbe1738d2fad461f5d214e674f080f7f29b639a7a75f9c5b56c0f959f538697d647b94b97dc56b036e5f SHA512 4096464a46e07575b7cff448ff8bbc38fe972505f366b744419a06339cf32b93266b0fae5390879859041ce6710e4b675ed3ea7561d6a817623d7ece0e969661
32 -DIST llvm-project-15.0.0rc2.src.tar.xz 112110968 BLAKE2B 98c3769f17f1958fbec771409eef781f5ca845363656c70fe5cd20bca1b8471e7a8773a7d4e395700c297a5f3f208fe1303cf18e2a73b45388b782fb7484106b SHA512 eee1bee1f83cc468fb4bb6839acbd5c1618dc35f35e51cd078288b91bad95d52edaadd05c88f2d72d51c1c338ba08b3346c070a28693b1224639eb7a1ef4a4d9
33 -DIST llvm-project-15.0.0rc2.src.tar.xz.sig 438 BLAKE2B 09f260b30724b41b27ef621929c086fd6c13bde51c4adb880897b549b2d336682f617faf3dd636ceb795e329b664972cf50745ab49f84e7540658d53074510da SHA512 9f695a309fbb15026dc133eb17d33abd26831eb036fad79dd8df37d4f4d9eeae1ca463acd037d2a1882bc2cff763e4bda507d1d827d845613bfd62d0f9fbd4ca
34 -DIST llvm-project-15.0.0rc3.src.tar.xz 112081940 BLAKE2B 659359f8366ad09051fa2256c1aae8cea2049ab6428ce6b15a6845f7ee01a27bc2be2ab612adf8364cb2d699f19d09a7ea01eda74b266f14cc844662bcc833e0 SHA512 e4ac310c19fd6b710d372b9a53dffaf6736d4b5c23190fa98536be40f7c4e45670957dcbfb337e9d1dd44398df43d1ae736063eff2b2fd3d6fc752fae286d3bb
35 -DIST llvm-project-15.0.0rc3.src.tar.xz.sig 438 BLAKE2B 455181d3845ff1766f463d0e02caf72df8106dad16b8d54234f7f2fa0fcb5636abb06b2d35b5fdb8a3ed5c92a41a47d413d1bb76013cb914ce79913479a786e2 SHA512 80a67cf48186d2fbde997707e5d3d7a2dc3097f07e32ff45277e5185eb358d6b292821d8eaf8570fcc45560340663d62adb0380c675909c4c9c713e52704c800
36 DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f
37
38 diff --git a/sys-libs/compiler-rt/compiler-rt-15.0.0_rc2.ebuild b/sys-libs/compiler-rt/compiler-rt-15.0.0_rc2.ebuild
39 deleted file mode 100644
40 index c01ed38975d1..000000000000
41 --- a/sys-libs/compiler-rt/compiler-rt-15.0.0_rc2.ebuild
42 +++ /dev/null
43 @@ -1,152 +0,0 @@
44 -# Copyright 1999-2022 Gentoo Authors
45 -# Distributed under the terms of the GNU General Public License v2
46 -
47 -EAPI=8
48 -
49 -PYTHON_COMPAT=( python3_{8..11} )
50 -inherit cmake flag-o-matic llvm llvm.org python-any-r1 toolchain-funcs
51 -
52 -DESCRIPTION="Compiler runtime library for clang (built-in part)"
53 -HOMEPAGE="https://llvm.org/"
54 -
55 -LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
56 -SLOT="$(ver_cut 1-3)"
57 -KEYWORDS=""
58 -IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
59 -RESTRICT="!test? ( test ) !clang? ( test )"
60 -
61 -CLANG_SLOT=${SLOT%%.*}
62 -# llvm-6 for new lit options
63 -DEPEND="
64 - >=sys-devel/llvm-6
65 -"
66 -BDEPEND="
67 - >=dev-util/cmake-3.16
68 - clang? ( sys-devel/clang )
69 - test? (
70 - $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
71 - =sys-devel/clang-${PV%_*}*:${CLANG_SLOT}
72 - )
73 - !test? (
74 - ${PYTHON_DEPS}
75 - )
76 -"
77 -
78 -LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
79 -LLVM_PATCHSET=${PV/_/-}
80 -llvm.org_set_globals
81 -
82 -python_check_deps() {
83 - use test || return 0
84 - python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
85 -}
86 -
87 -pkg_pretend() {
88 - if ! use clang && ! tc-is-clang; then
89 - ewarn "Building using a compiler other than clang may result in broken atomics"
90 - ewarn "library. Enable USE=clang unless you have a very good reason not to."
91 - fi
92 -}
93 -
94 -pkg_setup() {
95 - # Darwin Prefix builds do not have llvm installed yet, so rely on
96 - # bootstrap-prefix to set the appropriate path vars to LLVM instead
97 - # of using llvm_pkg_setup.
98 - if [[ ${CHOST} != *-darwin* ]] || has_version dev-lang/llvm; then
99 - llvm_pkg_setup
100 - fi
101 - python-any-r1_pkg_setup
102 -}
103 -
104 -test_compiler() {
105 - $(tc-getCC) ${CFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c - \
106 - <<<'int main() { return 0; }' &>/dev/null
107 -}
108 -
109 -src_configure() {
110 - # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
111 - use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
112 -
113 - # pre-set since we need to pass it to cmake
114 - BUILD_DIR=${WORKDIR}/${P}_build
115 -
116 - if use clang; then
117 - # Only do this conditionally to allow overriding with
118 - # e.g. CC=clang-13 in case of breakage
119 - if ! tc-is-clang ; then
120 - local -x CC=${CHOST}-clang
121 - local -x CXX=${CHOST}-clang++
122 - fi
123 -
124 - strip-unsupported-flags
125 - fi
126 -
127 - if ! test_compiler; then
128 - local nolib_flags=( -nodefaultlibs -lc )
129 -
130 - if test_compiler "${nolib_flags[@]}"; then
131 - local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}"
132 - ewarn "${CC} seems to lack runtime, trying with ${nolib_flags[*]}"
133 - elif test_compiler "${nolib_flags[@]}" -nostartfiles; then
134 - # Avoiding -nostartfiles earlier on for bug #862540,
135 - # and set available entry symbol for bug #862798.
136 - nolib_flags+=( -nostartfiles -emain )
137 -
138 - local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}"
139 - ewarn "${CC} seems to lack runtime, trying with ${nolib_flags[*]}"
140 - fi
141 - fi
142 -
143 - local mycmakeargs=(
144 - -DCOMPILER_RT_INSTALL_PATH="${EPREFIX}/usr/lib/clang/${SLOT}"
145 -
146 - -DCOMPILER_RT_INCLUDE_TESTS=$(usex test)
147 - -DCOMPILER_RT_BUILD_LIBFUZZER=OFF
148 - -DCOMPILER_RT_BUILD_MEMPROF=OFF
149 - -DCOMPILER_RT_BUILD_ORC=OFF
150 - -DCOMPILER_RT_BUILD_PROFILE=OFF
151 - -DCOMPILER_RT_BUILD_SANITIZERS=OFF
152 - -DCOMPILER_RT_BUILD_XRAY=OFF
153 -
154 - -DPython3_EXECUTABLE="${PYTHON}"
155 - )
156 -
157 - if use amd64; then
158 - mycmakeargs+=(
159 - -DCAN_TARGET_i386=$(usex abi_x86_32)
160 - -DCAN_TARGET_x86_64=$(usex abi_x86_64)
161 - )
162 - fi
163 -
164 - if use prefix && [[ "${CHOST}" == *-darwin* ]] ; then
165 - mycmakeargs+=(
166 - # setting -isysroot is disabled with compiler-rt-prefix-paths.patch
167 - # this allows adding arm64 support using SDK in EPREFIX
168 - -DDARWIN_macosx_CACHED_SYSROOT="${EPREFIX}/MacOSX.sdk"
169 - # Set version based on the SDK in EPREFIX.
170 - # This disables i386 for SDK >= 10.15
171 - -DDARWIN_macosx_OVERRIDE_SDK_VERSION="$(realpath ${EPREFIX}/MacOSX.sdk | sed -e 's/.*MacOSX\(.*\)\.sdk/\1/')"
172 - # Use our libtool instead of looking it up with xcrun
173 - -DCMAKE_LIBTOOL="${EPREFIX}/usr/bin/${CHOST}-libtool"
174 - )
175 - fi
176 -
177 - if use test; then
178 - mycmakeargs+=(
179 - -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
180 - -DLLVM_LIT_ARGS="$(get_lit_flags)"
181 -
182 - -DCOMPILER_RT_TEST_COMPILER="${EPREFIX}/usr/lib/llvm/${CLANG_SLOT}/bin/clang"
183 - -DCOMPILER_RT_TEST_CXX_COMPILER="${EPREFIX}/usr/lib/llvm/${CLANG_SLOT}/bin/clang++"
184 - )
185 - fi
186 -
187 - cmake_src_configure
188 -}
189 -
190 -src_test() {
191 - # respect TMPDIR!
192 - local -x LIT_PRESERVES_TMP=1
193 -
194 - cmake_build check-builtins
195 -}
196
197 diff --git a/sys-libs/compiler-rt/compiler-rt-15.0.0_rc3.ebuild b/sys-libs/compiler-rt/compiler-rt-15.0.0_rc3.ebuild
198 deleted file mode 100644
199 index c01ed38975d1..000000000000
200 --- a/sys-libs/compiler-rt/compiler-rt-15.0.0_rc3.ebuild
201 +++ /dev/null
202 @@ -1,152 +0,0 @@
203 -# Copyright 1999-2022 Gentoo Authors
204 -# Distributed under the terms of the GNU General Public License v2
205 -
206 -EAPI=8
207 -
208 -PYTHON_COMPAT=( python3_{8..11} )
209 -inherit cmake flag-o-matic llvm llvm.org python-any-r1 toolchain-funcs
210 -
211 -DESCRIPTION="Compiler runtime library for clang (built-in part)"
212 -HOMEPAGE="https://llvm.org/"
213 -
214 -LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
215 -SLOT="$(ver_cut 1-3)"
216 -KEYWORDS=""
217 -IUSE="+abi_x86_32 abi_x86_64 +clang debug test"
218 -RESTRICT="!test? ( test ) !clang? ( test )"
219 -
220 -CLANG_SLOT=${SLOT%%.*}
221 -# llvm-6 for new lit options
222 -DEPEND="
223 - >=sys-devel/llvm-6
224 -"
225 -BDEPEND="
226 - >=dev-util/cmake-3.16
227 - clang? ( sys-devel/clang )
228 - test? (
229 - $(python_gen_any_dep ">=dev-python/lit-15[\${PYTHON_USEDEP}]")
230 - =sys-devel/clang-${PV%_*}*:${CLANG_SLOT}
231 - )
232 - !test? (
233 - ${PYTHON_DEPS}
234 - )
235 -"
236 -
237 -LLVM_COMPONENTS=( compiler-rt cmake llvm/cmake )
238 -LLVM_PATCHSET=${PV/_/-}
239 -llvm.org_set_globals
240 -
241 -python_check_deps() {
242 - use test || return 0
243 - python_has_version ">=dev-python/lit-15[${PYTHON_USEDEP}]"
244 -}
245 -
246 -pkg_pretend() {
247 - if ! use clang && ! tc-is-clang; then
248 - ewarn "Building using a compiler other than clang may result in broken atomics"
249 - ewarn "library. Enable USE=clang unless you have a very good reason not to."
250 - fi
251 -}
252 -
253 -pkg_setup() {
254 - # Darwin Prefix builds do not have llvm installed yet, so rely on
255 - # bootstrap-prefix to set the appropriate path vars to LLVM instead
256 - # of using llvm_pkg_setup.
257 - if [[ ${CHOST} != *-darwin* ]] || has_version dev-lang/llvm; then
258 - llvm_pkg_setup
259 - fi
260 - python-any-r1_pkg_setup
261 -}
262 -
263 -test_compiler() {
264 - $(tc-getCC) ${CFLAGS} ${LDFLAGS} "${@}" -o /dev/null -x c - \
265 - <<<'int main() { return 0; }' &>/dev/null
266 -}
267 -
268 -src_configure() {
269 - # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
270 - use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
271 -
272 - # pre-set since we need to pass it to cmake
273 - BUILD_DIR=${WORKDIR}/${P}_build
274 -
275 - if use clang; then
276 - # Only do this conditionally to allow overriding with
277 - # e.g. CC=clang-13 in case of breakage
278 - if ! tc-is-clang ; then
279 - local -x CC=${CHOST}-clang
280 - local -x CXX=${CHOST}-clang++
281 - fi
282 -
283 - strip-unsupported-flags
284 - fi
285 -
286 - if ! test_compiler; then
287 - local nolib_flags=( -nodefaultlibs -lc )
288 -
289 - if test_compiler "${nolib_flags[@]}"; then
290 - local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}"
291 - ewarn "${CC} seems to lack runtime, trying with ${nolib_flags[*]}"
292 - elif test_compiler "${nolib_flags[@]}" -nostartfiles; then
293 - # Avoiding -nostartfiles earlier on for bug #862540,
294 - # and set available entry symbol for bug #862798.
295 - nolib_flags+=( -nostartfiles -emain )
296 -
297 - local -x LDFLAGS="${LDFLAGS} ${nolib_flags[*]}"
298 - ewarn "${CC} seems to lack runtime, trying with ${nolib_flags[*]}"
299 - fi
300 - fi
301 -
302 - local mycmakeargs=(
303 - -DCOMPILER_RT_INSTALL_PATH="${EPREFIX}/usr/lib/clang/${SLOT}"
304 -
305 - -DCOMPILER_RT_INCLUDE_TESTS=$(usex test)
306 - -DCOMPILER_RT_BUILD_LIBFUZZER=OFF
307 - -DCOMPILER_RT_BUILD_MEMPROF=OFF
308 - -DCOMPILER_RT_BUILD_ORC=OFF
309 - -DCOMPILER_RT_BUILD_PROFILE=OFF
310 - -DCOMPILER_RT_BUILD_SANITIZERS=OFF
311 - -DCOMPILER_RT_BUILD_XRAY=OFF
312 -
313 - -DPython3_EXECUTABLE="${PYTHON}"
314 - )
315 -
316 - if use amd64; then
317 - mycmakeargs+=(
318 - -DCAN_TARGET_i386=$(usex abi_x86_32)
319 - -DCAN_TARGET_x86_64=$(usex abi_x86_64)
320 - )
321 - fi
322 -
323 - if use prefix && [[ "${CHOST}" == *-darwin* ]] ; then
324 - mycmakeargs+=(
325 - # setting -isysroot is disabled with compiler-rt-prefix-paths.patch
326 - # this allows adding arm64 support using SDK in EPREFIX
327 - -DDARWIN_macosx_CACHED_SYSROOT="${EPREFIX}/MacOSX.sdk"
328 - # Set version based on the SDK in EPREFIX.
329 - # This disables i386 for SDK >= 10.15
330 - -DDARWIN_macosx_OVERRIDE_SDK_VERSION="$(realpath ${EPREFIX}/MacOSX.sdk | sed -e 's/.*MacOSX\(.*\)\.sdk/\1/')"
331 - # Use our libtool instead of looking it up with xcrun
332 - -DCMAKE_LIBTOOL="${EPREFIX}/usr/bin/${CHOST}-libtool"
333 - )
334 - fi
335 -
336 - if use test; then
337 - mycmakeargs+=(
338 - -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
339 - -DLLVM_LIT_ARGS="$(get_lit_flags)"
340 -
341 - -DCOMPILER_RT_TEST_COMPILER="${EPREFIX}/usr/lib/llvm/${CLANG_SLOT}/bin/clang"
342 - -DCOMPILER_RT_TEST_CXX_COMPILER="${EPREFIX}/usr/lib/llvm/${CLANG_SLOT}/bin/clang++"
343 - )
344 - fi
345 -
346 - cmake_src_configure
347 -}
348 -
349 -src_test() {
350 - # respect TMPDIR!
351 - local -x LIT_PRESERVES_TMP=1
352 -
353 - cmake_build check-builtins
354 -}