pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/gperftools



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu May 18 18:12:30 UTC 2017

Modified Files:
        pkgsrc/devel/gperftools: Makefile PLIST distinfo

Log Message:
Changes 2.5:

Here are major changes since 2.4:

* we've moved to github!

* Bryan Chan has contributed s390x support

* stacktrace capturing via libgcc's _Unwind_Backtrace was implemented
  (for architectures with missing or broken libunwind).

* "emergency malloc" was implemented. Which unbreaks recursive calls
  to malloc/free from stacktrace capturing functions (such us glib'c
  backtrace() or libunwind on arm). It is enabled by
  --enable-emergency-malloc configure flag or by default on arm when
  --enable-stacktrace-via-backtrace is given. It is another fix for a
  number common issues people had on platforms with missing or broken
  libunwind.

* C++14 sized-deallocation is now supported (on gcc 5 and recent
  clangs). It is off by default and can be enabled at configure time
  via --enable-sized-delete. On GNU/Linux it can also be enabled at
  run-time by either TCMALLOC_ENABLE_SIZED_DELETE environment variable
  or by defining tcmalloc_sized_delete_enabled function which should
  return 1 to enable it.

* we've lowered default value of transfer batch size to 512. Previous
  value (bumped up in 2.1) was too high and caused performance
  regression for some users. 512 should still give us performance
  boost for workloads that need higher transfer batch size while not
  penalizing other workloads too much.

* Brian Silverman's patch finally stopped arming profiling timer
  unless profiling is started.

* Andrew Morrow has contributed support for obtaining cache size of the
  current thread and softer idling (for use in MongoDB).

* we've implemented few minor performance improvements, particularly
  on malloc fast-path.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/gperftools/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/gperftools/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/gperftools/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/gperftools/Makefile
diff -u pkgsrc/devel/gperftools/Makefile:1.6 pkgsrc/devel/gperftools/Makefile:1.7
--- pkgsrc/devel/gperftools/Makefile:1.6        Fri Feb 10 19:59:50 2017
+++ pkgsrc/devel/gperftools/Makefile    Thu May 18 18:12:30 2017
@@ -1,32 +1,23 @@
-# $NetBSD: Makefile,v 1.6 2017/02/10 19:59:50 minskim Exp $
+# $NetBSD: Makefile,v 1.7 2017/05/18 18:12:30 adam Exp $
 
-DISTNAME=      gperftools-2.4
-PKGREVISION=   2
+DISTNAME=      gperftools-2.5
 CATEGORIES=    devel
-MASTER_SITES=  https://googledrive.com/host/0B6NtGsLhIcf7MWxMMF9JdTN3UVk/
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=gperftools/}
 
 MAINTAINER=    cheusov%NetBSD.org@localhost
-HOMEPAGE=      https://code.google.com/p/gperftools/
+HOMEPAGE=      https://github.com/gperftools/gperftools
 COMMENT=       Fast, multi-threaded malloc() and nifty performance analysis tools
 LICENSE=       modified-bsd
 
-USE_TOOLS+=            perl:run
-REPLACE_PERL=          src/pprof
+GITHUB_PROJECT=        gperftools
+GITHUB_RELEASE=        ${DISTNAME}
 
-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_NOREV}/heap_checker.html
-.endif
-
-# http://code.google.com/p/gperftools/issues/detail?id=609
+USE_LIBTOOL=           yes
+USE_TOOLS+=            perl:run
+GNU_CONFIGURE=         yes
+# on some platforms heap checker is not build by default
+CONFIGURE_ARGS+=       --enable-heap-checker
 
 PKGCONFIG_OVERRIDE=    libprofiler.pc
 PKGCONFIG_OVERRIDE+=   libtcmalloc.pc
@@ -35,6 +26,8 @@ PKGCONFIG_OVERRIDE+=  libtcmalloc_minimal
 PKGCONFIG_OVERRIDE+=   libtcmalloc_minimal_debug.pc
 PKGCONFIG_OVERRIDE_STAGE=      post-build
 
+REPLACE_PERL=          src/pprof
+
 TEST_TARGET=           check
 
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/gperftools/PLIST
diff -u pkgsrc/devel/gperftools/PLIST:1.1 pkgsrc/devel/gperftools/PLIST:1.2
--- pkgsrc/devel/gperftools/PLIST:1.1   Wed Apr 16 14:56:07 2014
+++ pkgsrc/devel/gperftools/PLIST       Thu May 18 18:12:30 2017
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2014/04/16 14:56:07 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2017/05/18 18:12:30 adam Exp $
 bin/pprof
 include/google/heap-checker.h
 include/google/heap-profiler.h
