Gentoo Archives: gentoo-commits

From: Matthew Smith <matthew@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/mold/
Date: Fri, 09 Sep 2022 09:48:20
Message-Id: 1662716816.4cfaaa2e3c0e5a3ab9afe3a356c90b4676627321.matthew@gentoo
1 commit: 4cfaaa2e3c0e5a3ab9afe3a356c90b4676627321
2 Author: Matthew Smith <matthew <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 9 09:00:20 2022 +0000
4 Commit: Matthew Smith <matthew <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 9 09:46:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cfaaa2e
7
8 sys-devel/mold: drop 1.3.1, 1.3.1-r1, 1.4.0
9
10 Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>
11
12 sys-devel/mold/Manifest | 2 -
13 sys-devel/mold/mold-1.3.1-r1.ebuild | 99 -------------------------------------
14 sys-devel/mold/mold-1.3.1.ebuild | 97 ------------------------------------
15 sys-devel/mold/mold-1.4.0.ebuild | 97 ------------------------------------
16 4 files changed, 295 deletions(-)
17
18 diff --git a/sys-devel/mold/Manifest b/sys-devel/mold/Manifest
19 index de469cd16390..bcde82ba97a1 100644
20 --- a/sys-devel/mold/Manifest
21 +++ b/sys-devel/mold/Manifest
22 @@ -1,3 +1 @@
23 -DIST mold-1.3.1.tar.gz 4692379 BLAKE2B e34e9416cfc65d2097c4659ddc205a0c4492e50a1c6e4560006757e5c371d27410e38131f353cd0ee60b124e5fe42b0a1c50cdc3a7bed9f666596e608340e4fd SHA512 f576d2fcfee5cb3bade5ba24dcdd3020a16131ce7d4c3a00c3f92b94785ed86f3f040a6f5814b9c975c4c3d90a2b8c36a8101d5fbf1bc0a4be316f4a4a6dcefa
24 -DIST mold-1.4.0.tar.gz 4722082 BLAKE2B 65ac52724018f5df82ca40b287a5f3b2c3e4b6b313ef2573bfd0ed6d03054d92b9e1e52cbdad1930406cff232c4b952c33a16979968502c439b860bd782726a9 SHA512 7b7c4a7bac6bbc6e22372d93d94a6cb804c7017eba16b90e9bbc42b9608108c724ef55337aabdd9ce2f5244b94c8fd64311e70e18b5f8cf5f68533c2639e550d
25 DIST mold-1.4.1.tar.gz 6280266 BLAKE2B 60d0a876e0bcc8f644e4b6fffe0de14299bf2bd6e382869c87761d725dca6efa874cac37aaf94ad85038c5a24521ed3582782be943236ab81c2e4b66e6002f5e SHA512 304caf4e9d9b24170a9442a84036790407bd02609a5d07c31e5f0f6285128099cbc962571804636a5da55afda59b447c12218f9e4d402fbfa55ebc354814bdda
26
27 diff --git a/sys-devel/mold/mold-1.3.1-r1.ebuild b/sys-devel/mold/mold-1.3.1-r1.ebuild
28 deleted file mode 100644
29 index b4a955bb2dea..000000000000
30 --- a/sys-devel/mold/mold-1.3.1-r1.ebuild
31 +++ /dev/null
32 @@ -1,99 +0,0 @@
33 -# Copyright 2021-2022 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=8
37 -
38 -inherit toolchain-funcs
39 -
40 -DESCRIPTION="A Modern Linker"
41 -HOMEPAGE="https://github.com/rui314/mold"
42 -if [[ ${PV} == 9999 ]] ; then
43 - EGIT_REPO_URI="https://github.com/rui314/mold.git"
44 - inherit git-r3
45 -else
46 - SRC_URI="https://github.com/rui314/mold/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
47 - KEYWORDS="~amd64 ~riscv"
48 -fi
49 -
50 -LICENSE="AGPL-3"
51 -SLOT="0"
52 -
53 -RDEPEND=">=dev-cpp/tbb-2021.4.0:=
54 - sys-libs/zlib
55 - !kernel_Darwin? (
56 - >=dev-libs/mimalloc-2:=
57 - dev-libs/openssl:=
58 - )"
59 -# As of 1.1, xxhash is now a header-only dep, but it's now bundled :(
60 -# TODO: restore SYSTEM_XXHASH upstream?
61 -DEPEND="${RDEPEND}"
62 -
63 -PATCHES=(
64 - # Bug #841575
65 - "${FILESDIR}"/${PN}-1.2.1-install-nopython.patch
66 - "${FILESDIR}"/${PN}-1.3.0-openssl-pkgconfig.patch
67 - # Bug #861488
68 - "${FILESDIR}"/${PN}-1.3.1-fix-riscv-set32.patch
69 -)
70 -
71 -pkg_pretend() {
72 - # Requires a c++20 compiler, see #831473
73 - if [[ ${MERGE_TYPE} != binary ]]; then
74 - if tc-is-gcc && [[ $(gcc-major-version) -lt 10 ]]; then
75 - die "${PN} needs at least gcc 10"
76 - elif tc-is-clang && [[ $(clang-major-version) -lt 12 ]]; then
77 - die "${PN} needs at least clang 12"
78 - fi
79 - fi
80 -}
81 -
82 -src_prepare() {
83 - default
84 -
85 - # Needs unpackaged dwarfdump
86 - rm test/elf/{{dead,compress}-debug-sections,compressed-debug-info}.sh || die
87 -
88 - # Heavy tests, need qemu
89 - rm test/elf/gdb-index-{compress-output,dwarf{2,3,4,5}}.sh || die
90 - rm test/elf/lto-{archive,dso,gcc,llvm,version-script}.sh || die
91 -
92 - # Sandbox sadness
93 - rm test/elf/run.sh || die
94 - sed -i 's|`pwd`/mold-wrapper.so|"& ${LD_PRELOAD}"|' \
95 - test/elf/mold-wrapper{,2}.sh || die
96 -
97 - # static-pie tests require glibc built with static-pie support
98 - if ! has_version -d 'sys-libs/glibc[static-pie(+)]'; then
99 - rm test/elf/{,ifunc-}static-pie.sh || die
100 - fi
101 -}
102 -
103 -src_compile() {
104 - tc-export CC CXX
105 -
106 - emake \
107 - CFLAGS="${CFLAGS}" \
108 - CXXFLAGS="${CXXFLAGS}" \
109 - SYSTEM_TBB=1 \
110 - SYSTEM_MIMALLOC=1 \
111 - STRIP="true" \
112 - LIBDIR="${EPREFIX}/usr/$(get_libdir)"
113 -}
114 -
115 -src_test() {
116 - emake \
117 - SYSTEM_TBB=1 \
118 - SYSTEM_MIMALLOC=1 \
119 - check
120 -}
121 -
122 -src_install() {
123 - emake \
124 - SYSTEM_TBB=1 \
125 - SYSTEM_MIMALLOC=1 \
126 - DESTDIR="${D}" \
127 - PREFIX="${EPREFIX}/usr" \
128 - LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
129 - STRIP="true" \
130 - install
131 -}
132
133 diff --git a/sys-devel/mold/mold-1.3.1.ebuild b/sys-devel/mold/mold-1.3.1.ebuild
134 deleted file mode 100644
135 index 53cc37505b9c..000000000000
136 --- a/sys-devel/mold/mold-1.3.1.ebuild
137 +++ /dev/null
138 @@ -1,97 +0,0 @@
139 -# Copyright 2021-2022 Gentoo Authors
140 -# Distributed under the terms of the GNU General Public License v2
141 -
142 -EAPI=8
143 -
144 -inherit toolchain-funcs
145 -
146 -DESCRIPTION="A Modern Linker"
147 -HOMEPAGE="https://github.com/rui314/mold"
148 -if [[ ${PV} == 9999 ]] ; then
149 - EGIT_REPO_URI="https://github.com/rui314/mold.git"
150 - inherit git-r3
151 -else
152 - SRC_URI="https://github.com/rui314/mold/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
153 - KEYWORDS="~amd64 ~riscv"
154 -fi
155 -
156 -LICENSE="AGPL-3"
157 -SLOT="0"
158 -
159 -RDEPEND=">=dev-cpp/tbb-2021.4.0:=
160 - sys-libs/zlib
161 - !kernel_Darwin? (
162 - >=dev-libs/mimalloc-2:=
163 - dev-libs/openssl:=
164 - )"
165 -# As of 1.1, xxhash is now a header-only dep, but it's now bundled :(
166 -# TODO: restore SYSTEM_XXHASH upstream?
167 -DEPEND="${RDEPEND}"
168 -
169 -PATCHES=(
170 - # Bug #841575
171 - "${FILESDIR}"/${PN}-1.2.1-install-nopython.patch
172 - "${FILESDIR}"/${PN}-1.3.0-openssl-pkgconfig.patch
173 -)
174 -
175 -pkg_pretend() {
176 - # Requires a c++20 compiler, see #831473
177 - if [[ ${MERGE_TYPE} != binary ]]; then
178 - if tc-is-gcc && [[ $(gcc-major-version) -lt 10 ]]; then
179 - die "${PN} needs at least gcc 10"
180 - elif tc-is-clang && [[ $(clang-major-version) -lt 12 ]]; then
181 - die "${PN} needs at least clang 12"
182 - fi
183 - fi
184 -}
185 -
186 -src_prepare() {
187 - default
188 -
189 - # Needs unpackaged dwarfdump
190 - rm test/elf/{{dead,compress}-debug-sections,compressed-debug-info}.sh || die
191 -
192 - # Heavy tests, need qemu
193 - rm test/elf/gdb-index-{compress-output,dwarf{2,3,4,5}}.sh || die
194 - rm test/elf/lto-{archive,dso,gcc,llvm,version-script}.sh || die
195 -
196 - # Sandbox sadness
197 - rm test/elf/run.sh || die
198 - sed -i 's|`pwd`/mold-wrapper.so|"& ${LD_PRELOAD}"|' \
199 - test/elf/mold-wrapper{,2}.sh || die
200 -
201 - # static-pie tests require glibc built with static-pie support
202 - if ! has_version -d 'sys-libs/glibc[static-pie(+)]'; then
203 - rm test/elf/{,ifunc-}static-pie.sh || die
204 - fi
205 -}
206 -
207 -src_compile() {
208 - tc-export CC CXX
209 -
210 - emake \
211 - CFLAGS="${CFLAGS}" \
212 - CXXFLAGS="${CXXFLAGS}" \
213 - SYSTEM_TBB=1 \
214 - SYSTEM_MIMALLOC=1 \
215 - STRIP="true" \
216 - LIBDIR="${EPREFIX}/usr/$(get_libdir)"
217 -}
218 -
219 -src_test() {
220 - emake \
221 - SYSTEM_TBB=1 \
222 - SYSTEM_MIMALLOC=1 \
223 - check
224 -}
225 -
226 -src_install() {
227 - emake \
228 - SYSTEM_TBB=1 \
229 - SYSTEM_MIMALLOC=1 \
230 - DESTDIR="${D}" \
231 - PREFIX="${EPREFIX}/usr" \
232 - LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
233 - STRIP="true" \
234 - install
235 -}
236
237 diff --git a/sys-devel/mold/mold-1.4.0.ebuild b/sys-devel/mold/mold-1.4.0.ebuild
238 deleted file mode 100644
239 index 53cc37505b9c..000000000000
240 --- a/sys-devel/mold/mold-1.4.0.ebuild
241 +++ /dev/null
242 @@ -1,97 +0,0 @@
243 -# Copyright 2021-2022 Gentoo Authors
244 -# Distributed under the terms of the GNU General Public License v2
245 -
246 -EAPI=8
247 -
248 -inherit toolchain-funcs
249 -
250 -DESCRIPTION="A Modern Linker"
251 -HOMEPAGE="https://github.com/rui314/mold"
252 -if [[ ${PV} == 9999 ]] ; then
253 - EGIT_REPO_URI="https://github.com/rui314/mold.git"
254 - inherit git-r3
255 -else
256 - SRC_URI="https://github.com/rui314/mold/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
257 - KEYWORDS="~amd64 ~riscv"
258 -fi
259 -
260 -LICENSE="AGPL-3"
261 -SLOT="0"
262 -
263 -RDEPEND=">=dev-cpp/tbb-2021.4.0:=
264 - sys-libs/zlib
265 - !kernel_Darwin? (
266 - >=dev-libs/mimalloc-2:=
267 - dev-libs/openssl:=
268 - )"
269 -# As of 1.1, xxhash is now a header-only dep, but it's now bundled :(
270 -# TODO: restore SYSTEM_XXHASH upstream?
271 -DEPEND="${RDEPEND}"
272 -
273 -PATCHES=(
274 - # Bug #841575
275 - "${FILESDIR}"/${PN}-1.2.1-install-nopython.patch
276 - "${FILESDIR}"/${PN}-1.3.0-openssl-pkgconfig.patch
277 -)
278 -
279 -pkg_pretend() {
280 - # Requires a c++20 compiler, see #831473
281 - if [[ ${MERGE_TYPE} != binary ]]; then
282 - if tc-is-gcc && [[ $(gcc-major-version) -lt 10 ]]; then
283 - die "${PN} needs at least gcc 10"
284 - elif tc-is-clang && [[ $(clang-major-version) -lt 12 ]]; then
285 - die "${PN} needs at least clang 12"
286 - fi
287 - fi
288 -}
289 -
290 -src_prepare() {
291 - default
292 -
293 - # Needs unpackaged dwarfdump
294 - rm test/elf/{{dead,compress}-debug-sections,compressed-debug-info}.sh || die
295 -
296 - # Heavy tests, need qemu
297 - rm test/elf/gdb-index-{compress-output,dwarf{2,3,4,5}}.sh || die
298 - rm test/elf/lto-{archive,dso,gcc,llvm,version-script}.sh || die
299 -
300 - # Sandbox sadness
301 - rm test/elf/run.sh || die
302 - sed -i 's|`pwd`/mold-wrapper.so|"& ${LD_PRELOAD}"|' \
303 - test/elf/mold-wrapper{,2}.sh || die
304 -
305 - # static-pie tests require glibc built with static-pie support
306 - if ! has_version -d 'sys-libs/glibc[static-pie(+)]'; then
307 - rm test/elf/{,ifunc-}static-pie.sh || die
308 - fi
309 -}
310 -
311 -src_compile() {
312 - tc-export CC CXX
313 -
314 - emake \
315 - CFLAGS="${CFLAGS}" \
316 - CXXFLAGS="${CXXFLAGS}" \
317 - SYSTEM_TBB=1 \
318 - SYSTEM_MIMALLOC=1 \
319 - STRIP="true" \
320 - LIBDIR="${EPREFIX}/usr/$(get_libdir)"
321 -}
322 -
323 -src_test() {
324 - emake \
325 - SYSTEM_TBB=1 \
326 - SYSTEM_MIMALLOC=1 \
327 - check
328 -}
329 -
330 -src_install() {
331 - emake \
332 - SYSTEM_TBB=1 \
333 - SYSTEM_MIMALLOC=1 \
334 - DESTDIR="${D}" \
335 - PREFIX="${EPREFIX}/usr" \
336 - LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
337 - STRIP="true" \
338 - install
339 -}