From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RSCz5-00067J-M9 for garchives@archives.gentoo.org; Sun, 20 Nov 2011 19:23:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CFBBF21C454; Sun, 20 Nov 2011 19:23:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9255B21C452 for ; Sun, 20 Nov 2011 19:23:05 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 03A751B4045 for ; Sun, 20 Nov 2011 19:23:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 2DDE580042 for ; Sun, 20 Nov 2011 19:23:04 +0000 (UTC) From: "Jory Pratt" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jory Pratt" Message-ID: <0da6591fc5d890ca89cbb1669535528c65277a2a.anarchy@gentoo> Subject: [gentoo-commits] proj/mozilla:master commit in: dev-libs/jemalloc/files/, dev-libs/jemalloc/ X-VCS-Repository: proj/mozilla X-VCS-Files: dev-libs/jemalloc/Manifest dev-libs/jemalloc/files/jemalloc-2.2.1-no-pprof.patch dev-libs/jemalloc/files/jemalloc-strip-optimization.patch dev-libs/jemalloc/jemalloc-2.2.5.ebuild X-VCS-Directories: dev-libs/jemalloc/files/ dev-libs/jemalloc/ X-VCS-Committer: anarchy X-VCS-Committer-Name: Jory Pratt X-VCS-Revision: 0da6591fc5d890ca89cbb1669535528c65277a2a Date: Sun, 20 Nov 2011 19:23:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: beb19f77-0dba-471c-bb1d-f56f28480c5c X-Archives-Hash: a457fc285eb809c95a343fec424de93d commit: 0da6591fc5d890ca89cbb1669535528c65277a2a Author: Jory A. Pratt gentoo org> AuthorDate: Sun Nov 20 19:22:53 2011 +0000 Commit: Jory Pratt gentoo org> CommitDate: Sun Nov 20 19:22:53 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/mozilla.git;a= =3Dcommit;h=3D0da6591f add new jemalloc for testing --- dev-libs/jemalloc/Manifest | 4 ++ .../jemalloc/files/jemalloc-2.2.1-no-pprof.patch | 24 +++++++++++++ .../files/jemalloc-strip-optimization.patch | 25 ++++++++++++++ dev-libs/jemalloc/jemalloc-2.2.5.ebuild | 35 ++++++++++++++= ++++++ 4 files changed, 88 insertions(+), 0 deletions(-) diff --git a/dev-libs/jemalloc/Manifest b/dev-libs/jemalloc/Manifest new file mode 100644 index 0000000..d7785f4 --- /dev/null +++ b/dev-libs/jemalloc/Manifest @@ -0,0 +1,4 @@ +AUX jemalloc-2.2.1-no-pprof.patch 702 RMD160 92b697551e7b24cd7f4974b0ab0= 37952b3b0c2ff SHA1 d9c05608769393ad4999cc3e5910a54b3bd7e5ee SHA256 8e5a36= 505a90eab85bf746d4eb5a27d473ce25396104a0dd01d25368dd0c099d +AUX jemalloc-strip-optimization.patch 800 RMD160 a55b49895ceb9cc48f6fe12= 215b45f5a8c2e7b15 SHA1 ec662a39f02c5f42344ba987e881828c0df0c580 SHA256 a1= 4ee193968e87d0d87a8146050dcad5a33042af119070dbfbac7d4eba9923ce +DIST jemalloc-2.2.5.tar.bz2 224118 RMD160 355d11645d3b4f1a8a82c5455ebf54= 4eab2a2d4e SHA1 0964af950f3e423eec2d04cc1a839149f807dcc9 SHA256 efcc96367= 57bd7f53a0fde084c2988bfe26f2868e435447f2d41ac42c0b3521e +EBUILD jemalloc-2.2.5.ebuild 777 RMD160 96757a5e897a72d6498c1a27b728a41d= fd5955f7 SHA1 a474cf6a9137472eea4b6393ff4e9fa8ce8d7091 SHA256 6c0e971028b= 90a6d4d8a04bb6ba9b9168e09d05afa711b96124314c3c291f726 diff --git a/dev-libs/jemalloc/files/jemalloc-2.2.1-no-pprof.patch b/dev-= libs/jemalloc/files/jemalloc-2.2.1-no-pprof.patch new file mode 100644 index 0000000..e10aab4 --- /dev/null +++ b/dev-libs/jemalloc/files/jemalloc-2.2.1-no-pprof.patch @@ -0,0 +1,24 @@ +--- a/Makefile.in 2011-04-11 10:42:32.084403330 -0500 ++++ b/Makefile.in 2011-04-11 10:43:23.490760665 -0500 +@@ -42,7 +42,6 @@ + endif +=20 + # Lists of files. +-BINS :=3D @srcroot@bin/pprof + CHDRS :=3D @objroot@include/jemalloc/jemalloc@install_suffix@.h \ + @objroot@include/jemalloc/jemalloc_defs@install_suffix@.h + CSRCS :=3D @srcroot@src/jemalloc.c @srcroot@src/arena.c @srcroot@src/at= omic.c \ +@@ -141,13 +140,6 @@ + $(CC) -o $@ $< -L@objroot@lib -ljemalloc@install_suffix@ + endif +=20 +-install_bin: +- install -d $(BINDIR) +- @for b in $(BINS); do \ +- echo "install -m 755 $$b $(BINDIR)"; \ +- install -m 755 $$b $(BINDIR); \ +-done +- + install_include: + install -d $(INCLUDEDIR)/jemalloc + @for h in $(CHDRS); do \ diff --git a/dev-libs/jemalloc/files/jemalloc-strip-optimization.patch b/= dev-libs/jemalloc/files/jemalloc-strip-optimization.patch new file mode 100644 index 0000000..60b7d6c --- /dev/null +++ b/dev-libs/jemalloc/files/jemalloc-strip-optimization.patch @@ -0,0 +1,25 @@ +--- a/configure.ac 2010-02-22 12:07:05.000000000 +0100 ++++ b/configure.ac 2010-02-22 12:08:29.000000000 +0100 +@@ -296,21 +296,6 @@ + fi + AC_SUBST([enable_debug]) +=20 +-dnl Only optimize if not debugging. +-if test "x$enable_debug" =3D "x0" -a "x$no_CFLAGS" =3D "xyes" ; then +- dnl Make sure that an optimization flag was not specified in EXTRA_CF= LAGS. +- optimize=3D"no" +- echo "$EXTRA_CFLAGS" | grep "\-O" >/dev/null || optimize=3D"yes" +- if test "x${optimize}" =3D "xyes" ; then +- if test "x$GCC" =3D "xyes" ; then +- JE_CFLAGS_APPEND([-O3]) +- JE_CFLAGS_APPEND([-funroll-loops]) +- else +- JE_CFLAGS_APPEND([-O]) +- fi +- fi +-fi +- + dnl Do not enable statistics calculation by default. + AC_ARG_ENABLE([stats], + [AS_HELP_STRING([--enable-stats], [Enable statistics calculation/repo= rting])], + diff --git a/dev-libs/jemalloc/jemalloc-2.2.5.ebuild b/dev-libs/jemalloc/= jemalloc-2.2.5.ebuild new file mode 100644 index 0000000..61c157f --- /dev/null +++ b/dev-libs/jemalloc/jemalloc-2.2.5.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/jemalloc/jemalloc-2.2.3.ebui= ld,v 1.2 2011/11/09 19:53:21 xarthisius Exp $ + +EAPI=3D4 + +inherit autotools + +DESCRIPTION=3D"Jemalloc is a general-purpose scalable concurrent allocat= or" +HOMEPAGE=3D"http://www.canonware.com/jemalloc/" +SRC_URI=3D"http://www.canonware.com/download/${PN}/${P}.tar.bz2" + +LICENSE=3D"BSD" +SLOT=3D"0" +KEYWORDS=3D"~amd64 ~ppc ~ppc64 ~x86" + +IUSE=3D"debug stats" + +DEPEND=3D"" +RDEPEND=3D"" + +src_prepare() { + epatch \ + "${FILESDIR}/${PN}-strip-optimization.patch" \ + "${FILESDIR}/${PN}-2.2.1-no-pprof.patch" + + eautoreconf +} + +src_configure() { + econf \ + --with-jemalloc-prefix=3Dj \ + $(use_enable debug) \ + $(use_enable stats) +}