@@ -30,54 +30,54 @@ lib/pkgconfig/libtcmalloc_debug.pc
 lib/pkgconfig/libtcmalloc_minimal.pc
 lib/pkgconfig/libtcmalloc_minimal_debug.pc
 man/man1/pprof.1
-share/doc/${PKGNAME}/AUTHORS
-share/doc/${PKGNAME}/COPYING
-share/doc/${PKGNAME}/ChangeLog
-share/doc/${PKGNAME}/INSTALL
-share/doc/${PKGNAME}/NEWS
-share/doc/${PKGNAME}/README
-share/doc/${PKGNAME}/README_windows.txt
-share/doc/${PKGNAME}/TODO
-share/doc/${PKGNAME}/cpuprofile-fileformat.html
-share/doc/${PKGNAME}/cpuprofile.html
-share/doc/${PKGNAME}/designstyle.css
-share/doc/${PKGNAME}/heap-example1.png
-share/doc/${PKGNAME}/heap_checker.html
-share/doc/${PKGNAME}/heapprofile.html
-share/doc/${PKGNAME}/index.html
-share/doc/${PKGNAME}/overview.dot
-share/doc/${PKGNAME}/overview.gif
-share/doc/${PKGNAME}/pageheap.dot
-share/doc/${PKGNAME}/pageheap.gif
-share/doc/${PKGNAME}/pprof-test-big.gif
-share/doc/${PKGNAME}/pprof-test.gif
-share/doc/${PKGNAME}/pprof-vsnprintf-big.gif
-share/doc/${PKGNAME}/pprof-vsnprintf.gif
-share/doc/${PKGNAME}/pprof_remote_servers.html
-share/doc/${PKGNAME}/spanmap.dot
-share/doc/${PKGNAME}/spanmap.gif
-share/doc/${PKGNAME}/t-test1.times.txt
-share/doc/${PKGNAME}/tcmalloc-opspercpusec.vs.threads.1024.bytes.png
-share/doc/${PKGNAME}/tcmalloc-opspercpusec.vs.threads.128.bytes.png
-share/doc/${PKGNAME}/tcmalloc-opspercpusec.vs.threads.131072.bytes.png
-share/doc/${PKGNAME}/tcmalloc-opspercpusec.vs.threads.16384.bytes.png
-share/doc/${PKGNAME}/tcmalloc-opspercpusec.vs.threads.2048.bytes.png
-share/doc/${PKGNAME}/tcmalloc-opspercpusec.vs.threads.256.bytes.png
-share/doc/${PKGNAME}/tcmalloc-opspercpusec.vs.threads.32768.bytes.png
-share/doc/${PKGNAME}/tcmalloc-opspercpusec.vs.threads.4096.bytes.png
-share/doc/${PKGNAME}/tcmalloc-opspercpusec.vs.threads.512.bytes.png
-share/doc/${PKGNAME}/tcmalloc-opspercpusec.vs.threads.64.bytes.png
-share/doc/${PKGNAME}/tcmalloc-opspercpusec.vs.threads.65536.bytes.png
-share/doc/${PKGNAME}/tcmalloc-opspercpusec.vs.threads.8192.bytes.png
-share/doc/${PKGNAME}/tcmalloc-opspersec.vs.size.1.threads.png
-share/doc/${PKGNAME}/tcmalloc-opspersec.vs.size.12.threads.png
-share/doc/${PKGNAME}/tcmalloc-opspersec.vs.size.16.threads.png
-share/doc/${PKGNAME}/tcmalloc-opspersec.vs.size.2.threads.png
-share/doc/${PKGNAME}/tcmalloc-opspersec.vs.size.20.threads.png
-share/doc/${PKGNAME}/tcmalloc-opspersec.vs.size.3.threads.png
-share/doc/${PKGNAME}/tcmalloc-opspersec.vs.size.4.threads.png
-share/doc/${PKGNAME}/tcmalloc-opspersec.vs.size.5.threads.png
-share/doc/${PKGNAME}/tcmalloc-opspersec.vs.size.8.threads.png
-share/doc/${PKGNAME}/tcmalloc.html
-share/doc/${PKGNAME}/threadheap.dot
-share/doc/${PKGNAME}/threadheap.gif
+share/doc/gperftools/AUTHORS
+share/doc/gperftools/COPYING
+share/doc/gperftools/ChangeLog
+share/doc/gperftools/INSTALL
+share/doc/gperftools/NEWS
+share/doc/gperftools/README
+share/doc/gperftools/README_windows.txt
+share/doc/gperftools/TODO
+share/doc/gperftools/cpuprofile-fileformat.html
+share/doc/gperftools/cpuprofile.html
+share/doc/gperftools/designstyle.css
+share/doc/gperftools/heap-example1.png
+share/doc/gperftools/heap_checker.html
+share/doc/gperftools/heapprofile.html
+share/doc/gperftools/index.html
+share/doc/gperftools/overview.dot
+share/doc/gperftools/overview.gif
+share/doc/gperftools/pageheap.dot
+share/doc/gperftools/pageheap.gif
+share/doc/gperftools/pprof-test-big.gif
+share/doc/gperftools/pprof-test.gif
+share/doc/gperftools/pprof-vsnprintf-big.gif
+share/doc/gperftools/pprof-vsnprintf.gif
+share/doc/gperftools/pprof_remote_servers.html
+share/doc/gperftools/spanmap.dot
+share/doc/gperftools/spanmap.gif
+share/doc/gperftools/t-test1.times.txt
+share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.1024.bytes.png
+share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.128.bytes.png
+share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.131072.bytes.png
+share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.16384.bytes.png
+share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.2048.bytes.png
+share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.256.bytes.png
+share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.32768.bytes.png
+share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.4096.bytes.png
+share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.512.bytes.png
+share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.64.bytes.png
+share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.65536.bytes.png
+share/doc/gperftools/tcmalloc-opspercpusec.vs.threads.8192.bytes.png
+share/doc/gperftools/tcmalloc-opspersec.vs.size.1.threads.png
+share/doc/gperftools/tcmalloc-opspersec.vs.size.12.threads.png
+share/doc/gperftools/tcmalloc-opspersec.vs.size.16.threads.png
+share/doc/gperftools/tcmalloc-opspersec.vs.size.2.threads.png
+share/doc/gperftools/tcmalloc-opspersec.vs.size.20.threads.png
+share/doc/gperftools/tcmalloc-opspersec.vs.size.3.threads.png
+share/doc/gperftools/tcmalloc-opspersec.vs.size.4.threads.png
+share/doc/gperftools/tcmalloc-opspersec.vs.size.5.threads.png
+share/doc/gperftools/tcmalloc-opspersec.vs.size.8.threads.png
+share/doc/gperftools/tcmalloc.html
+share/doc/gperftools/threadheap.dot
+share/doc/gperftools/threadheap.gif

