1 |
commit: 63f23c62283045e1212fee3885a826b9087348a2 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 28 13:08:09 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 28 13:08:09 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63f23c62 |
7 |
|
8 |
dev-util/lldb: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-util/lldb/Manifest | 4 - |
13 |
dev-util/lldb/lldb-16.0.0_rc2.ebuild | 115 --------------------------- |
14 |
dev-util/lldb/lldb-17.0.0_pre20230211.ebuild | 115 --------------------------- |
15 |
dev-util/lldb/lldb-17.0.0_pre20230218.ebuild | 115 --------------------------- |
16 |
4 files changed, 349 deletions(-) |
17 |
|
18 |
diff --git a/dev-util/lldb/Manifest b/dev-util/lldb/Manifest |
19 |
index b3ac1c92b538..f60583ac2e4c 100644 |
20 |
--- a/dev-util/lldb/Manifest |
21 |
+++ b/dev-util/lldb/Manifest |
22 |
@@ -2,10 +2,6 @@ DIST llvm-project-14.0.6.src.tar.xz 105618228 BLAKE2B ee67c5407df8cef493b9c0004f |
23 |
DIST llvm-project-14.0.6.src.tar.xz.sig 566 BLAKE2B cb658ad43d8ab6c43a5773aedadf0569c97b5ee4b1bd58eceb10e1879a30880c741c3d66bedd462c892309b688fb7b2673115a62d1f74d71ee375a578de9547f SHA512 b4a7b368532a7a4a24376cfa7db8f6d3478f6d4446474342fc00b474ecf466330cd0f16783209263c4c72d5fc7ddedfb11b95578842e700cfb7ee0bb34cc95d6 |
24 |
DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5 SHA512 4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52 |
25 |
DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 |
26 |
-DIST llvm-project-16.0.0rc2.src.tar.xz 117917640 BLAKE2B 92c6b1daaa500339403dcf530efb23e1d869c7b9cd8677a6680e57d5d087fb54182f009d58bdda714b62a5866d7fe3b10deedc1e251fffdaae513706d95325af SHA512 c68bb7f2a8004666ecc5c55e89e2ca1252b384e6240a2b7c5588b74794ffc6ce93bb4b0db394abba6436cce04a6de301e80821aeda04d7aab49efb96b6f8cf40 |
27 |
-DIST llvm-project-16.0.0rc2.src.tar.xz.sig 566 BLAKE2B 35b2a8edf3392e1c0e9bf7f1a5e6e18fdda3d98a2164947cebf0c19d7d7c7a459901060345745dff794cf99bea243fec5cb625ca68d7c73d31ac01f18cbaa58c SHA512 4f6d43f00c3bce36c3a005441473fe37fe2ca97df4b8dd306045bd0d8bd14406ae7068a3dea54d4535eaa37b7ccca54b3f5b6f5aef70a7dfc23ed336d4ad408c |
28 |
DIST llvm-project-16.0.0rc3.src.tar.xz 117914548 BLAKE2B 18ffa35eb73c7cc4626d7b6b7b30aade7171ee2e17fb8d72e79a67185e809f611fefa4cfef17e5cd16822a5a70de2222534dc9f146fc53987eb49ff6a9d98c18 SHA512 d14e5e5ec984a0dc0292a2d27440398b3e32f120c1579517054dcb1a05dbc4ac5f1c6d078a3d6ef8597a71af6f22863868680a972a571839dcd573418b4a4697 |
29 |
DIST llvm-project-16.0.0rc3.src.tar.xz.sig 566 BLAKE2B 43683d2d7b266a847516f71412bf6236a355462430330fc0da1d624fb8dfbc98bfc982d367baee74d5b4964a9e82e7a4a6ea84bdcff3996d246932f516cced1a SHA512 61adc4dc3eb5a4c11a7f96f9267ff37895e5845a08d48a609a03a2696c1b6bca5af5861a6f28de936c48e6d621bf282170589187f2cb593a912b9078300cf47c |
30 |
-DIST llvm-project-22fb66eb94b643c858c2beecbcfac438a7fa29ed.tar.gz 179795537 BLAKE2B aef57ef739c52a8f8b2b327a8f6d8cce4734d9704018fb43a21468e56748e5d5b3d2d47fb4e95fd72b2af9f2e4be88839553e26fd7da08df60c5cc0f51c001d4 SHA512 9ed093ef7dac4891660aafbc5cad66bddefa796bff4dd70c792cc636268742142d82b84520ac2f5a5963521d7b9e4325440763ce0c88937f89722f07d3acd4b8 |
31 |
-DIST llvm-project-5e262d58c42668c78d932fab6bf75cf8c3b9d07e.tar.gz 179975303 BLAKE2B 184e7ff6e9a7de77d4a8c36c6910e4e3c7c5e9ff73ed6111ec4704dd457205278abb258ff37170e41a6b21c9ae3f243a80b34e4b17f8977fb9a42876db6465b7 SHA512 ec7e16a4d8f8292d1184ae08c1c5eda0dba1876e7d9c228eb0added5cde45f3094fde7eb1da662d436f85315850310cc0612210ff3ddf82967d5c2de0047a724 |
32 |
DIST llvm-project-b0676fb0fb0a44a4a1c4ec1f0270fef1f1842817.tar.gz 180277698 BLAKE2B d2c1e6a1942e51f5844c18605f38b005e9bb4123850a173e4c4b3d7b6a14f4986c7b276b40df4d0594ae04e869e92ba1a4269c5055c0229cfd28aa1bd709da4f SHA512 d1281b942dcc254641865f11b0c4fbd1d562d016681b6b7268549bed1cdb7d4536f743a8ed089095eaab9f4bfb9de624153f448bf13d0e22f8ea24a4d264df7b |
33 |
|
34 |
diff --git a/dev-util/lldb/lldb-16.0.0_rc2.ebuild b/dev-util/lldb/lldb-16.0.0_rc2.ebuild |
35 |
deleted file mode 100644 |
36 |
index 985e9ba9d42f..000000000000 |
37 |
--- a/dev-util/lldb/lldb-16.0.0_rc2.ebuild |
38 |
+++ /dev/null |
39 |
@@ -1,115 +0,0 @@ |
40 |
-# Copyright 1999-2023 Gentoo Authors |
41 |
-# Distributed under the terms of the GNU General Public License v2 |
42 |
- |
43 |
-EAPI=8 |
44 |
- |
45 |
-PYTHON_COMPAT=( python3_{9..11} ) |
46 |
-inherit cmake llvm llvm.org python-single-r1 |
47 |
- |
48 |
-DESCRIPTION="The LLVM debugger" |
49 |
-HOMEPAGE="https://llvm.org/" |
50 |
- |
51 |
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" |
52 |
-SLOT="0/${LLVM_SOABI}" |
53 |
-KEYWORDS="" |
54 |
-IUSE="debug +libedit lzma ncurses +python test +xml" |
55 |
-RESTRICT="test" |
56 |
-REQUIRED_USE=${PYTHON_REQUIRED_USE} |
57 |
- |
58 |
-DEPEND=" |
59 |
- libedit? ( dev-libs/libedit:0= ) |
60 |
- lzma? ( app-arch/xz-utils:= ) |
61 |
- ncurses? ( >=sys-libs/ncurses-5.9-r3:0= ) |
62 |
- xml? ( dev-libs/libxml2:= ) |
63 |
- ~sys-devel/clang-${PV} |
64 |
- ~sys-devel/llvm-${PV} |
65 |
-" |
66 |
-RDEPEND=" |
67 |
- ${DEPEND} |
68 |
- python? ( |
69 |
- $(python_gen_cond_dep ' |
70 |
- dev-python/six[${PYTHON_USEDEP}] |
71 |
- ') |
72 |
- ${PYTHON_DEPS} |
73 |
- ) |
74 |
-" |
75 |
-BDEPEND=" |
76 |
- ${PYTHON_DEPS} |
77 |
- >=dev-util/cmake-3.16 |
78 |
- python? ( |
79 |
- >=dev-lang/swig-3.0.11 |
80 |
- $(python_gen_cond_dep ' |
81 |
- dev-python/six[${PYTHON_USEDEP}] |
82 |
- ') |
83 |
- ) |
84 |
- test? ( |
85 |
- $(python_gen_cond_dep " |
86 |
- ~dev-python/lit-${PV}[\${PYTHON_USEDEP}] |
87 |
- dev-python/psutil[\${PYTHON_USEDEP}] |
88 |
- ") |
89 |
- sys-devel/lld |
90 |
- ) |
91 |
-" |
92 |
- |
93 |
-LLVM_COMPONENTS=( lldb cmake llvm/utils ) |
94 |
-LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party ) |
95 |
-llvm.org_set_globals |
96 |
- |
97 |
-pkg_setup() { |
98 |
- LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup |
99 |
- python-single-r1_pkg_setup |
100 |
-} |
101 |
- |
102 |
-src_configure() { |
103 |
- # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 |
104 |
- use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" |
105 |
- |
106 |
- local mycmakeargs=( |
107 |
- -DLLDB_ENABLE_CURSES=$(usex ncurses) |
108 |
- -DLLDB_ENABLE_LIBEDIT=$(usex libedit) |
109 |
- -DLLDB_ENABLE_PYTHON=$(usex python) |
110 |
- -DLLDB_ENABLE_LUA=OFF |
111 |
- -DLLDB_ENABLE_LZMA=$(usex lzma) |
112 |
- -DLLDB_ENABLE_LIBXML2=$(usex xml) |
113 |
- -DLLDB_USE_SYSTEM_SIX=1 |
114 |
- -DLLVM_ENABLE_TERMINFO=$(usex ncurses) |
115 |
- |
116 |
- -DLLDB_INCLUDE_TESTS=$(usex test) |
117 |
- |
118 |
- -DCLANG_LINK_CLANG_DYLIB=ON |
119 |
- # TODO: fix upstream to detect this properly |
120 |
- -DHAVE_LIBDL=ON |
121 |
- -DHAVE_LIBPTHREAD=ON |
122 |
- |
123 |
- # normally we'd have to set LLVM_ENABLE_TERMINFO, HAVE_TERMINFO |
124 |
- # and TERMINFO_LIBS... so just force FindCurses.cmake to use |
125 |
- # ncurses with complete library set (including autodetection |
126 |
- # of -ltinfo) |
127 |
- -DCURSES_NEED_NCURSES=ON |
128 |
- |
129 |
- -DLLDB_EXTERNAL_CLANG_RESOURCE_DIR="${BROOT}/usr/lib/clang/${LLVM_MAJOR}" |
130 |
- |
131 |
- -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" |
132 |
- -DPython3_EXECUTABLE="${PYTHON}" |
133 |
- ) |
134 |
- use test && mycmakeargs+=( |
135 |
- -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" |
136 |
- -DLLVM_LIT_ARGS="$(get_lit_flags)" |
137 |
- ) |
138 |
- |
139 |
- cmake_src_configure |
140 |
-} |
141 |
- |
142 |
-src_test() { |
143 |
- local -x LIT_PRESERVES_TMP=1 |
144 |
- cmake_build check-lldb-{shell,unit} |
145 |
- # failures + hangs |
146 |
- #use python && cmake_build check-lldb-api |
147 |
-} |
148 |
- |
149 |
-src_install() { |
150 |
- cmake_src_install |
151 |
- find "${D}" -name '*.a' -delete || die |
152 |
- |
153 |
- use python && python_optimize |
154 |
-} |
155 |
|
156 |
diff --git a/dev-util/lldb/lldb-17.0.0_pre20230211.ebuild b/dev-util/lldb/lldb-17.0.0_pre20230211.ebuild |
157 |
deleted file mode 100644 |
158 |
index 985e9ba9d42f..000000000000 |
159 |
--- a/dev-util/lldb/lldb-17.0.0_pre20230211.ebuild |
160 |
+++ /dev/null |
161 |
@@ -1,115 +0,0 @@ |
162 |
-# Copyright 1999-2023 Gentoo Authors |
163 |
-# Distributed under the terms of the GNU General Public License v2 |
164 |
- |
165 |
-EAPI=8 |
166 |
- |
167 |
-PYTHON_COMPAT=( python3_{9..11} ) |
168 |
-inherit cmake llvm llvm.org python-single-r1 |
169 |
- |
170 |
-DESCRIPTION="The LLVM debugger" |
171 |
-HOMEPAGE="https://llvm.org/" |
172 |
- |
173 |
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" |
174 |
-SLOT="0/${LLVM_SOABI}" |
175 |
-KEYWORDS="" |
176 |
-IUSE="debug +libedit lzma ncurses +python test +xml" |
177 |
-RESTRICT="test" |
178 |
-REQUIRED_USE=${PYTHON_REQUIRED_USE} |
179 |
- |
180 |
-DEPEND=" |
181 |
- libedit? ( dev-libs/libedit:0= ) |
182 |
- lzma? ( app-arch/xz-utils:= ) |
183 |
- ncurses? ( >=sys-libs/ncurses-5.9-r3:0= ) |
184 |
- xml? ( dev-libs/libxml2:= ) |
185 |
- ~sys-devel/clang-${PV} |
186 |
- ~sys-devel/llvm-${PV} |
187 |
-" |
188 |
-RDEPEND=" |
189 |
- ${DEPEND} |
190 |
- python? ( |
191 |
- $(python_gen_cond_dep ' |
192 |
- dev-python/six[${PYTHON_USEDEP}] |
193 |
- ') |
194 |
- ${PYTHON_DEPS} |
195 |
- ) |
196 |
-" |
197 |
-BDEPEND=" |
198 |
- ${PYTHON_DEPS} |
199 |
- >=dev-util/cmake-3.16 |
200 |
- python? ( |
201 |
- >=dev-lang/swig-3.0.11 |
202 |
- $(python_gen_cond_dep ' |
203 |
- dev-python/six[${PYTHON_USEDEP}] |
204 |
- ') |
205 |
- ) |
206 |
- test? ( |
207 |
- $(python_gen_cond_dep " |
208 |
- ~dev-python/lit-${PV}[\${PYTHON_USEDEP}] |
209 |
- dev-python/psutil[\${PYTHON_USEDEP}] |
210 |
- ") |
211 |
- sys-devel/lld |
212 |
- ) |
213 |
-" |
214 |
- |
215 |
-LLVM_COMPONENTS=( lldb cmake llvm/utils ) |
216 |
-LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party ) |
217 |
-llvm.org_set_globals |
218 |
- |
219 |
-pkg_setup() { |
220 |
- LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup |
221 |
- python-single-r1_pkg_setup |
222 |
-} |
223 |
- |
224 |
-src_configure() { |
225 |
- # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 |
226 |
- use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" |
227 |
- |
228 |
- local mycmakeargs=( |
229 |
- -DLLDB_ENABLE_CURSES=$(usex ncurses) |
230 |
- -DLLDB_ENABLE_LIBEDIT=$(usex libedit) |
231 |
- -DLLDB_ENABLE_PYTHON=$(usex python) |
232 |
- -DLLDB_ENABLE_LUA=OFF |
233 |
- -DLLDB_ENABLE_LZMA=$(usex lzma) |
234 |
- -DLLDB_ENABLE_LIBXML2=$(usex xml) |
235 |
- -DLLDB_USE_SYSTEM_SIX=1 |
236 |
- -DLLVM_ENABLE_TERMINFO=$(usex ncurses) |
237 |
- |
238 |
- -DLLDB_INCLUDE_TESTS=$(usex test) |
239 |
- |
240 |
- -DCLANG_LINK_CLANG_DYLIB=ON |
241 |
- # TODO: fix upstream to detect this properly |
242 |
- -DHAVE_LIBDL=ON |
243 |
- -DHAVE_LIBPTHREAD=ON |
244 |
- |
245 |
- # normally we'd have to set LLVM_ENABLE_TERMINFO, HAVE_TERMINFO |
246 |
- # and TERMINFO_LIBS... so just force FindCurses.cmake to use |
247 |
- # ncurses with complete library set (including autodetection |
248 |
- # of -ltinfo) |
249 |
- -DCURSES_NEED_NCURSES=ON |
250 |
- |
251 |
- -DLLDB_EXTERNAL_CLANG_RESOURCE_DIR="${BROOT}/usr/lib/clang/${LLVM_MAJOR}" |
252 |
- |
253 |
- -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" |
254 |
- -DPython3_EXECUTABLE="${PYTHON}" |
255 |
- ) |
256 |
- use test && mycmakeargs+=( |
257 |
- -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" |
258 |
- -DLLVM_LIT_ARGS="$(get_lit_flags)" |
259 |
- ) |
260 |
- |
261 |
- cmake_src_configure |
262 |
-} |
263 |
- |
264 |
-src_test() { |
265 |
- local -x LIT_PRESERVES_TMP=1 |
266 |
- cmake_build check-lldb-{shell,unit} |
267 |
- # failures + hangs |
268 |
- #use python && cmake_build check-lldb-api |
269 |
-} |
270 |
- |
271 |
-src_install() { |
272 |
- cmake_src_install |
273 |
- find "${D}" -name '*.a' -delete || die |
274 |
- |
275 |
- use python && python_optimize |
276 |
-} |
277 |
|
278 |
diff --git a/dev-util/lldb/lldb-17.0.0_pre20230218.ebuild b/dev-util/lldb/lldb-17.0.0_pre20230218.ebuild |
279 |
deleted file mode 100644 |
280 |
index 985e9ba9d42f..000000000000 |
281 |
--- a/dev-util/lldb/lldb-17.0.0_pre20230218.ebuild |
282 |
+++ /dev/null |
283 |
@@ -1,115 +0,0 @@ |
284 |
-# Copyright 1999-2023 Gentoo Authors |
285 |
-# Distributed under the terms of the GNU General Public License v2 |
286 |
- |
287 |
-EAPI=8 |
288 |
- |
289 |
-PYTHON_COMPAT=( python3_{9..11} ) |
290 |
-inherit cmake llvm llvm.org python-single-r1 |
291 |
- |
292 |
-DESCRIPTION="The LLVM debugger" |
293 |
-HOMEPAGE="https://llvm.org/" |
294 |
- |
295 |
-LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" |
296 |
-SLOT="0/${LLVM_SOABI}" |
297 |
-KEYWORDS="" |
298 |
-IUSE="debug +libedit lzma ncurses +python test +xml" |
299 |
-RESTRICT="test" |
300 |
-REQUIRED_USE=${PYTHON_REQUIRED_USE} |
301 |
- |
302 |
-DEPEND=" |
303 |
- libedit? ( dev-libs/libedit:0= ) |
304 |
- lzma? ( app-arch/xz-utils:= ) |
305 |
- ncurses? ( >=sys-libs/ncurses-5.9-r3:0= ) |
306 |
- xml? ( dev-libs/libxml2:= ) |
307 |
- ~sys-devel/clang-${PV} |
308 |
- ~sys-devel/llvm-${PV} |
309 |
-" |
310 |
-RDEPEND=" |
311 |
- ${DEPEND} |
312 |
- python? ( |
313 |
- $(python_gen_cond_dep ' |
314 |
- dev-python/six[${PYTHON_USEDEP}] |
315 |
- ') |
316 |
- ${PYTHON_DEPS} |
317 |
- ) |
318 |
-" |
319 |
-BDEPEND=" |
320 |
- ${PYTHON_DEPS} |
321 |
- >=dev-util/cmake-3.16 |
322 |
- python? ( |
323 |
- >=dev-lang/swig-3.0.11 |
324 |
- $(python_gen_cond_dep ' |
325 |
- dev-python/six[${PYTHON_USEDEP}] |
326 |
- ') |
327 |
- ) |
328 |
- test? ( |
329 |
- $(python_gen_cond_dep " |
330 |
- ~dev-python/lit-${PV}[\${PYTHON_USEDEP}] |
331 |
- dev-python/psutil[\${PYTHON_USEDEP}] |
332 |
- ") |
333 |
- sys-devel/lld |
334 |
- ) |
335 |
-" |
336 |
- |
337 |
-LLVM_COMPONENTS=( lldb cmake llvm/utils ) |
338 |
-LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party ) |
339 |
-llvm.org_set_globals |
340 |
- |
341 |
-pkg_setup() { |
342 |
- LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup |
343 |
- python-single-r1_pkg_setup |
344 |
-} |
345 |
- |
346 |
-src_configure() { |
347 |
- # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 |
348 |
- use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG" |
349 |
- |
350 |
- local mycmakeargs=( |
351 |
- -DLLDB_ENABLE_CURSES=$(usex ncurses) |
352 |
- -DLLDB_ENABLE_LIBEDIT=$(usex libedit) |
353 |
- -DLLDB_ENABLE_PYTHON=$(usex python) |
354 |
- -DLLDB_ENABLE_LUA=OFF |
355 |
- -DLLDB_ENABLE_LZMA=$(usex lzma) |
356 |
- -DLLDB_ENABLE_LIBXML2=$(usex xml) |
357 |
- -DLLDB_USE_SYSTEM_SIX=1 |
358 |
- -DLLVM_ENABLE_TERMINFO=$(usex ncurses) |
359 |
- |
360 |
- -DLLDB_INCLUDE_TESTS=$(usex test) |
361 |
- |
362 |
- -DCLANG_LINK_CLANG_DYLIB=ON |
363 |
- # TODO: fix upstream to detect this properly |
364 |
- -DHAVE_LIBDL=ON |
365 |
- -DHAVE_LIBPTHREAD=ON |
366 |
- |
367 |
- # normally we'd have to set LLVM_ENABLE_TERMINFO, HAVE_TERMINFO |
368 |
- # and TERMINFO_LIBS... so just force FindCurses.cmake to use |
369 |
- # ncurses with complete library set (including autodetection |
370 |
- # of -ltinfo) |
371 |
- -DCURSES_NEED_NCURSES=ON |
372 |
- |
373 |
- -DLLDB_EXTERNAL_CLANG_RESOURCE_DIR="${BROOT}/usr/lib/clang/${LLVM_MAJOR}" |
374 |
- |
375 |
- -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" |
376 |
- -DPython3_EXECUTABLE="${PYTHON}" |
377 |
- ) |
378 |
- use test && mycmakeargs+=( |
379 |
- -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" |
380 |
- -DLLVM_LIT_ARGS="$(get_lit_flags)" |
381 |
- ) |
382 |
- |
383 |
- cmake_src_configure |
384 |
-} |
385 |
- |
386 |
-src_test() { |
387 |
- local -x LIT_PRESERVES_TMP=1 |
388 |
- cmake_build check-lldb-{shell,unit} |
389 |
- # failures + hangs |
390 |
- #use python && cmake_build check-lldb-api |
391 |
-} |
392 |
- |
393 |
-src_install() { |
394 |
- cmake_src_install |
395 |
- find "${D}" -name '*.a' -delete || die |
396 |
- |
397 |
- use python && python_optimize |
398 |
-} |