summaryrefslogtreecommitdiff
path: root/packages/dev-util
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dev-util')
-rw-r--r--packages/dev-util/google-perf-tools/google-perf-tools-scm.exheres-038
1 files changed, 38 insertions, 0 deletions
diff --git a/packages/dev-util/google-perf-tools/google-perf-tools-scm.exheres-0 b/packages/dev-util/google-perf-tools/google-perf-tools-scm.exheres-0
new file mode 100644
index 0000000..8d44c9b
--- /dev/null
+++ b/packages/dev-util/google-perf-tools/google-perf-tools-scm.exheres-0
@@ -0,0 +1,38 @@
+# Distributed under the terms of the GNU General Public License v2
+
+SCM_REPOSITORY="https://github.com/gperftools/gperftools.git"
+
+require scm-git flag-o-matic
+require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 1.13 1.12 1.11 ] need_libtool=false ]
+
+
+DOWNLOADS=""
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+
+SUMMARY="Fast, multi-threaded malloc() and nifty performance analysis tools"
+DESCRIPTION=""
+HOMEPAGE="https://github.com/gperftools/gperftools"
+
+MYOPTIONS="
+ largepages
+ debug
+ minimal
+ optimisememory
+"
+
+DEPENDENCIES="
+ build+run:
+ dev-libs/libunwind
+"
+
+src_configure() {
+ option largepages && append-flags -DTCMALLOC_LARGE_PAGES
+ option optimisememory && append-flags -DTCMALLOC_SMALL_BUT_SLOW
+ append-flags -fno-strict-aliasing -fno-omit-frame-pointer
+
+ econf \
+ $(option_enable debug debugalloc)
+
+
+}