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: dev-util/lldb/
Date: Fri, 01 May 2020 08:54:14
Message-Id: 1588323227.4595ebcc3015a834a4bf8f91a91d810529f679cd.mgorny@gentoo
1 commit: 4595ebcc3015a834a4bf8f91a91d810529f679cd
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 1 08:46:50 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri May 1 08:53:47 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4595ebcc
7
8 dev-util/lldb: Remove 7*
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-util/lldb/Manifest | 2 -
13 dev-util/lldb/lldb-7.1.0-r1.ebuild | 128 -------------------------------------
14 2 files changed, 130 deletions(-)
15
16 diff --git a/dev-util/lldb/Manifest b/dev-util/lldb/Manifest
17 index b149c754b3b..f350c88c474 100644
18 --- a/dev-util/lldb/Manifest
19 +++ b/dev-util/lldb/Manifest
20 @@ -1,6 +1,4 @@
21 -DIST lldb-7.1.0.src.tar.xz 19384976 BLAKE2B a1d5afea255f06221516e21e80120cb35d870ec447aff774d8c610c889c8f28228c7c8e93eec160fc5424736666fcaac8ed42d9181373d266202c9f8aa4c3061 SHA512 773f79939c540f349f1c85d6b1d89fa312488c4c70f100f05cb6250f62e8d6a05832d57c02750439ede905fa69e1380a73ddde0d3ad2f99a0910acd1011559df
22 DIST lldb-8.0.1.src.tar.xz 19586288 BLAKE2B afb20a8303dcbdaf76ef1d78aa3165f87713f1c16121905d7a5f71e770ceafdff40d9d19e0a983d9290da2d4eb3acd0987d50607bea17efdb7dc0127d7f5cf8a SHA512 eb031985ad4d08226ec47a90fe32c1e6d070948971ca5235fd431cf7d5b7ea20f5d5131237bf83a6419773d18c339590bf9672e7b4f884304497e63c1030988f
23 -DIST llvm-7.1.0.src.tar.xz 28313784 BLAKE2B b78d9a7fc5ef6e352e77d339e5c4eef5ccedf67c05e7abd949e72619aa8a5ed65e7e5e2008354be8e7916d75581719b99f34227838fcc86c5d0080913c2fb22c SHA512 a7dbd5693d1f2dae6b6e52893a100f9349cbfcfb25c5fdcad46364acbff0dbd3573f8fbc026c68eb9fd56335198aa94b866cc3dd7ea0cbd2cbfb5f8fe3444a7a
24 DIST llvm-8.0.1.src.tar.xz 30477608 BLAKE2B 4319c837b36111401e3b0f9659b8d875c89463bcc7816df1aefe1e3ff989860bbaa92504718f8e15416cfd9f3491c13777cd5cb661877b237b342b0e515b93f5 SHA512 82e120be5cabdfd5111aebbea68a663fe229c8861d73802d6ab09a3bf48f60de333e07e61f8fb61beaa14ac2bea24fcd74fa6f761acaf62469f536b79fcb1e16
25 DIST llvmorg-10.0.0.tar.gz 120804856 BLAKE2B 6b0254f5b913398cdcf2b2ec1ff219888706d2b79d5296590934714e42ac79f6a6547941ac2b1d2c4e6313dd18b6c7068e748aa6ac033e49fccbf5d355aa8191 SHA512 baa182d62fef1851836013ae8a1a00861ea89769778d67fb97b407a9de664e6c85da2af9c5b3f75d2bf34ff6b00004e531ca7e4b3115a26c0e61c575cf2303a0
26 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f SHA512 fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
27
28 diff --git a/dev-util/lldb/lldb-7.1.0-r1.ebuild b/dev-util/lldb/lldb-7.1.0-r1.ebuild
29 deleted file mode 100644
30 index a1d46a86309..00000000000
31 --- a/dev-util/lldb/lldb-7.1.0-r1.ebuild
32 +++ /dev/null
33 @@ -1,128 +0,0 @@
34 -# Copyright 1999-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
40 -# (needed due to CMAKE_BUILD_TYPE != Gentoo)
41 -CMAKE_MIN_VERSION=3.7.0-r1
42 -PYTHON_COMPAT=( python2_7 )
43 -
44 -inherit cmake-utils llvm multiprocessing python-single-r1 \
45 - toolchain-funcs
46 -
47 -MY_P=${P/_/}.src
48 -LLVM_P=llvm-${PV/_/}.src
49 -
50 -DESCRIPTION="The LLVM debugger"
51 -HOMEPAGE="https://llvm.org/"
52 -SRC_URI="https://releases.llvm.org/${PV/_//}/${MY_P}.tar.xz
53 - test? ( https://releases.llvm.org/${PV/_//}/${LLVM_P}.tar.xz )"
54 -
55 -LICENSE="UoI-NCSA"
56 -SLOT="0"
57 -KEYWORDS="amd64 arm64 x86"
58 -IUSE="libedit ncurses +python test"
59 -# Tests are known to fail, and we are not going to address the failures
60 -# in this version.
61 -RESTRICT="test"
62 -
63 -RDEPEND="
64 - libedit? ( dev-libs/libedit:0= )
65 - ncurses? ( >=sys-libs/ncurses-5.9-r3:0= )
66 - python? (
67 - $(python_gen_cond_dep '
68 - dev-python/six[${PYTHON_MULTI_USEDEP}]
69 - ')
70 - ${PYTHON_DEPS}
71 - )
72 - ~sys-devel/clang-${PV}[xml]
73 - ~sys-devel/llvm-${PV}
74 - !<sys-devel/llvm-4.0"
75 -DEPEND="${RDEPEND}
76 - python? ( >=dev-lang/swig-3.0.11 )
77 - test? (
78 - $(python_gen_cond_dep "
79 - ~dev-python/lit-${PV}[\${PYTHON_MULTI_USEDEP}]
80 - ")
81 - )
82 - ${PYTHON_DEPS}"
83 -
84 -REQUIRED_USE=${PYTHON_REQUIRED_USE}
85 -
86 -S=${WORKDIR}/${MY_P}
87 -
88 -# least intrusive of all
89 -CMAKE_BUILD_TYPE=RelWithDebInfo
90 -
91 -pkg_setup() {
92 - LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
93 - python-single-r1_pkg_setup
94 -}
95 -
96 -src_unpack() {
97 - einfo "Unpacking ${MY_P}.tar.xz ..."
98 - tar -xf "${DISTDIR}/${MY_P}.tar.xz" || die
99 -
100 - if use test; then
101 - einfo "Unpacking parts of ${LLVM_P}.tar.xz ..."
102 - tar -xf "${DISTDIR}/${LLVM_P}.tar.xz" \
103 - "${LLVM_P}"/{lib/Testing/Support,utils/unittest} || die
104 - mv "${LLVM_P}" llvm || die
105 - fi
106 -}
107 -
108 -src_configure() {
109 - local mycmakeargs=(
110 - -DLLDB_DISABLE_CURSES=$(usex !ncurses)
111 - -DLLDB_DISABLE_LIBEDIT=$(usex !libedit)
112 - -DLLDB_DISABLE_PYTHON=$(usex !python)
113 - -DLLDB_USE_SYSTEM_SIX=1
114 - -DLLVM_ENABLE_TERMINFO=$(usex ncurses)
115 -
116 - -DLLDB_INCLUDE_TESTS=$(usex test)
117 -
118 - # TODO: fix upstream to detect this properly
119 - -DHAVE_LIBDL=ON
120 - -DHAVE_LIBPTHREAD=ON
121 -
122 - # normally we'd have to set LLVM_ENABLE_TERMINFO, HAVE_TERMINFO
123 - # and TERMINFO_LIBS... so just force FindCurses.cmake to use
124 - # ncurses with complete library set (including autodetection
125 - # of -ltinfo)
126 - -DCURSES_NEED_NCURSES=ON
127 - )
128 - use test && mycmakeargs+=(
129 - -DLLVM_BUILD_TESTS=$(usex test)
130 - # compilers for lit tests
131 - -DLLDB_TEST_C_COMPILER="$(type -P clang)"
132 - -DLLDB_TEST_CXX_COMPILER="$(type -P clang++)"
133 -
134 - -DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
135 - -DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
136 - -DLLVM_LIT_ARGS="-vv;-j;${LIT_JOBS:-$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")}"
137 - )
138 -
139 - cmake-utils_src_configure
140 -}
141 -
142 -src_test() {
143 - cmake-utils_src_make check-lldb-lit
144 - use python && cmake-utils_src_make check-lldb
145 -}
146 -
147 -src_install() {
148 - cmake-utils_src_install
149 -
150 - # oh my...
151 - if use python; then
152 - # remove custom readline.so for now
153 - # TODO: figure out how to deal with it
154 - # upstream is basically building a custom readline.so with -ledit
155 - # to avoid symbol collisions between readline and libedit...
156 - rm "${D}$(python_get_sitedir)/readline.so" || die
157 -
158 - # byte-compile the modules
159 - python_optimize
160 - fi
161 -}