pkgsrc/devel/gperftools/Makefile
adam d682dc58e7 gperftools: updated to 2.9.1
gperftools 2.9.1 is out!

Minor fixes landed since previous release:

* OSX builds new prefer backtrace() and have somewhat working heap
  sampling.

* Incorrect assertion failure was fixed that crashed tcmalloc if
  assertions were on and sized delete was used.


gperftools 2.9 is out!

Few more changes landed compared to rc:

* Venkatesh Srinivas has contributed thread-safety annotations
  support.

* couple more unit test bugs that caused tcmalloc_unittest to fail on
  recent clang has been fixed.

* usage of unsupportable linux_syscall_support.h has been removed from
  few places. Building with --disable-heap-checker now completely
  avoids it. Expect complete death of this header in next major
  release.
2021-03-19 10:24:47 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.20 2021/03/19 10:24:47 adam Exp $
DISTNAME= gperftools-2.9.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=gperftools/}
GITHUB_PROJECT= gperftools
GITHUB_RELEASE= ${DISTNAME}
MAINTAINER= cheusov@NetBSD.org
HOMEPAGE= https://github.com/gperftools/gperftools
COMMENT= Fast, multi-threaded malloc() and nifty performance analysis tools
LICENSE= modified-bsd
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake perl:run
GNU_CONFIGURE= yes
# on some platforms heap checker is not build by default
CONFIGURE_ARGS+= --enable-heap-checker
TEST_TARGET= check
# for backtrace()
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD") && exists(/usr/include/execinfo.h)
LIBS+= -lexecinfo
CONFIGURE_ARGS+= --enable-stacktrace-via-backtrace
.endif
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
REPLACE_PERL= src/pprof
.include "../../mk/bsd.pkg.mk"