Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/jemalloc/
Date: Wed, 07 Aug 2019 20:26:06
Message-Id: 1565209553.c1bbbe478dad48e842ceb89f61a099ab0a5c5806.whissi@gentoo
1 commit: c1bbbe478dad48e842ceb89f61a099ab0a5c5806
2 Author: Han Han <hanhanzhiyeqianke <AT> gmail <DOT> com>
3 AuthorDate: Sat Jul 27 14:34:06 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 7 20:25:53 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1bbbe47
7
8 dev-libs/jemalloc: Add USE flag prof
9
10 Add USE flag prof to enable or disable allocation profiling.
11
12 Signed-off-by: Han Han <hanhanzhiyeqianke <AT> gmail.com>
13 Closes: https://github.com/gentoo/gentoo/pull/12556
14 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
15
16 dev-libs/jemalloc/jemalloc-5.0.1.ebuild | 3 ++-
17 dev-libs/jemalloc/jemalloc-5.1.0.ebuild | 3 ++-
18 dev-libs/jemalloc/jemalloc-5.2.0.ebuild | 3 ++-
19 dev-libs/jemalloc/metadata.xml | 1 +
20 4 files changed, 7 insertions(+), 3 deletions(-)
21
22 diff --git a/dev-libs/jemalloc/jemalloc-5.0.1.ebuild b/dev-libs/jemalloc/jemalloc-5.0.1.ebuild
23 index f5ad09f06a6..ddad51b8e61 100644
24 --- a/dev-libs/jemalloc/jemalloc-5.0.1.ebuild
25 +++ b/dev-libs/jemalloc/jemalloc-5.0.1.ebuild
26 @@ -12,7 +12,7 @@ SRC_URI="https://github.com/jemalloc/jemalloc/releases/download/${PV}/${P}.tar.b
27 LICENSE="BSD"
28 SLOT="0/2"
29 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
30 -IUSE="debug hardened +hugepages lazy-lock static-libs stats xmalloc"
31 +IUSE="debug hardened +hugepages lazy-lock prof static-libs stats xmalloc"
32 HTML_DOCS=( doc/jemalloc.html )
33 PATCHES=( "${FILESDIR}/${PN}-5.0.1-strip-optimization.patch"
34 "${FILESDIR}/${PN}-4.5.0-fix_html_install.patch"
35 @@ -40,6 +40,7 @@ multilib_src_configure() {
36 $(use_enable debug) \
37 $(use_enable lazy-lock) \
38 $(use_enable hugepages thp) \
39 + $(use_enable prof) \
40 $(use_enable stats) \
41 $(use_enable xmalloc) \
42 "${myconf[@]}"
43
44 diff --git a/dev-libs/jemalloc/jemalloc-5.1.0.ebuild b/dev-libs/jemalloc/jemalloc-5.1.0.ebuild
45 index 7eda36ea909..3a7b8d7c3de 100644
46 --- a/dev-libs/jemalloc/jemalloc-5.1.0.ebuild
47 +++ b/dev-libs/jemalloc/jemalloc-5.1.0.ebuild
48 @@ -12,7 +12,7 @@ SRC_URI="https://github.com/jemalloc/jemalloc/releases/download/${PV}/${P}.tar.b
49 LICENSE="BSD"
50 SLOT="0/2"
51 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
52 -IUSE="debug hardened lazy-lock static-libs stats xmalloc"
53 +IUSE="debug hardened lazy-lock prof static-libs stats xmalloc"
54 HTML_DOCS=( doc/jemalloc.html )
55 PATCHES=( "${FILESDIR}/${PN}-5.0.1-strip-optimization.patch"
56 "${FILESDIR}/${PN}-4.5.0-fix_html_install.patch"
57 @@ -39,6 +39,7 @@ multilib_src_configure() {
58 econf \
59 $(use_enable debug) \
60 $(use_enable lazy-lock) \
61 + $(use_enable prof) \
62 $(use_enable stats) \
63 $(use_enable xmalloc) \
64 "${myconf[@]}"
65
66 diff --git a/dev-libs/jemalloc/jemalloc-5.2.0.ebuild b/dev-libs/jemalloc/jemalloc-5.2.0.ebuild
67 index 16ced36e757..3e82a451db0 100644
68 --- a/dev-libs/jemalloc/jemalloc-5.2.0.ebuild
69 +++ b/dev-libs/jemalloc/jemalloc-5.2.0.ebuild
70 @@ -12,7 +12,7 @@ SRC_URI="https://github.com/jemalloc/jemalloc/releases/download/${PV}/${P}.tar.b
71 LICENSE="BSD"
72 SLOT="0/2"
73 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
74 -IUSE="debug hardened lazy-lock static-libs stats xmalloc"
75 +IUSE="debug hardened lazy-lock prof static-libs stats xmalloc"
76 HTML_DOCS=( doc/jemalloc.html )
77 PATCHES=( "${FILESDIR}/${PN}-5.2.0-gentoo-fixups.patch" )
78
79 @@ -38,6 +38,7 @@ multilib_src_configure() {
80 econf \
81 $(use_enable debug) \
82 $(use_enable lazy-lock) \
83 + $(use_enable prof) \
84 $(use_enable stats) \
85 $(use_enable xmalloc) \
86 "${myconf[@]}"
87
88 diff --git a/dev-libs/jemalloc/metadata.xml b/dev-libs/jemalloc/metadata.xml
89 index 848a0a7987d..14624ae1ff1 100644
90 --- a/dev-libs/jemalloc/metadata.xml
91 +++ b/dev-libs/jemalloc/metadata.xml
92 @@ -11,6 +11,7 @@
93 <use>
94 <flag name="hugepages">Enable transparent huge page support</flag>
95 <flag name="lazy-lock">Enable lazy locking (only lock when multi-threaded)</flag>
96 + <flag name="prof">Enable allocation profiling</flag>
97 <flag name="stats">Enable statistics calculation/reporting</flag>
98 <flag name="xmalloc">Add support for xmalloc (abort-on-out-of-memory)</flag>
99 </use>