mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>
Subject: Re: [ptxdist] [APPLIED] bdwgc: Add new package
Date: Wed, 18 Oct 2023 09:42:56 +0200	[thread overview]
Message-ID: <20231018074256.3107850-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20231010065219.43001-3-ada@thorsis.com>

Thanks, applied as 966e139cd2b09c144591f7a7d0472938a8d1bd83.

Michael

[sent from post-receive hook]

On Wed, 18 Oct 2023 09:42:56 +0200, Alexander Dahl <ada@thorsis.com> wrote:
> Dependency for the upcoming GNU poke.  Pinning down the configure
> options was rather guesswork than informed decision, basically trying to
> pin the defaults which would have been set anyways.
> 
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20231010065219.43001-3-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/bdwgc.in b/rules/bdwgc.in
> new file mode 100644
> index 000000000000..b0fee1c49566
> --- /dev/null
> +++ b/rules/bdwgc.in
> @@ -0,0 +1,11 @@
> +## SECTION=system_libraries
> +
> +config BDWGC
> +	tristate
> +	prompt "bdwgc"
> +	select LIBATOMIC_OPS
> +	help
> +	  A garbage collector for C and C++.
> +	  https://www.hboehm.info/gc/
> +
> +# vim: ft=kconfig noet tw=72 ts=8 sw=8
> diff --git a/rules/bdwgc.make b/rules/bdwgc.make
> new file mode 100644
> index 000000000000..021e4b5cc62d
> --- /dev/null
> +++ b/rules/bdwgc.make
> @@ -0,0 +1,85 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2023 by Alexander Dahl <ada@thorsis.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_BDWGC) += bdwgc
> +
> +#
> +# Paths and names
> +#
> +BDWGC_VERSION	:= 8.2.4
> +BDWGC_MD5	:= 8901a6ed29ac35842420054772ea3441
> +BDWGC		:= gc-$(BDWGC_VERSION)
> +BDWGC_SUFFIX	:= tar.gz
> +BDWGC_URL	:= https://github.com/ivmai/bdwgc/releases/download/v$(BDWGC_VERSION)/$(BDWGC).$(BDWGC_SUFFIX)
> +BDWGC_SOURCE	:= $(SRCDIR)/$(BDWGC).$(BDWGC_SUFFIX)
> +BDWGC_DIR	:= $(BUILDDIR)/$(BDWGC)
> +BDWGC_LICENSE	:= Boehm-GC
> +BDWGC_LICENSE_FILES := \
> +	file://README.QUICK;startline=1;endline=24;md5=798a33a333c0e8636ddeab552ac6090b \
> +	file://README.md;startline=526;endline=575;md5=71aaf0a0f29b504d185ff4e9fc1d5858
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +BDWGC_CONF_TOOL	:= autoconf
> +BDWGC_CONF_OPT	:=  \
> +	$(CROSS_AUTOCONF_USR) \
> +	--disable-emscripten-asyncify \
> +	--enable-threads=posix \
> +	--enable-parallel-mark \
> +	--enable-thread-local-alloc \
> +	--enable-threads-discovery \
> +	--disable-cplusplus \
> +	--enable-throw-bad-alloc-library \
> +	--enable-gcj-support \
> +	--disable-sigrt-signals \
> +	--disable-gc-debug \
> +	--enable-java-finalization \
> +	--enable-atomic-uncollectable \
> +	--disable-redirect-malloc \
> +	--enable-disclaim \
> +	--disable-large-config \
> +	--disable-gc-assertions \
> +	--disable-mmap \
> +	--disable-munmap \
> +	--enable-dynamic-loading \
> +	--enable-register-main-static-data \
> +	--disable-checksums \
> +	--disable-werror \
> +	--disable-single-obj-compilation \
> +	--disable-gcov \
> +	--disable-docs \
> +	--enable-handle-fork \
> +	--without-ecos \
> +	--with-libatomic-ops=yes
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/bdwgc.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, bdwgc)
> +	@$(call install_fixup, bdwgc,PRIORITY,optional)
> +	@$(call install_fixup, bdwgc,SECTION,base)
> +	@$(call install_fixup, bdwgc,AUTHOR,"Alexander Dahl <ada@thorsis.com>")
> +	@$(call install_fixup, bdwgc,DESCRIPTION,missing)
> +
> +	@$(call install_lib, bdwgc, 0, 0, 0644, libcord)
> +	@$(call install_lib, bdwgc, 0, 0, 0644, libgc)
> +
> +	@$(call install_finish, bdwgc)
> +
> +	@$(call touch)
> +
> +# vim: ft=make noet tw=72 ts=8 sw=8



  reply	other threads:[~2023-10-18  7:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-10  6:52 [ptxdist] [PATCH 0/3] poke: " Alexander Dahl
2023-10-10  6:52 ` [ptxdist] [PATCH 1/3] libatomic_ops: " Alexander Dahl
2023-10-18  7:42   ` [ptxdist] [APPLIED] " Michael Olbrich
2023-10-10  6:52 ` [ptxdist] [PATCH 2/3] bdwgc: " Alexander Dahl
2023-10-18  7:42   ` Michael Olbrich [this message]
2023-10-10  6:52 ` [ptxdist] [PATCH 3/3] poke: " Alexander Dahl
2023-10-18  7:42   ` [ptxdist] [APPLIED] " Michael Olbrich

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=20231018074256.3107850-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ada@thorsis.com \
    --cc=ptxdist@pengutronix.de \
    /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