From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] package/libgc: add Boehm-Demers-Weiser gc library
Date: Mon, 7 Apr 2014 23:39:00 +0200 [thread overview]
Message-ID: <20140407233900.1b7b0e58@skate> (raw)
In-Reply-To: <1396868422-5757-2-git-send-email-alex.bennee@linaro.org>
Dear Alex Benn?e,
On Mon, 7 Apr 2014 12:00:21 +0100, Alex Benn?e wrote:
> diff --git a/package/libgc/Config.in b/package/libgc/Config.in
> new file mode 100644
> index 0000000..bac636c
> --- /dev/null
> +++ b/package/libgc/Config.in
> @@ -0,0 +1,9 @@
> +config BR2_PACKAGE_LIBGC
> + bool "libgc"
> + help
> + The Boehm-Demers-Weiser conservative garbage collector can be used
> + as a garbage collecting replacement for C malloc or C++ new. It allows
> + you to allocate memory basically as you normally would, without
> + explicitly deallocating memory that is no longer useful.
> +
> + http://www.hboehm.info/gc/
Indentation for the help text should be one tab + two spaces.
> +################################################################################
> +#
> +# Boehm-Demers-Weiser's GC
We normally just want the package name here, i.e the same as the
directory name.
> +#
> +################################################################################
> +
> +LIBGC_VERSION = 7.4.0
> +LIBGC_SOURCE = gc-${LIBGC_VERSION}.tar.gz
> +LIBGC_SITE = http://www.hboehm.info/gc/gc_source/
> +LIBGC_EXTRA_DOWNLOADS = libatomic_ops-${LIBGC_VERSION}.tar.gz
> +LIBGC_LICENSE = GPLv1+
> +LIBGC_LICENSE_FILES = COPYING
> +LIBGC_INSTALL_STAGING = YES
> +
> +define LIBGC_POST_EXTRACT_INC_LIBATOMIC
> + env
> + mkdir -p $(@D)/libatomic_ops
> + tar -xvf ${BR2_DL_DIR}/libatomic_ops-${LIBGC_VERSION}.tar.gz --strip-components=1 -C $(@D)/libatomic_ops
> +endef
We have a libatomic_ops package in Buildroot. Wouldn't it be possible
to use it instead?
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-04-07 21:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-07 11:00 [Buildroot] [PATCH 0/2] Add lightweight Zile editor Alex Bennée
2014-04-07 11:00 ` [Buildroot] [PATCH 1/2] package/libgc: add Boehm-Demers-Weiser gc library Alex Bennée
2014-04-07 20:26 ` Yann E. MORIN
2014-04-08 10:20 ` Alex Bennée
2014-04-07 21:39 ` Thomas Petazzoni [this message]
2014-04-07 11:00 ` [Buildroot] [PATCH 2/2] package/zile: add Zile is Lossy Emacs editor Alex Bennée
2014-04-07 20:33 ` Yann E. MORIN
2014-04-08 10:19 ` Alex Bennée
2014-04-08 16:16 ` Yann E. MORIN
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140407233900.1b7b0e58@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox