* [gentoo-commits] gentoo-x86 commit in dev-util/google-perftools: metadata.xml ChangeLog google-perftools-1.6.ebuild google-perftools-1.4.ebuild
@ 2010-08-05 23:40 Diego Petteno (flameeyes)
0 siblings, 0 replies; only message in thread
From: Diego Petteno (flameeyes) @ 2010-08-05 23:40 UTC (permalink / raw
To: gentoo-commits
flameeyes 10/08/05 23:40:37
Modified: metadata.xml ChangeLog
Added: google-perftools-1.6.ebuild
Removed: google-perftools-1.4.ebuild
Log:
Version bump; improve ebuild to not build tests; add USE flags for debug, minimal and the (new) largepages option; don't even install the documentation with the original build system, so that we don't have to remove it; only build shared libraries, and remove .la files — build time is vastly reduced this way.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Revision Changes Path
1.2 dev-util/google-perftools/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/metadata.xml?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/metadata.xml?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/metadata.xml?r1=1.1&r2=1.2
Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/google-perftools/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml 23 Oct 2009 15:08:39 -0000 1.1
+++ metadata.xml 5 Aug 2010 23:40:37 -0000 1.2
@@ -5,4 +5,23 @@
<maintainer>
<email>flameeyes@gentoo.org</email>
</maintainer>
+
+ <use>
+ <flag name="largepages">
+ Use (experimental) larger pages for tcmalloc, this increases
+ memory usage, but should speed up the allocation/free
+ operations.
+ </flag>
+
+ <flag name="debug">
+ Build a set of libraries with debug support (so-called
+ debugalloc). These are available by default but are not needed
+ unless you're actually developing using tcmalloc.
+ </flag>
+
+ <flag name="minimal">
+ Only build the tcmalloc_minimal library, ignoring the heap
+ checker and the profilers.
+ </flag>
+ </use>
</pkgmetadata>
1.4 dev-util/google-perftools/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/ChangeLog?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/ChangeLog?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/ChangeLog?r1=1.3&r2=1.4
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-util/google-perftools/ChangeLog,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ChangeLog 31 Jan 2010 00:33:24 -0000 1.3
+++ ChangeLog 5 Aug 2010 23:40:37 -0000 1.4
@@ -1,6 +1,16 @@
# ChangeLog for dev-util/google-perftools
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/google-perftools/ChangeLog,v 1.3 2010/01/31 00:33:24 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/google-perftools/ChangeLog,v 1.4 2010/08/05 23:40:37 flameeyes Exp $
+
+*google-perftools-1.6 (05 Aug 2010)
+
+ 05 Aug 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ -google-perftools-1.4.ebuild, +google-perftools-1.6.ebuild, metadata.xml:
+ Version bump; improve ebuild to not build tests; add USE flags for debug,
+ minimal and the (new) largepages option; don't even install the
+ documentation with the original build system, so that we don't have to
+ remove it; only build shared libraries, and remove .la files — build
+ time is vastly reduced this way.
*google-perftools-1.5 (31 Jan 2010)
1.1 dev-util/google-perftools/google-perftools-1.6.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/google-perftools-1.6.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/google-perftools/google-perftools-1.6.ebuild?rev=1.1&content-type=text/plain
Index: google-perftools-1.6.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/google-perftools/google-perftools-1.6.ebuild,v 1.1 2010/08/05 23:40:37 flameeyes Exp $
EAPI=2
inherit toolchain-funcs
DESCRIPTION="Fast, multi-threaded malloc() and nifty performance analysis tools"
HOMEPAGE="http://code.google.com/p/google-perftools/"
SRC_URI="http://google-perftools.googlecode.com/files/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="largepages +debug minimal" # test"
DEPEND="sys-libs/libunwind"
RDEPEND="${DEPEND}"
# tests get stuck in a deadlock due to sandbox interactions.
# bug #290249.
RESTRICT=test
pkg_setup() {
# set up the make options in here so that we can actually make use
# of them on both compile and install.
# Avoid building the unit testing if we're not going to execute
# tests; this trick here allows us to ignore the tests without
# touching the build system (and thus without rebuilding
# autotools). Keep commented as long as it's restricted.
# use test && \
makeopts="${makeopts} noinst_PROGRAMS= "
# don't install _anything_ from the documentation, since it would
# install it in non-standard locations, and would just waste time.
makeopts="${makeopts} dist_doc_DATA= "
}
src_configure() {
use largepages && append-cppflags -DTCMALLOC_LARGE_PAGES
econf \
--disable-static \
--disable-dependency-tracking \
--enable-fast-install \
$(use_enable debug debugalloc) \
$(use_enable minimal)
}
src_compile() {
emake ${makeopts} || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install ${makeopts} || die "emake install failed"
# Remove libtool files since we dropped the static libraries
find "${D}" -name '*.la' -delete
dodoc README AUTHORS ChangeLog TODO NEWS || die
pushd doc
dohtml -r * || die
popd
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-08-05 23:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-05 23:40 [gentoo-commits] gentoo-x86 commit in dev-util/google-perftools: metadata.xml ChangeLog google-perftools-1.6.ebuild google-perftools-1.4.ebuild Diego Petteno (flameeyes)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox