From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH 1/2] new package: jemalloc 2.0.4 (dep for MariaDB) Date: Tue, 22 Mar 2016 18:43:59 +0000 Message-ID: <1458672239.30749.46.camel@ipfire.org> In-Reply-To: <1458630482-3248-1-git-send-email-marcel.lorenz@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4739682878068634675==" List-Id: --===============4739682878068634675== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, what is the need for these packages? MariaDB builds without these, but can ma= ke use of them when they are available? Are there any advantages to expect? Do they add any features that are commonly used? If not I would like to keep the distribution as slink as possible. Best, -Michael On Tue, 2016-03-22 at 08:08 +0100, Marcel Lorenz wrote: > This module is needed for build MariaDB 10.1.12 with cmake 3.5 >=20 > Signed-off-by: Marcel Lorenz >=20 > --- > =C2=A0config/rootfiles/common/jemalloc | 13 +++++++ > =C2=A0lfs/jemalloc=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0| 84 > ++++++++++++++++++++++++++++++++++++++++ > =C2=A02 files changed, 97 insertions(+) > =C2=A0create mode 100644 config/rootfiles/common/jemalloc > =C2=A0create mode 100644 lfs/jemalloc >=20 > diff --git a/config/rootfiles/common/jemalloc > b/config/rootfiles/common/jemalloc > new file mode 100644 > index 0000000..461375e > --- /dev/null > +++ b/config/rootfiles/common/jemalloc > @@ -0,0 +1,13 @@ > +#usr/bin/jemalloc-config > +#usr/bin/jemalloc.sh > +#usr/bin/jeprof > +#usr/include/jemalloc > +#usr/include/jemalloc/jemalloc.h > +#usr/lib/libjemalloc.a > +usr/lib/libjemalloc.so > +usr/lib/libjemalloc.so.2 > +#usr/lib/libjemalloc_pic.a > +#usr/lib/pkgconfig/jemalloc.pc > +#usr/share/doc/jemalloc > +#usr/share/doc/jemalloc/jemalloc.html > +#usr/share/man/man3/jemalloc.3 > diff --git a/lfs/jemalloc b/lfs/jemalloc > new file mode 100644 > index 0000000..b6d0a47 > --- /dev/null > +++ b/lfs/jemalloc > @@ -0,0 +1,84 @@ > +##########################################################################= ### > ## > +#=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 > =C2=A0# > +# IPFire.org - A linux based > firewall=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# > +# Copyright (C) 2007-2016=C2=A0=C2=A0IPFire Team=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > =C2=A0# > +#=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 > =C2=A0# > +# This program is free software: you can redistribute it and/or > modify=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# > +# it under the terms of the GNU General Public License as published > by=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# > +# the Free Software Foundation, either version 3 of the License, > or=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# > +# (at your option) any later > version.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0# > +#=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 > =C2=A0# > +# This program is distributed in the hope that it will be > useful,=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0# > +# but WITHOUT ANY WARRANTY; without even the implied warranty > of=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0# > +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.=C2=A0=C2=A0See > the=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0# > +# GNU General Public License for more > details.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2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A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 > =C2=A0# > +##########################################################################= ### > ## > + > +##########################################################################= ### > ## > +# Definitions > +##########################################################################= ### > ## > + > +include Config > + > +VER=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D 4.0.4 > + > +THISAPP=C2=A0=C2=A0=C2=A0=C2=A0=3D jemalloc-$(VER) > +DL_FILE=C2=A0=C2=A0=C2=A0=C2=A0=3D $(THISAPP).tar.bz2 > +DL_FROM=C2=A0=C2=A0=C2=A0=C2=A0=3D $(URL_IPFIRE) > +DIR_APP=C2=A0=C2=A0=C2=A0=C2=A0=3D $(DIR_SRC)/$(THISAPP) > +TARGET=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D $(DIR_INFO)/$(THISAPP) > +PROG=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D jemalloc > +PAK_VER=C2=A0=C2=A0=C2=A0=C2=A0=3D 1 > + > +DEPS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=3D "" > + > +##########################################################################= ### > ## > +# Top-level Rules > +##########################################################################= ### > ## > + > +objects =3D $(DL_FILE) > + > +$(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) > + > +$(DL_FILE)_MD5 =3D 687c5cc53b9a7ab711ccd680351ff988 > + > +install : $(TARGET) > + > +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) > + > +download :$(patsubst %,$(DIR_DL)/%,$(objects)) > + > +md5 : $(subst %,%_MD5,$(objects)) > + > +dist:=C2=A0 > + @$(PAK) > + > +##########################################################################= ### > ## > +# Downloading, checking, md5sum > +##########################################################################= ### > ## > + > +$(patsubst %,$(DIR_CHK)/%,$(objects)) : > + @$(CHECK) > + > +$(patsubst %,$(DIR_DL)/%,$(objects)) : > + @$(LOAD) > + > +$(subst %,%_MD5,$(objects)) : > + @$(MD5) > + > +##########################################################################= ### > ## > +# Installation Details > +##########################################################################= ### > ## > + > +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > + @$(PREBUILD) > + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) > + cd $(DIR_APP) && ./configure --prefix=3D/usr > + cd $(DIR_APP) && make $(MAKETUNING) > + cd $(DIR_APP) && make install > + @rm -rf $(DIR_APP) > + @$(POSTBUILD) --===============4739682878068634675== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjIKCmlRSWNCQUFC Q2dBR0JRSlc4Wkp2QUFvSkVJQjU4UDl2a0FrSHBsTVAvUlJtWXNMaGszS1REWEIxdEpKMDJtaXMK Z1RZZHNkZFFBdTQ0eVkyWkgwTGdFaTRDL0ZMVktyRzNwQVBrNmlBZU1kbmpHbXArSWxMTmQzL1JJ Uk0yd21BMQpJTlYrU2JNWUNGazMrT1ZPWktYYzdWK2FwNTJkaFhYZ0R3cmNSeGdpTjc3THRMRTlO SU82NUR3NjBXMXVLV2NIClZBTlBSbGZVQWhVZjVPL3h0UHJKRGNvdXVFL1hkYXVXY0RLRVl3TXp3 SE1hOVdqTll0YjU0T2dYTlNVNWhsOHgKZU9odW03TmEwajUxUGEwdy9wdENzN2p1S2s5UlREVlI1 QVVZcElwS3k5cnFZeVVoTm92VWdZZHE4QmNCVHZjcgpuczBRUFY0QW9OTGtVTjFTN3F0VGFGc2tI c1NicnFRdzAvTFNRNUJCNWk0dFN2Wll5TFRyVE1OSG11N1A1S3N2CmFsbThLUlQyakZLbEh5aWR5 eXVWTlAxNll3NERQblZwWWtLc28xbkNyUWNGclM3QkJnTmtIVk10OENGN3ZRUGwKS1pvNDBYM0g0 UGsySkJ5T0VZMj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