pkgsrc/devel/jemalloc/Makefile
maya 3df5fbf0bf jemalloc: update to 4.4.0
New features:

    Add configure support for *-*-linux-android. (@cferris1000, @jasone)
    Add the --disable-syscall configure option, for use on systems that place security-motivated limitations on syscall(2). (@jasone)
    Add support for Debian GNU/kFreeBSD. (@thesam)

Optimizations:

    Add extent serial numbers and use them where appropriate as a sort key that is higher priority than address, so that the allocation policy prefers older extents. This tends to improve locality (decrease fragmentation) when memory grows downward. (@jasone)
    Refactor madvise(2) configuration so that MADV_FREE is detected and utilized on Linux 4.5 and newer. (@jasone)
    Mark partially purged arena chunks as non-huge-page. This improves interaction with Linux's transparent huge page functionality. (@jasone)

Bug fixes:

    Fix size class computations for edge conditions involving extremely large allocations. This regression was first released in 4.0.0. (@jasone, @ingvarha)
    Remove overly restrictive assertions related to the cactive statistic. This regression was first released in 4.1.0. (@jasone)
    Implement a more reliable detection scheme for os_unfair_lock on macOS. (@jszakmeister)

From Jonathan Buschmann in PR pkg/51631
2016-12-15 09:12:41 +00:00

32 lines
871 B
Makefile

# $NetBSD: Makefile,v 1.6 2016/12/15 09:12:41 maya Exp $
DISTNAME= jemalloc-4.4.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=jemalloc/}
GITHUB_PROJECT= jemalloc
GITHUB_RELEASE= ${DISTNAME:S/jemalloc-//}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= gson@NetBSD.org
HOMEPAGE= http://www.canonware.com/jemalloc/
COMMENT= General purpose malloc(3) implementation
LICENSE= 2-clause-bsd
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
USE_TOOLS+= autoconf automake aclocal gmake
USE_LANGUAGES= c
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-cc-silence
CONFIGURE_ARGS+= --enable-xmalloc
CONFIGURE_ARGS+= --with-xslroot=${PREFIX}/share/xsl/docbook/
USE_TOOLS+= perl:run
REPLACE_PERL= bin/jeprof.in
PKGCONFIG_OVERRIDE= jemalloc.pc.in
BUILD_TARGET= all dist
.include "../../mk/bsd.pkg.mk"