1 |
commit: 92b01ff0323e4c75dcff31045f11707e3512fb21 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 21 07:14:23 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 21 07:34:02 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92b01ff0 |
7 |
|
8 |
dev-util/lldb: Remove 8.0.9999 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-util/lldb/lldb-8.0.9999.ebuild | 120 ------------------------------------- |
13 |
1 file changed, 120 deletions(-) |
14 |
|
15 |
diff --git a/dev-util/lldb/lldb-8.0.9999.ebuild b/dev-util/lldb/lldb-8.0.9999.ebuild |
16 |
deleted file mode 100644 |
17 |
index 42ab87c3fa4..00000000000 |
18 |
--- a/dev-util/lldb/lldb-8.0.9999.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,120 +0,0 @@ |
21 |
-# Copyright 1999-2019 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
- |
26 |
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja} |
27 |
-# (needed due to CMAKE_BUILD_TYPE != Gentoo) |
28 |
-CMAKE_MIN_VERSION=3.7.0-r1 |
29 |
-PYTHON_COMPAT=( python2_7 ) |
30 |
- |
31 |
-inherit cmake-utils git-r3 llvm multiprocessing python-single-r1 \ |
32 |
- toolchain-funcs |
33 |
- |
34 |
-DESCRIPTION="The LLVM debugger" |
35 |
-HOMEPAGE="https://llvm.org/" |
36 |
-SRC_URI="" |
37 |
-EGIT_REPO_URI="https://git.llvm.org/git/lldb.git |
38 |
- https://github.com/llvm-mirror/lldb.git" |
39 |
-EGIT_BRANCH="release_80" |
40 |
- |
41 |
-LICENSE="UoI-NCSA" |
42 |
-SLOT="0" |
43 |
-KEYWORDS="" |
44 |
-IUSE="libedit ncurses +python test" |
45 |
-RESTRICT="!test? ( test )" |
46 |
- |
47 |
-RDEPEND=" |
48 |
- libedit? ( dev-libs/libedit:0= ) |
49 |
- ncurses? ( >=sys-libs/ncurses-5.9-r3:0= ) |
50 |
- python? ( dev-python/six[${PYTHON_USEDEP}] |
51 |
- ${PYTHON_DEPS} ) |
52 |
- ~sys-devel/clang-${PV}[xml] |
53 |
- ~sys-devel/llvm-${PV} |
54 |
- !<sys-devel/llvm-4.0" |
55 |
-DEPEND="${RDEPEND} |
56 |
- python? ( >=dev-lang/swig-3.0.11 ) |
57 |
- test? ( |
58 |
- ~dev-python/lit-${PV}[${PYTHON_USEDEP}] |
59 |
- sys-devel/lld ) |
60 |
- ${PYTHON_DEPS}" |
61 |
- |
62 |
-REQUIRED_USE=${PYTHON_REQUIRED_USE} |
63 |
- |
64 |
-# least intrusive of all |
65 |
-CMAKE_BUILD_TYPE=RelWithDebInfo |
66 |
- |
67 |
-pkg_setup() { |
68 |
- LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup |
69 |
- python-single-r1_pkg_setup |
70 |
-} |
71 |
- |
72 |
-src_unpack() { |
73 |
- if use test; then |
74 |
- # needed for patched gtest |
75 |
- git-r3_fetch "https://git.llvm.org/git/llvm.git |
76 |
- https://github.com/llvm-mirror/llvm.git" |
77 |
- fi |
78 |
- git-r3_fetch |
79 |
- |
80 |
- if use test; then |
81 |
- git-r3_checkout https://llvm.org/git/llvm.git \ |
82 |
- "${WORKDIR}"/llvm '' lib/Testing/Support utils/unittest |
83 |
- fi |
84 |
- git-r3_checkout |
85 |
-} |
86 |
- |
87 |
-src_configure() { |
88 |
- local mycmakeargs=( |
89 |
- -DLLDB_DISABLE_CURSES=$(usex !ncurses) |
90 |
- -DLLDB_DISABLE_LIBEDIT=$(usex !libedit) |
91 |
- -DLLDB_DISABLE_PYTHON=$(usex !python) |
92 |
- -DLLDB_USE_SYSTEM_SIX=1 |
93 |
- -DLLVM_ENABLE_TERMINFO=$(usex ncurses) |
94 |
- |
95 |
- -DLLDB_INCLUDE_TESTS=$(usex test) |
96 |
- |
97 |
- # TODO: fix upstream to detect this properly |
98 |
- -DHAVE_LIBDL=ON |
99 |
- -DHAVE_LIBPTHREAD=ON |
100 |
- |
101 |
- # normally we'd have to set LLVM_ENABLE_TERMINFO, HAVE_TERMINFO |
102 |
- # and TERMINFO_LIBS... so just force FindCurses.cmake to use |
103 |
- # ncurses with complete library set (including autodetection |
104 |
- # of -ltinfo) |
105 |
- -DCURSES_NEED_NCURSES=ON |
106 |
- ) |
107 |
- use test && mycmakeargs+=( |
108 |
- -DLLVM_BUILD_TESTS=$(usex test) |
109 |
- # compilers for lit tests |
110 |
- -DLLDB_TEST_C_COMPILER="$(type -P clang)" |
111 |
- -DLLDB_TEST_CXX_COMPILER="$(type -P clang++)" |
112 |
- |
113 |
- -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm" |
114 |
- -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit" |
115 |
- -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}" |
116 |
- ) |
117 |
- |
118 |
- cmake-utils_src_configure |
119 |
-} |
120 |
- |
121 |
-src_test() { |
122 |
- cmake-utils_src_make check-lldb-lit |
123 |
- use python && cmake-utils_src_make check-lldb |
124 |
-} |
125 |
- |
126 |
-src_install() { |
127 |
- cmake-utils_src_install |
128 |
- |
129 |
- # oh my... |
130 |
- if use python; then |
131 |
- # remove custom readline.so for now |
132 |
- # TODO: figure out how to deal with it |
133 |
- # upstream is basically building a custom readline.so with -ledit |
134 |
- # to avoid symbol collisions between readline and libedit... |
135 |
- rm "${D}$(python_get_sitedir)/readline.so" || die |
136 |
- |
137 |
- # byte-compile the modules |
138 |
- python_optimize |
139 |
- fi |
140 |
-} |