Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/google-perftools/
Date: Wed, 27 Oct 2021 05:34:21
Message-Id: 1635312844.54bde0319de6703dfee26e6c706f5d443789383b.sam@gentoo
1 commit: 54bde0319de6703dfee26e6c706f5d443789383b
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 27 05:33:11 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 27 05:34:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54bde031
7
8 dev-util/google-perftools: drop 2.8, 2.9.1
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-util/google-perftools/Manifest | 1 -
13 .../google-perftools/google-perftools-2.8.ebuild | 94 ---------------------
14 .../google-perftools/google-perftools-2.9.1.ebuild | 95 ----------------------
15 3 files changed, 190 deletions(-)
16
17 diff --git a/dev-util/google-perftools/Manifest b/dev-util/google-perftools/Manifest
18 index b28d894d09f..30a6cf15a61 100644
19 --- a/dev-util/google-perftools/Manifest
20 +++ b/dev-util/google-perftools/Manifest
21 @@ -1,3 +1,2 @@
22 DIST gperftools-2.7.tar.gz 916854 BLAKE2B d14c2b88f2986d3691d7184e1759de2066ca50224f745a6291ab2ebd5f7f985dec4916a1c01d61142eca9b64f3742c50b82e64118602afaa7b27ae2d94a4ed4d SHA512 4a8e72b960218b0615281b830b3f1a4a1b27830006c45ed68b1ffd152bb50a8b3beec850526e330e2ad08c28774bdc01dade9bcc3e7c9e26d30823cc55648d77
23 -DIST gperftools-2.8.tar.gz 928379 BLAKE2B e94bac4153cb5d3170d6486a9065b56d631ab261d25b4a5a150f04f87f767c203508839daf400dbe06dc82e9e3da2988e4b4c74725c6be836fa9c70ed0576209 SHA512 c959ffa2b36ecfea10927b40b6dd668385cff7eab3c4bc2d7c5aed5f4de87ce8e4f9b30ab44652a0288badbb6c5aa7110c491b13c4030fb656609c2eb25918a8
24 DIST gperftools-2.9.1.tar.gz 924910 BLAKE2B fcf0491e42ff4212a63ab0af422f27f5a625c53a0b33e69f8dede96b004a0f01af104d9791a4b75d38145ae0059f5e2967ea1d09b0712cc4d930ef7aafd4f3ba SHA512 5e07f28da9afc5f1ba3df7f06ad0e146c171d33e1779bbaab21547ed234aaced02e5278c1eb8f92fc45480abd2474d6a2d4c71644fb9378f41088c56cc1bc8ab
25
26 diff --git a/dev-util/google-perftools/google-perftools-2.8.ebuild b/dev-util/google-perftools/google-perftools-2.8.ebuild
27 deleted file mode 100644
28 index b5cb254c797..00000000000
29 --- a/dev-util/google-perftools/google-perftools-2.8.ebuild
30 +++ /dev/null
31 @@ -1,94 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -MY_P="gperftools-${PV}"
37 -
38 -inherit toolchain-funcs flag-o-matic autotools vcs-snapshot multilib-minimal
39 -
40 -DESCRIPTION="Fast, multi-threaded malloc() and nifty performance analysis tools"
41 -HOMEPAGE="https://github.com/gperftools/gperftools"
42 -SRC_URI="https://github.com/gperftools/gperftools/archive/${MY_P}.tar.gz"
43 -
44 -LICENSE="MIT"
45 -SLOT="0/4"
46 -# contains ASM code, with support for
47 -# freebsd x86/amd64
48 -# linux x86/amd64/ppc/ppc64/arm
49 -# OSX ppc/amd64
50 -# AIX ppc/ppc64
51 -KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
52 -
53 -IUSE="largepages largepages64k +debug minimal optimisememory test static-libs"
54 -
55 -RESTRICT="!test? ( test )"
56 -
57 -DEPEND="!ppc64? ( sys-libs/libunwind )"
58 -RDEPEND="${DEPEND}"
59 -
60 -S="${WORKDIR}/${MY_P}"
61 -
62 -PATCHES=(
63 - "${FILESDIR}/${PV}-musl-tests.patch"
64 -)
65 -
66 -pkg_setup() {
67 - # set up the make options in here so that we can actually make use
68 - # of them on both compile and install.
69 -
70 - # Avoid building the unit testing if we're not going to execute
71 - # tests; this trick here allows us to ignore the tests without
72 - # touching the build system (and thus without rebuilding
73 - # autotools). Keep commented as long as it's restricted.
74 - use test || \
75 - MAKEOPTS+=" noinst_PROGRAMS= "
76 -}
77 -
78 -src_prepare() {
79 - default
80 - eautoreconf
81 - multilib_copy_sources
82 -}
83 -
84 -multilib_src_configure() {
85 - use largepages && append-cppflags -DTCMALLOC_LARGE_PAGES
86 - use largepages64k && append-cppflags -DTCMALLOC_LARGE_PAGES64K
87 - use optimisememory && append-cppflags -DTCMALLOC_SMALL_BUT_SLOW
88 - append-flags -fno-strict-aliasing -fno-omit-frame-pointer
89 -
90 - econf \
91 - --enable-shared \
92 - $(use_enable static-libs static) \
93 - $(use_enable debug debugalloc) \
94 - $(if [[ ${ABI} == x32 ]]; then printf "--enable-minimal\n" else use_enable minimal; fi)
95 -}
96 -
97 -src_test() {
98 - case "${LD_PRELOAD}" in
99 - *libsandbox*)
100 - ewarn "Unable to run tests when sandbox is enabled."
101 - ewarn "See https://bugs.gentoo.org/290249"
102 - return 0
103 - ;;
104 - esac
105 -
106 - multilib-minimal_src_test
107 -}
108 -
109 -src_install() {
110 - if ! use minimal && has x32 ${MULTILIB_ABIS}; then
111 - MULTILIB_WRAPPED_HEADERS=(
112 - /usr/include/gperftools/heap-checker.h
113 - /usr/include/gperftools/heap-profiler.h
114 - /usr/include/gperftools/stacktrace.h
115 - /usr/include/gperftools/profiler.h
116 - )
117 - fi
118 -
119 - multilib-minimal_src_install
120 -}
121 -
122 -multilib_src_install_all() {
123 - einstalldocs
124 - use static-libs || find "${D}" -name '*.la' -delete || die
125 -}
126
127 diff --git a/dev-util/google-perftools/google-perftools-2.9.1.ebuild b/dev-util/google-perftools/google-perftools-2.9.1.ebuild
128 deleted file mode 100644
129 index 896b51dfd9c..00000000000
130 --- a/dev-util/google-perftools/google-perftools-2.9.1.ebuild
131 +++ /dev/null
132 @@ -1,95 +0,0 @@
133 -# Copyright 1999-2021 Gentoo Authors
134 -# Distributed under the terms of the GNU General Public License v2
135 -
136 -EAPI=7
137 -MY_P="gperftools-${PV}"
138 -
139 -inherit toolchain-funcs flag-o-matic autotools vcs-snapshot multilib-minimal
140 -
141 -DESCRIPTION="Fast, multi-threaded malloc() and nifty performance analysis tools"
142 -HOMEPAGE="https://github.com/gperftools/gperftools"
143 -SRC_URI="https://github.com/gperftools/gperftools/archive/${MY_P}.tar.gz"
144 -
145 -LICENSE="MIT"
146 -SLOT="0/4"
147 -# contains ASM code, with support for
148 -# freebsd x86/amd64
149 -# linux amd64/arm/arm64/ppc/ppc64/riscv/x86
150 -# OSX ppc/amd64
151 -# AIX ppc/ppc64
152 -KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
153 -
154 -IUSE="largepages largepages64k +debug minimal optimisememory test static-libs"
155 -
156 -RESTRICT="!test? ( test )"
157 -
158 -# TODO: remove the riscv special case once either libunwind has begun supporting this arch
159 -# or this package allows using llvm-libunwind for other arches
160 -DEPEND="!ppc64? (
161 - riscv? ( sys-libs/llvm-libunwind )
162 - !riscv? ( sys-libs/libunwind )
163 -)"
164 -RDEPEND="${DEPEND}"
165 -
166 -S="${WORKDIR}/${MY_P}"
167 -
168 -pkg_setup() {
169 - # set up the make options in here so that we can actually make use
170 - # of them on both compile and install.
171 -
172 - # Avoid building the unit testing if we're not going to execute
173 - # tests; this trick here allows us to ignore the tests without
174 - # touching the build system (and thus without rebuilding
175 - # autotools). Keep commented as long as it's restricted.
176 - use test || \
177 - MAKEOPTS+=" noinst_PROGRAMS= "
178 -}
179 -
180 -src_prepare() {
181 - default
182 - eautoreconf
183 - multilib_copy_sources
184 -}
185 -
186 -multilib_src_configure() {
187 - use largepages && append-cppflags -DTCMALLOC_LARGE_PAGES
188 - use largepages64k && append-cppflags -DTCMALLOC_LARGE_PAGES64K
189 - use optimisememory && append-cppflags -DTCMALLOC_SMALL_BUT_SLOW
190 - append-flags -fno-strict-aliasing -fno-omit-frame-pointer
191 -
192 - econf \
193 - --enable-shared \
194 - $(use_enable static-libs static) \
195 - $(use_enable debug debugalloc) \
196 - $(if [[ ${ABI} == x32 ]]; then printf "--enable-minimal\n" else use_enable minimal; fi)
197 -}
198 -
199 -src_test() {
200 - case "${LD_PRELOAD}" in
201 - *libsandbox*)
202 - ewarn "Unable to run tests when sandbox is enabled."
203 - ewarn "See https://bugs.gentoo.org/290249"
204 - return 0
205 - ;;
206 - esac
207 -
208 - multilib-minimal_src_test
209 -}
210 -
211 -src_install() {
212 - if ! use minimal && has x32 ${MULTILIB_ABIS}; then
213 - MULTILIB_WRAPPED_HEADERS=(
214 - /usr/include/gperftools/heap-checker.h
215 - /usr/include/gperftools/heap-profiler.h
216 - /usr/include/gperftools/stacktrace.h
217 - /usr/include/gperftools/profiler.h
218 - )
219 - fi
220 -
221 - multilib-minimal_src_install
222 -}
223 -
224 -multilib_src_install_all() {
225 - einstalldocs
226 - use static-libs || find "${D}" -name '*.la' -delete || die
227 -}