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/llvm-libunwind/
Date: Wed, 06 Jan 2021 21:23:58
Message-Id: 1609968203.d0c42dfecea3b8a4e4bbeab6d047a71f8d3234cd.mgorny@gentoo
1 commit: d0c42dfecea3b8a4e4bbeab6d047a71f8d3234cd
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 6 17:18:53 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 6 21:23:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0c42dfe
7
8 sys-libs/llvm-libunwind: Remove 11.0.1 RCs and live
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-libs/llvm-libunwind/Manifest | 2 -
13 .../llvm-libunwind-11.0.1.9999.ebuild | 124 ---------------------
14 .../llvm-libunwind-11.0.1_rc1.ebuild | 124 ---------------------
15 .../llvm-libunwind-11.0.1_rc2.ebuild | 124 ---------------------
16 4 files changed, 374 deletions(-)
17
18 diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
19 index 29b0efe3c21..47a7ff9f78f 100644
20 --- a/sys-libs/llvm-libunwind/Manifest
21 +++ b/sys-libs/llvm-libunwind/Manifest
22 @@ -1,6 +1,4 @@
23 DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1 SHA512 48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151
24 DIST llvmorg-11.0.0.tar.gz 122743665 BLAKE2B 3f95570240789fd68ddb747df817f5c6cdc9da40911bbe9ee3531c15ada9165e5002b1c2f778cf8735858485ea05a8754e3d3a5f4b15bdd6cb33d64a14692984 SHA512 b6d38871ccce0e086e27d35e42887618d68e57d8274735c59e3eabc42dee352412489296293f8d5169fe0044936345915ee7da61ebdc64ec10f7737f6ecd90f2
25 -DIST llvmorg-11.0.1-rc1.tar.gz 122777435 BLAKE2B 23b520d33cf4b641027ee52bb10c6171d60356c9167d5b94012929e6e547c526cda1a6177c295ed19592dfb83b020f63b2cef4cabc70ce9a2a8e098fe654a3cd SHA512 605c7bbff1610f335be8ea4f1204df797fed21185a54c77565f6ff2d00794d1967e9c5fab7c87633e242f2f999bdffb76da83f756d261c1ca476114599409ae1
26 -DIST llvmorg-11.0.1-rc2.tar.gz 122793330 BLAKE2B 5d42f7bd7ba253ac3ca08cf9901c79db5b51b86f0f66c8e63f4f9808ca5fb72cacccfad098b4f6701a34b0d77bdd66fe3839a3962a251eae53776240a2e13b06 SHA512 acda5a5be38cc8aae730c34cd1bb8f29a82e2ed3dd9734ca293ff092d5b30c8c255ab3054245b8f6ed541d5dbf8bc674b744bb2f81788db8826f69a204dda0c3
27 DIST llvmorg-11.0.1.tar.gz 122790338 BLAKE2B 0130996b4a8c4d9f757136fd7fb318068c9bfdc565060dec0d4336480c4ab66c4ae3185a7fdb05f13cf9ee8fd4123b09df938881b75d6e5d3689595114b7e32a SHA512 f5e6ef0b3111aae08a89cd01adb2ff4abfa9ef779c68b9190421d0447efd25c2cc00e5aae9f4764805f5fa31434866043d1510ae7389817e28ae53a5442e2fdf
28 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f SHA512 fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
29
30 diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-11.0.1.9999.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-11.0.1.9999.ebuild
31 deleted file mode 100644
32 index 38385b9304f..00000000000
33 --- a/sys-libs/llvm-libunwind/llvm-libunwind-11.0.1.9999.ebuild
34 +++ /dev/null
35 @@ -1,124 +0,0 @@
36 -# Copyright 1999-2020 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=7
40 -
41 -CMAKE_ECLASS=cmake
42 -PYTHON_COMPAT=( python3_{6..9} )
43 -inherit cmake-multilib llvm llvm.org python-any-r1
44 -
45 -DESCRIPTION="C++ runtime stack unwinder from LLVM"
46 -HOMEPAGE="https://github.com/llvm-mirror/libunwind"
47 -
48 -LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
49 -SLOT="0"
50 -KEYWORDS=""
51 -IUSE="debug +static-libs test"
52 -RESTRICT="!test? ( test )"
53 -
54 -RDEPEND="!sys-libs/libunwind"
55 -# llvm-6 for new lit options
56 -DEPEND="
57 - >=sys-devel/llvm-6"
58 -BDEPEND="
59 - test? ( >=sys-devel/clang-3.9.0
60 - $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
61 - )"
62 -
63 -LLVM_COMPONENTS=( libunwind )
64 -LLVM_TEST_COMPONENTS=( libcxx{,abi} llvm/cmake )
65 -llvm.org_set_globals
66 -
67 -python_check_deps() {
68 - has_version "dev-python/lit[${PYTHON_USEDEP}]"
69 -}
70 -
71 -pkg_setup() {
72 - use test && python-any-r1_pkg_setup
73 -}
74 -
75 -multilib_src_configure() {
76 - local libdir=$(get_libdir)
77 -
78 - local mycmakeargs=(
79 - -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
80 - -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug)
81 - -DLIBUNWIND_ENABLE_STATIC=$(usex static-libs)
82 - -DLLVM_INCLUDE_TESTS=$(usex test)
83 -
84 - # support non-native unwinding; given it's small enough,
85 - # enable it unconditionally
86 - -DLIBUNWIND_ENABLE_CROSS_UNWINDING=ON
87 - )
88 - if use test; then
89 - local clang_path=$(type -P "${CHOST:+${CHOST}-}clang" 2>/dev/null)
90 - [[ -n ${clang_path} ]] || die "Unable to find ${CHOST}-clang for tests"
91 -
92 - mycmakeargs+=(
93 - -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
94 - -DLLVM_LIT_ARGS="$(get_lit_flags);--param=cxx_under_test=${clang_path}"
95 - -DLIBUNWIND_LIBCXX_PATH="${WORKDIR}/libcxx"
96 - )
97 - fi
98 -
99 - cmake_src_configure
100 -}
101 -
102 -build_libcxxabi() {
103 - local -x LDFLAGS="${LDFLAGS} -L${BUILD_DIR}/$(get_libdir)"
104 - local CMAKE_USE_DIR=${WORKDIR}/libcxxabi
105 - local BUILD_DIR=${BUILD_DIR}/libcxxabi
106 - local mycmakeargs=(
107 - -DLIBCXXABI_LIBDIR_SUFFIX=
108 - -DLIBCXXABI_ENABLE_SHARED=OFF
109 - -DLIBCXXABI_ENABLE_STATIC=ONF
110 - -DLIBCXXABI_USE_LLVM_UNWINDER=ON
111 - -DLIBCXXABI_INCLUDE_TESTS=OFF
112 -
113 - -DLIBCXXABI_LIBCXX_INCLUDES="${WORKDIR}"/libcxx/include
114 - -DLIBCXXABI_LIBUNWIND_INCLUDES="${S}"/include
115 - )
116 -
117 - cmake_src_configure
118 - cmake_src_compile
119 -}
120 -
121 -build_libcxx() {
122 - local -x LDFLAGS="${LDFLAGS} -L${BUILD_DIR}/libcxxabi/lib -L${BUILD_DIR}/$(get_libdir)"
123 - local CMAKE_USE_DIR=${WORKDIR}/libcxx
124 - local BUILD_DIR=${BUILD_DIR}/libcxx
125 - local mycmakeargs=(
126 - -DLIBCXX_LIBDIR_SUFFIX=
127 - -DLIBCXX_ENABLE_SHARED=OFF
128 - -DLIBCXX_ENABLE_STATIC=ON
129 - -DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=OFF
130 - -DLIBCXXABI_USE_LLVM_UNWINDER=ON
131 - -DLIBCXX_CXX_ABI=libcxxabi
132 - -DLIBCXX_CXX_ABI_INCLUDE_PATHS="${WORKDIR}"/libcxxabi/include
133 - -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF
134 - -DLIBCXX_HAS_MUSL_LIBC=$(usex elibc_musl)
135 - -DLIBCXX_HAS_GCC_S_LIB=OFF
136 - -DLIBCXX_INCLUDE_TESTS=OFF
137 - )
138 -
139 - cmake_src_configure
140 - cmake_src_compile
141 -}
142 -
143 -multilib_src_test() {
144 - # build local copies of libc++ & libc++abi for testing to avoid
145 - # circular deps
146 - build_libcxxabi
147 - build_libcxx
148 - mv "${BUILD_DIR}"/libcxx*/lib/libc++* "${BUILD_DIR}/$(get_libdir)/" || die
149 -
150 - local -x LIT_PRESERVES_TMP=1
151 - cmake_build check-unwind
152 -}
153 -
154 -multilib_src_install() {
155 - cmake_src_install
156 -
157 - # install headers like sys-libs/libunwind
158 - doheader "${S}"/include/*.h
159 -}
160
161 diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-11.0.1_rc1.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-11.0.1_rc1.ebuild
162 deleted file mode 100644
163 index 38385b9304f..00000000000
164 --- a/sys-libs/llvm-libunwind/llvm-libunwind-11.0.1_rc1.ebuild
165 +++ /dev/null
166 @@ -1,124 +0,0 @@
167 -# Copyright 1999-2020 Gentoo Authors
168 -# Distributed under the terms of the GNU General Public License v2
169 -
170 -EAPI=7
171 -
172 -CMAKE_ECLASS=cmake
173 -PYTHON_COMPAT=( python3_{6..9} )
174 -inherit cmake-multilib llvm llvm.org python-any-r1
175 -
176 -DESCRIPTION="C++ runtime stack unwinder from LLVM"
177 -HOMEPAGE="https://github.com/llvm-mirror/libunwind"
178 -
179 -LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
180 -SLOT="0"
181 -KEYWORDS=""
182 -IUSE="debug +static-libs test"
183 -RESTRICT="!test? ( test )"
184 -
185 -RDEPEND="!sys-libs/libunwind"
186 -# llvm-6 for new lit options
187 -DEPEND="
188 - >=sys-devel/llvm-6"
189 -BDEPEND="
190 - test? ( >=sys-devel/clang-3.9.0
191 - $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
192 - )"
193 -
194 -LLVM_COMPONENTS=( libunwind )
195 -LLVM_TEST_COMPONENTS=( libcxx{,abi} llvm/cmake )
196 -llvm.org_set_globals
197 -
198 -python_check_deps() {
199 - has_version "dev-python/lit[${PYTHON_USEDEP}]"
200 -}
201 -
202 -pkg_setup() {
203 - use test && python-any-r1_pkg_setup
204 -}
205 -
206 -multilib_src_configure() {
207 - local libdir=$(get_libdir)
208 -
209 - local mycmakeargs=(
210 - -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
211 - -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug)
212 - -DLIBUNWIND_ENABLE_STATIC=$(usex static-libs)
213 - -DLLVM_INCLUDE_TESTS=$(usex test)
214 -
215 - # support non-native unwinding; given it's small enough,
216 - # enable it unconditionally
217 - -DLIBUNWIND_ENABLE_CROSS_UNWINDING=ON
218 - )
219 - if use test; then
220 - local clang_path=$(type -P "${CHOST:+${CHOST}-}clang" 2>/dev/null)
221 - [[ -n ${clang_path} ]] || die "Unable to find ${CHOST}-clang for tests"
222 -
223 - mycmakeargs+=(
224 - -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
225 - -DLLVM_LIT_ARGS="$(get_lit_flags);--param=cxx_under_test=${clang_path}"
226 - -DLIBUNWIND_LIBCXX_PATH="${WORKDIR}/libcxx"
227 - )
228 - fi
229 -
230 - cmake_src_configure
231 -}
232 -
233 -build_libcxxabi() {
234 - local -x LDFLAGS="${LDFLAGS} -L${BUILD_DIR}/$(get_libdir)"
235 - local CMAKE_USE_DIR=${WORKDIR}/libcxxabi
236 - local BUILD_DIR=${BUILD_DIR}/libcxxabi
237 - local mycmakeargs=(
238 - -DLIBCXXABI_LIBDIR_SUFFIX=
239 - -DLIBCXXABI_ENABLE_SHARED=OFF
240 - -DLIBCXXABI_ENABLE_STATIC=ONF
241 - -DLIBCXXABI_USE_LLVM_UNWINDER=ON
242 - -DLIBCXXABI_INCLUDE_TESTS=OFF
243 -
244 - -DLIBCXXABI_LIBCXX_INCLUDES="${WORKDIR}"/libcxx/include
245 - -DLIBCXXABI_LIBUNWIND_INCLUDES="${S}"/include
246 - )
247 -
248 - cmake_src_configure
249 - cmake_src_compile
250 -}
251 -
252 -build_libcxx() {
253 - local -x LDFLAGS="${LDFLAGS} -L${BUILD_DIR}/libcxxabi/lib -L${BUILD_DIR}/$(get_libdir)"
254 - local CMAKE_USE_DIR=${WORKDIR}/libcxx
255 - local BUILD_DIR=${BUILD_DIR}/libcxx
256 - local mycmakeargs=(
257 - -DLIBCXX_LIBDIR_SUFFIX=
258 - -DLIBCXX_ENABLE_SHARED=OFF
259 - -DLIBCXX_ENABLE_STATIC=ON
260 - -DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=OFF
261 - -DLIBCXXABI_USE_LLVM_UNWINDER=ON
262 - -DLIBCXX_CXX_ABI=libcxxabi
263 - -DLIBCXX_CXX_ABI_INCLUDE_PATHS="${WORKDIR}"/libcxxabi/include
264 - -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF
265 - -DLIBCXX_HAS_MUSL_LIBC=$(usex elibc_musl)
266 - -DLIBCXX_HAS_GCC_S_LIB=OFF
267 - -DLIBCXX_INCLUDE_TESTS=OFF
268 - )
269 -
270 - cmake_src_configure
271 - cmake_src_compile
272 -}
273 -
274 -multilib_src_test() {
275 - # build local copies of libc++ & libc++abi for testing to avoid
276 - # circular deps
277 - build_libcxxabi
278 - build_libcxx
279 - mv "${BUILD_DIR}"/libcxx*/lib/libc++* "${BUILD_DIR}/$(get_libdir)/" || die
280 -
281 - local -x LIT_PRESERVES_TMP=1
282 - cmake_build check-unwind
283 -}
284 -
285 -multilib_src_install() {
286 - cmake_src_install
287 -
288 - # install headers like sys-libs/libunwind
289 - doheader "${S}"/include/*.h
290 -}
291
292 diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-11.0.1_rc2.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-11.0.1_rc2.ebuild
293 deleted file mode 100644
294 index 38385b9304f..00000000000
295 --- a/sys-libs/llvm-libunwind/llvm-libunwind-11.0.1_rc2.ebuild
296 +++ /dev/null
297 @@ -1,124 +0,0 @@
298 -# Copyright 1999-2020 Gentoo Authors
299 -# Distributed under the terms of the GNU General Public License v2
300 -
301 -EAPI=7
302 -
303 -CMAKE_ECLASS=cmake
304 -PYTHON_COMPAT=( python3_{6..9} )
305 -inherit cmake-multilib llvm llvm.org python-any-r1
306 -
307 -DESCRIPTION="C++ runtime stack unwinder from LLVM"
308 -HOMEPAGE="https://github.com/llvm-mirror/libunwind"
309 -
310 -LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
311 -SLOT="0"
312 -KEYWORDS=""
313 -IUSE="debug +static-libs test"
314 -RESTRICT="!test? ( test )"
315 -
316 -RDEPEND="!sys-libs/libunwind"
317 -# llvm-6 for new lit options
318 -DEPEND="
319 - >=sys-devel/llvm-6"
320 -BDEPEND="
321 - test? ( >=sys-devel/clang-3.9.0
322 - $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]')
323 - )"
324 -
325 -LLVM_COMPONENTS=( libunwind )
326 -LLVM_TEST_COMPONENTS=( libcxx{,abi} llvm/cmake )
327 -llvm.org_set_globals
328 -
329 -python_check_deps() {
330 - has_version "dev-python/lit[${PYTHON_USEDEP}]"
331 -}
332 -
333 -pkg_setup() {
334 - use test && python-any-r1_pkg_setup
335 -}
336 -
337 -multilib_src_configure() {
338 - local libdir=$(get_libdir)
339 -
340 - local mycmakeargs=(
341 - -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
342 - -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug)
343 - -DLIBUNWIND_ENABLE_STATIC=$(usex static-libs)
344 - -DLLVM_INCLUDE_TESTS=$(usex test)
345 -
346 - # support non-native unwinding; given it's small enough,
347 - # enable it unconditionally
348 - -DLIBUNWIND_ENABLE_CROSS_UNWINDING=ON
349 - )
350 - if use test; then
351 - local clang_path=$(type -P "${CHOST:+${CHOST}-}clang" 2>/dev/null)
352 - [[ -n ${clang_path} ]] || die "Unable to find ${CHOST}-clang for tests"
353 -
354 - mycmakeargs+=(
355 - -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
356 - -DLLVM_LIT_ARGS="$(get_lit_flags);--param=cxx_under_test=${clang_path}"
357 - -DLIBUNWIND_LIBCXX_PATH="${WORKDIR}/libcxx"
358 - )
359 - fi
360 -
361 - cmake_src_configure
362 -}
363 -
364 -build_libcxxabi() {
365 - local -x LDFLAGS="${LDFLAGS} -L${BUILD_DIR}/$(get_libdir)"
366 - local CMAKE_USE_DIR=${WORKDIR}/libcxxabi
367 - local BUILD_DIR=${BUILD_DIR}/libcxxabi
368 - local mycmakeargs=(
369 - -DLIBCXXABI_LIBDIR_SUFFIX=
370 - -DLIBCXXABI_ENABLE_SHARED=OFF
371 - -DLIBCXXABI_ENABLE_STATIC=ONF
372 - -DLIBCXXABI_USE_LLVM_UNWINDER=ON
373 - -DLIBCXXABI_INCLUDE_TESTS=OFF
374 -
375 - -DLIBCXXABI_LIBCXX_INCLUDES="${WORKDIR}"/libcxx/include
376 - -DLIBCXXABI_LIBUNWIND_INCLUDES="${S}"/include
377 - )
378 -
379 - cmake_src_configure
380 - cmake_src_compile
381 -}
382 -
383 -build_libcxx() {
384 - local -x LDFLAGS="${LDFLAGS} -L${BUILD_DIR}/libcxxabi/lib -L${BUILD_DIR}/$(get_libdir)"
385 - local CMAKE_USE_DIR=${WORKDIR}/libcxx
386 - local BUILD_DIR=${BUILD_DIR}/libcxx
387 - local mycmakeargs=(
388 - -DLIBCXX_LIBDIR_SUFFIX=
389 - -DLIBCXX_ENABLE_SHARED=OFF
390 - -DLIBCXX_ENABLE_STATIC=ON
391 - -DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=OFF
392 - -DLIBCXXABI_USE_LLVM_UNWINDER=ON
393 - -DLIBCXX_CXX_ABI=libcxxabi
394 - -DLIBCXX_CXX_ABI_INCLUDE_PATHS="${WORKDIR}"/libcxxabi/include
395 - -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF
396 - -DLIBCXX_HAS_MUSL_LIBC=$(usex elibc_musl)
397 - -DLIBCXX_HAS_GCC_S_LIB=OFF
398 - -DLIBCXX_INCLUDE_TESTS=OFF
399 - )
400 -
401 - cmake_src_configure
402 - cmake_src_compile
403 -}
404 -
405 -multilib_src_test() {
406 - # build local copies of libc++ & libc++abi for testing to avoid
407 - # circular deps
408 - build_libcxxabi
409 - build_libcxx
410 - mv "${BUILD_DIR}"/libcxx*/lib/libc++* "${BUILD_DIR}/$(get_libdir)/" || die
411 -
412 - local -x LIT_PRESERVES_TMP=1
413 - cmake_build check-unwind
414 -}
415 -
416 -multilib_src_install() {
417 - cmake_src_install
418 -
419 - # install headers like sys-libs/libunwind
420 - doheader "${S}"/include/*.h
421 -}