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: Mon, 08 Nov 2021 11:25:46
Message-Id: 1636370727.bc14fa815a7526b09321e16a8a3977990791897b.mgorny@gentoo
1 commit: bc14fa815a7526b09321e16a8a3977990791897b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 8 11:04:19 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 8 11:25:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc14fa81
7
8 sys-libs/llvm-libunwind: Remove 10*
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-libs/llvm-libunwind/Manifest | 1 -
13 .../llvm-libunwind/llvm-libunwind-10.0.1.ebuild | 122 ---------------------
14 2 files changed, 123 deletions(-)
15
16 diff --git a/sys-libs/llvm-libunwind/Manifest b/sys-libs/llvm-libunwind/Manifest
17 index 10303759a73..826997b3c68 100644
18 --- a/sys-libs/llvm-libunwind/Manifest
19 +++ b/sys-libs/llvm-libunwind/Manifest
20 @@ -1,4 +1,3 @@
21 -DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1 SHA512 48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151
22 DIST llvmorg-11.1.0.tar.gz 122776532 BLAKE2B ca842ff4afff8f44c82b5e7383962a9c45ca1c93b64fa4c6ebcd70a1d3849dbad2b8e4e24fba02d144c6266d7fab3607ebc6999b28c229cb35256cf40f26a985 SHA512 9a8ce022a935eed42fa71a224f2a207122aadcbef58ee855fdb4825f879e7d028e4dcff22c19b9d336db1c8bf63fb84372d44981acf84615f757e54306c92b81
23 DIST llvmorg-12.0.1.tar.gz 134259748 BLAKE2B f41de787bc73ff2edfda1b22cc8602be6f65f37dd9e4c8888533cfa8c3ccdcf4f108aaab9de23ab0ab987966eb160f2a553a0bdff99461e71ddd5bfcd086090d SHA512 6eb0dc18e2c25935fabfdfc48b0114be0939158dfdef7b85b395fe2e71042672446af0e68750aae003c9847d10d1f63316fe95d3df738d18f249174292b1b9e1
24 DIST llvmorg-13.0.0.tar.gz 147270176 BLAKE2B 628f316b580e1edf3a58d4825b724df759e6ed2a4116802470c04562caefc392fa325c91f388036365a2e45a9595cca6d3557fab12984fc8bcfef29c9116d822 SHA512 8004c05d32b9720fb3391783621690c1df9bd1e97e72cbff9192ed88a84b0acd303b61432145fa917b5b5e548c8cee29b24ef8547dcc8677adf4816e7a8a0eb2
25
26 diff --git a/sys-libs/llvm-libunwind/llvm-libunwind-10.0.1.ebuild b/sys-libs/llvm-libunwind/llvm-libunwind-10.0.1.ebuild
27 deleted file mode 100644
28 index ad26bc1602f..00000000000
29 --- a/sys-libs/llvm-libunwind/llvm-libunwind-10.0.1.ebuild
30 +++ /dev/null
31 @@ -1,122 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -CMAKE_ECLASS=cmake
38 -PYTHON_COMPAT=( python3_{7..9} )
39 -inherit cmake-multilib llvm llvm.org python-any-r1
40 -
41 -DESCRIPTION="C++ runtime stack unwinder from LLVM"
42 -HOMEPAGE="https://github.com/llvm-mirror/libunwind"
43 -LLVM_COMPONENTS=( libunwind )
44 -LLVM_TEST_COMPONENTS=( libcxx{,abi} )
45 -llvm.org_set_globals
46 -
47 -LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
48 -SLOT="0"
49 -KEYWORDS="amd64 arm arm64 x86"
50 -IUSE="debug static-libs test"
51 -RESTRICT="!test? ( test )"
52 -
53 -RDEPEND="!sys-libs/libunwind"
54 -# llvm-6 for new lit options
55 -DEPEND="
56 - >=sys-devel/llvm-6"
57 -BDEPEND="
58 - test? ( >=sys-devel/clang-3.9.0
59 - $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') )"
60 -
61 -python_check_deps() {
62 - has_version "dev-python/lit[${PYTHON_USEDEP}]"
63 -}
64 -
65 -pkg_setup() {
66 - use test && python-any-r1_pkg_setup
67 -}
68 -
69 -multilib_src_configure() {
70 - local libdir=$(get_libdir)
71 -
72 - local mycmakeargs=(
73 - -DLLVM_LIBDIR_SUFFIX=${libdir#lib}
74 - -DLIBUNWIND_ENABLE_ASSERTIONS=$(usex debug)
75 - -DLIBUNWIND_ENABLE_STATIC=$(usex static-libs)
76 - -DLLVM_INCLUDE_TESTS=$(usex test)
77 -
78 - # support non-native unwinding; given it's small enough,
79 - # enable it unconditionally
80 - -DLIBUNWIND_ENABLE_CROSS_UNWINDING=ON
81 - )
82 - if use test; then
83 - local clang_path=$(type -P "${CHOST:+${CHOST}-}clang" 2>/dev/null)
84 - [[ -n ${clang_path} ]] || die "Unable to find ${CHOST}-clang for tests"
85 -
86 - mycmakeargs+=(
87 - -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
88 - -DLLVM_LIT_ARGS="$(get_lit_flags);--param=cxx_under_test=${clang_path}"
89 - -DLIBUNWIND_LIBCXX_PATH="${WORKDIR}/libcxx"
90 - )
91 - fi
92 -
93 - cmake_src_configure
94 -}
95 -
96 -build_libcxxabi() {
97 - local -x LDFLAGS="${LDFLAGS} -L${BUILD_DIR}/$(get_libdir)"
98 - local CMAKE_USE_DIR=${WORKDIR}/libcxxabi
99 - local BUILD_DIR=${BUILD_DIR}/libcxxabi
100 - local mycmakeargs=(
101 - -DLIBCXXABI_LIBDIR_SUFFIX=
102 - -DLIBCXXABI_ENABLE_SHARED=OFF
103 - -DLIBCXXABI_ENABLE_STATIC=ON
104 - -DLIBCXXABI_USE_LLVM_UNWINDER=ON
105 - -DLIBCXXABI_INCLUDE_TESTS=OFF
106 -
107 - -DLIBCXXABI_LIBCXX_INCLUDES="${WORKDIR}"/libcxx/include
108 - -DLIBCXXABI_LIBUNWIND_INCLUDES="${S}"/include
109 - )
110 -
111 - cmake_src_configure
112 - cmake_src_compile
113 -}
114 -
115 -build_libcxx() {
116 - local -x LDFLAGS="${LDFLAGS} -L${BUILD_DIR}/libcxxabi/lib -L${BUILD_DIR}/$(get_libdir)"
117 - local CMAKE_USE_DIR=${WORKDIR}/libcxx
118 - local BUILD_DIR=${BUILD_DIR}/libcxx
119 - local mycmakeargs=(
120 - -DLIBCXX_LIBDIR_SUFFIX=
121 - -DLIBCXX_ENABLE_SHARED=OFF
122 - -DLIBCXX_ENABLE_STATIC=ON
123 - -DLIBCXX_ENABLE_EXPERIMENTAL_LIBRARY=OFF
124 - -DLIBCXXABI_USE_LLVM_UNWINDER=ON
125 - -DLIBCXX_CXX_ABI=libcxxabi
126 - -DLIBCXX_CXX_ABI_INCLUDE_PATHS="${WORKDIR}"/libcxxabi/include
127 - -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF
128 - -DLIBCXX_HAS_MUSL_LIBC=$(usex elibc_musl)
129 - -DLIBCXX_HAS_GCC_S_LIB=OFF
130 - -DLIBCXX_INCLUDE_TESTS=OFF
131 - )
132 -
133 - cmake_src_configure
134 - cmake_src_compile
135 -}
136 -
137 -multilib_src_test() {
138 - # build local copies of libc++ & libc++abi for testing to avoid
139 - # circular deps
140 - build_libcxxabi
141 - build_libcxx
142 - mv "${BUILD_DIR}"/libcxx*/lib/libc++* "${BUILD_DIR}/$(get_libdir)/" || die
143 -
144 - local -x LIT_PRESERVES_TMP=1
145 - cmake_build check-unwind
146 -}
147 -
148 -multilib_src_install() {
149 - cmake_src_install
150 -
151 - # install headers like sys-libs/libunwind
152 - doheader "${S}"/include/*.h
153 -}