Index: pkgsrc/devel/gperftools/distinfo
diff -u pkgsrc/devel/gperftools/distinfo:1.4 pkgsrc/devel/gperftools/distinfo:1.5
--- pkgsrc/devel/gperftools/distinfo:1.4        Tue Nov  3 03:27:30 2015
+++ pkgsrc/devel/gperftools/distinfo    Thu May 18 18:12:30 2017
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 03:27:30 agc Exp $
+$NetBSD: distinfo,v 1.5 2017/05/18 18:12:30 adam Exp $
 
-SHA1 (gperftools-2.4.tar.gz) = 13b904d0d1f220e43e4495f3403ee280c6da26ea
-RMD160 (gperftools-2.4.tar.gz) = 19ce825850b8a3bc50db54fa022390878dd753bb
-SHA512 (gperftools-2.4.tar.gz) = 4f38a53800578ea88f99023772e49847a4e809de206fe5382aac9f8df628b38f5ccf2823f41a762593ef01aaca9aa1eda70e49482ce61511169ab225b6d10407
-Size (gperftools-2.4.tar.gz) = 1346075 bytes
+SHA1 (gperftools-2.5.tar.gz) = 1e7069f23f926df84a541938a8e6078b0aedf218
+RMD160 (gperftools-2.5.tar.gz) = 20506514b0f9d98190dca30da8a219aa67f5d0aa
+SHA512 (gperftools-2.5.tar.gz) = 3e80c0d8816425d65673cf5cff28c6801b0c675501263f830828600f37ac01199fd775c2c51c9ccfa53fd4f9eadc09f7b2c73b31d57161e2cdfee2bd1868afa7
+Size (gperftools-2.5.tar.gz) = 1389081 bytes
 SHA1 (patch-configure) = 612e1dda5ecf65451153e9616f69e0c58add086a
 SHA1 (patch-src_base_atomicops-internals-arm-v6plus.h) = b3aeddd10d2506192551485570c31c0b3ff02432



Home | Main Index | Thread Index | Old Index