pkgsrc/devel/gperftools/Makefile
hiramatsu aeb970744d Update devel/gperftools to 2.4, patch provided by Jonathan Buschmann in PR 49625.
Changes from previous:

== 2.4 ==

+ enabled aggressive decommit option by default, significantly improve memory fragmentation
+ new ./configure flags for tcmalloc pagesize and tcmalloc allocation alignment.
+ Faster malloc/free, 5% on static library and about 10% on shared library. Mainly due to more efficient checking of malloc hooks.
+ Improved accuracy of stacktrace capturing in cpu profiler

== 2.3 ==

+ New experimental method for CPU profiling (only for Linux)
+ Most are fixes to pprof
+ Few other fixes, notably libunwind integration (selectable in configure step) and disabled on OSX & ppc64

== 2.2 ==

+ Support for mips/mips64/aarch64/ppc64-le
+ New method for capturing backtrace
+ More fixes
+ Fixes for Windows
+ Sources served by Google drive
2015-04-03 14:05:38 +00:00

39 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2015/04/03 14:05:38 hiramatsu Exp $
DISTNAME= gperftools-2.4
CATEGORIES= devel
MASTER_SITES= https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/
MAINTAINER= cheusov@NetBSD.org
HOMEPAGE= https://code.google.com/p/gperftools/
COMMENT= Fast, multi-threaded malloc() and nifty performance analysis tools
LICENSE= modified-bsd
USE_TOOLS+= perl:run
REPLACE_PERL= src/pprof
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
CONFIGURE_ARGS+= --enable-frame-pointers # per README
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/heap_checker.html ${DESTDIR}${PREFIX}/share/doc/${PKGNAME}/heap_checker.html
.endif
# http://code.google.com/p/gperftools/issues/detail?id=609
PKGCONFIG_OVERRIDE= libprofiler.pc
PKGCONFIG_OVERRIDE+= libtcmalloc.pc
PKGCONFIG_OVERRIDE+= libtcmalloc_debug.pc
PKGCONFIG_OVERRIDE+= libtcmalloc_minimal.pc
PKGCONFIG_OVERRIDE+= libtcmalloc_minimal_debug.pc
PKGCONFIG_OVERRIDE_STAGE= post-build
TEST_TARGET= check
.include "../../mk/bsd.pkg.mk"