Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

gperftools: new recipe #308

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions recipes/gperftools/gperftools.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
DESCRIPTION = "Fast, multi-threaded malloc() and nifty performance analysis tools"
HOMEPAGE = "http://code.google.com/p/gperftools/"
LICENSE = "BSD"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is no such license :) pick on from spdx.org , probably BSD-3-Clause

DEPENDS = "libunwind libpthread"
COMPATIBLE_HOST_ARCHS = ".*linux"

inherit autotools c++ auto-package-libs
AUTO_PACKAGE_LIBS = "profiler tcmalloc tcmalloc_minimal tcmalloc_debug tcmalloc_minimal_debug tcmalloc_and_profiler"
AUTO_PACKAGE_LIBS_DEPENDS = "libc libgcc-s libm libstdc++"
AUTO_PACKAGE_LIBS_RDEPENDS = "libc libgcc-s libm libstdc++"
LIBRARY_VERSION = "4"
LIBRARY_VERSION_${PN}-libprofiler = "0"

DEPENDS_${PN} = "libc libgcc-s libm libpthread libstdc++"
RDEPENDS_${PN} = "libc libgcc-s libm libpthread libstdc++"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+= here


DEPENDS_${PN}-libtcmalloc += "libpthread"
RDEPENDS_${PN}-libtcmalloc += "libpthread"

DEPENDS_${PN}-libtcmalloc-minimal += "libpthread"
RDEPENDS_${PN}-libtcmalloc-minimal += "libpthread"

DEPENDS_${PN}-libtcmalloc-debug += "libpthread"
RDEPENDS_${PN}-libtcmalloc-debug += "libpthread"

DEPENDS_${PN}-libtcmalloc-minimal-debug += "libpthread"
RDEPENDS_${PN}-libtcmalloc-minimal-debug += "libpthread"

DEPENDS_${PN}-libtcmalloc-and-profiler += "libpthread"
RDEPENDS_${PN}-libtcmalloc-and-profiler += "libpthread"
3 changes: 3 additions & 0 deletions recipes/gperftools/gperftools_2.4.oe
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require gperftools.inc

SRC_URI = "http://pkgs.fedoraproject.org/lookaside/pkgs/gperftools/gperftools-2.4.tar.gz/2171cea3bbe053036fb5d5d25176a160/gperftools-2.4.tar.gz"
1 change: 1 addition & 0 deletions recipes/gperftools/gperftools_2.4.oe.sig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
13b904d0d1f220e43e4495f3403ee280c6da26ea gperftools-2.4.tar.gz
24 changes: 24 additions & 0 deletions recipes/libunwind/libunwind.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
DESCRIPTION = "a portable and efficient C programming interface (API) to determine the call-chain of a program"
HOMEPAGE = "http://www.nongnu.org/libunwind"
LICENSE = "MIT"
COMPATIBLE_HOST_ARCHS = ".*linux"

inherit c++ autotools library auto-package-libs

SRC_URI = "http://download.savannah.nongnu.org/releases/${PN}/${PN}-${PV}.tar.gz"

AUTO_PACKAGE_LIBS = "unwind-ptrace unwind-arm unwind-coredump unwind-setjmp"
AUTO_PACKAGE_LIBS_DEPENDS = "libc libgcc-s"
AUTO_PACKAGE_LIBS_RDEPENDS = "libc libgcc-s"

LIBRARY_VERSION = "8"
LIBRARY_VERSION_${PN}-libunwind-coredump = "0"
LIBRARY_VERSION_${PN}-libunwind-ptrace = "0"
LIBRARY_VERSION_${PN}-libunwind-setjmp = "0"

DEPENDS_${PN} = "libc libgcc-s"
RDEPENDS_${PN} = "libc libgcc-s"
DEPENDS_${PN}-libunwind-arm = "libunwind"
RDEPENDS_${PN}-libunwind-arm = "libunwind"
DEPENDS_${PN}-libunwind-setjmp = "libunwind libunwind-arm"
RDEPENDS_${PN}-libunwind-setjmp = "libunwind libunwind-arm"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+= here

1 change: 1 addition & 0 deletions recipes/libunwind/libunwind_1.1.oe
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require libunwind.inc
1 change: 1 addition & 0 deletions recipes/libunwind/libunwind_1.1.oe.sig
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aa04e6a7164aef754415b3b5e9453985741dd99e libunwind-1.1.tar.gz