diff options
author | Stuart Shelton <stuart@shelton.me> | 2016-12-15 16:18:19 +0000 |
---|---|---|
committer | Stuart Shelton <stuart@shelton.me> | 2016-12-15 16:18:19 +0000 |
commit | d08e53c6e638574eaae063145b3ba80d0850dae4 (patch) | |
tree | c41a8ca70e22fb8c38c15c79bb3d954967780ff6 /dev-libs/jemalloc | |
parent | Add file busybox-1.25.1-setfiles.patch (missing from commit bf7b7f2), affecti... (diff) | |
download | srcshelton-d08e53c6e638574eaae063145b3ba80d0850dae4.tar.gz srcshelton-d08e53c6e638574eaae063145b3ba80d0850dae4.tar.bz2 srcshelton-d08e53c6e638574eaae063145b3ba80d0850dae4.zip |
Add dev-libs/jemalloc-4.4.0
Diffstat (limited to 'dev-libs/jemalloc')
-rw-r--r-- | dev-libs/jemalloc/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/jemalloc/jemalloc-4.4.0.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-libs/jemalloc/Manifest b/dev-libs/jemalloc/Manifest index b791f0fe..b0a290a0 100644 --- a/dev-libs/jemalloc/Manifest +++ b/dev-libs/jemalloc/Manifest @@ -5,7 +5,9 @@ DIST jemalloc-4.0.4.tar.bz2 391483 SHA256 3fda8d8d7fcd041aa0bebbecd45c46b28873cf DIST jemalloc-4.1.0.tar.bz2 412900 SHA256 fad06d714f72adb4265783bc169c6d98eeb032d57ba02d87d1dcb4a2d933ec8e SHA512 12433101936a104115d8d93991b4849daf897bd39d6c28b1235215c7abc627163a70d19259fb1f2eeb0cdd66cfe889c2e40eb77dccee6debd73b1a4313d0de73 WHIRLPOOL 0305d1cc715c565749c5e9c2de396d349c0d79513da80b461324c82f880c6a070a932cea19802ac809810fe01690dcb24047914f937ddf167a990cf7b4110f0c DIST jemalloc-4.2.0.tar.bz2 430964 SHA256 b216ddaeb901697fe38bd30ea02d7505a4b60e8979092009f95cfda860d46acb SHA512 a6963ad62830472c8b85d0184d24fdd07039e41d02a7bd5177618f7b9f936c658b836ea74e4d2b771f12eea8dc9892363991cf5fab7b19a42871a8cbeb2ef1c4 WHIRLPOOL 94c030bb70b2a1538af2037ce9708e761f801b2ca86101dbe80a839757af6c7ebbc7d032eadf202f84f33cc88ebca6e0263c747d746fe4a7fc0598e9d3b278ec DIST jemalloc-4.2.1.tar.bz2 431132 SHA256 5630650d5c1caab95d2f0898de4fe5ab8519dc680b04963b38bb425ef6a42d57 SHA512 a0bbf2150371bf31b386c668bc636a56e82145a8a81586d0898cdeed707bf1b694e777ea2afba521584998a60663bb4734e8a83697a337ea13e6ade4de737c18 WHIRLPOOL 2fd0dd55184eef49329dfff40ef1fc4bce8304e52f0fd0e11fa6bd380a93206d600d8ff3bb1ac442fcab7ecdda2a1ac56cb68f30bb70bc1ced0f54e835ca9bef +DIST jemalloc-4.4.0.tar.bz2 440144 SHA256 a7aea63e9718d2f1adf81d87e3df3cb1b58deb86fc77bad5d702c4c59687b033 SHA512 2f88fb17ede3bf87e334e9c80949870e0dd85b5adcdd89a1750ccf6df5240f35293159ac0a360d3a29cf0b1d17edf86dcc7997c6bf3190ae7da7442d3a3cc14e WHIRLPOOL 1485ce6cf08ee2233117e281d1a61f376d2b6c73f28c68f2cc1956471bcb56a4eef045c0011de141b669d94d7339de5e79860f6b21bfbeffab821d5eb528759c EBUILD jemalloc-4.0.4.ebuild 1624 SHA256 18ab91320773c68a7084546f5d09e33560fece3207d71fdba0e95a2f1afd513a SHA512 fdc817fd20647b239f0c576c912bb09cb5647e3c60bc085cbaa4900c48bdd8930548c1af1cf6450189aa926c61ac01ab3579ef296120c90a9f03d820073d4d75 WHIRLPOOL d1176f679f4e390102d8fa700ed4bb8e58a22982ce83160f82a75b09acbf17f88b5c699509bba172d1ac6a510f49f71a18b24e904f6ddbdc966f6b103b13495c EBUILD jemalloc-4.1.0.ebuild 1679 SHA256 e7b4e9a4e3d7ee9deaaf09ebe456703aaceec3eeadd83aec5df1f9bdaecfd534 SHA512 caa916d47935322036219f9af450694626a3e91cf4c82c1a84ab499553956fe3247a7d20ede2307e93e0bd31fb0a9a133d2b3ddc36cde8000b0564f4b1048466 WHIRLPOOL a15b7aeeaae36f6c4e2e89b403af5f3773d29f78912d79bd1bdfde925de67690c0820207b4652f66ac12cfe5f707e6c81302aabbd2f862e54295ca0291705370 EBUILD jemalloc-4.2.0.ebuild 1627 SHA256 2f9fe350366801017cdeac7fe668eaef7638698c4ddab5f379258d3f858d826a SHA512 9ca405d3cf17a7fd500e188e54760e55cdfd0f99a3072d830cc81fea02c63f81c7b4d4aab04d258e460d4b31f671211ebf6e499653caf3181a340e2a880cf965 WHIRLPOOL 7960c2c368869db9e0cc1e7c9ae1136bde5b31f73cb84bfa2fad6d1bee9971046b58441c8582e2434974f119af4c0866667a2e3f139dcec7dc704ec5e785f19c EBUILD jemalloc-4.2.1.ebuild 1627 SHA256 2f9fe350366801017cdeac7fe668eaef7638698c4ddab5f379258d3f858d826a SHA512 9ca405d3cf17a7fd500e188e54760e55cdfd0f99a3072d830cc81fea02c63f81c7b4d4aab04d258e460d4b31f671211ebf6e499653caf3181a340e2a880cf965 WHIRLPOOL 7960c2c368869db9e0cc1e7c9ae1136bde5b31f73cb84bfa2fad6d1bee9971046b58441c8582e2434974f119af4c0866667a2e3f139dcec7dc704ec5e785f19c +EBUILD jemalloc-4.4.0.ebuild 1778 SHA256 4de64548869fe161c7f9353c38d7a1c8796c9caeb67579d11c1afc7d6cfa6d08 SHA512 0a8dd2e72d0062c80e227caef819303d626ad43fe158beaca2eb9a46915667cc3f2dc6571aad64579d4555d2428be1d54e2bdd8681dec8f9383639ae4c112a3c WHIRLPOOL 37bb30aefa0a547cce62e463bec0c7d4e16523875e8678f1e3be55a07be82c3e38bd3fb1703a8199b6521e5805fb80b5803897c02895fe8f7f37aba2031a2722 diff --git a/dev-libs/jemalloc/jemalloc-4.4.0.ebuild b/dev-libs/jemalloc/jemalloc-4.4.0.ebuild new file mode 100644 index 00000000..c617c2f7 --- /dev/null +++ b/dev-libs/jemalloc/jemalloc-4.4.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id: b5f2806bf62521f66315158f2836dd4bc35263ef $ + +EAPI=6 + +inherit toolchain-funcs multilib-build multilib-minimal + +DESCRIPTION="Jemalloc is a general-purpose scalable concurrent allocator" +HOMEPAGE="http://www.canonware.com/jemalloc/" +SRC_URI="https://github.com/jemalloc/jemalloc/releases/download/${PV}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="debug hardened static-libs stats" +HTML_DOCS=( doc/jemalloc.html ) +PATCHES=( "${FILESDIR}/${PN}-3.5.1-strip-optimization.patch" + "${FILESDIR}/${PN}-3.5.1_fix_html_install.patch" +) +MULTILIB_WRAPPED_HEADERS=( /usr/include/jemalloc/jemalloc.h ) +# autotools-utils.eclass auto-adds configure options when static-libs is in IUSE +# but jemalloc doesn't implement them in its configure; need this here to +# supress the warnings until automagic is removed from the eclass +QA_CONFIGURE_OPTIONS="--enable-static --disable-static --enable-shared --disable-shared" + +multilib_src_configure() { + local myconf=() + + if use hardened ; then + myconf+=( --disable-syscall ) + fi + + ECONF_SOURCE="${S}" \ + econf \ + $(use_enable debug) \ + $(use_enable stats) \ + "${myconf[@]}" +} + +multilib_src_install() { + # Copy man file which the Makefile looks for + cp "${S}/doc/jemalloc.3" "${BUILD_DIR}/doc" || die + emake DESTDIR="${D}" install +} + +multilib_src_install_all() { + if [[ ${CHOST} == *-darwin* ]] ; then + # fixup install_name, #437362 + install_name_tool \ + -id "${EPREFIX}"/usr/$(get_libdir)/libjemalloc.2.dylib \ + "${ED}"/usr/$(get_libdir)/libjemalloc.2.dylib || die + fi + use static-libs || find "${ED}" -name '*.a' -delete +} |