From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 18 Oct 2023 09:43:56 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qt1Dg-00CkFW-VU for lore@lore.pengutronix.de; Wed, 18 Oct 2023 09:43:56 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qt1Dg-0004Y0-6I; Wed, 18 Oct 2023 09:43:56 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qt1Ci-0002Yg-S7; Wed, 18 Oct 2023 09:42:56 +0200 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qt1Ci-002VI2-Fp; Wed, 18 Oct 2023 09:42:56 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qt1Ci-00D2Un-1R; Wed, 18 Oct 2023 09:42:56 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Wed, 18 Oct 2023 09:42:56 +0200 Message-Id: <20231018074256.3107850-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231010065219.43001-3-ada@thorsis.com> References: <20231010065219.43001-3-ada@thorsis.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] bdwgc: Add new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Alexander Dahl Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 966e139cd2b09c144591f7a7d0472938a8d1bd83. Michael [sent from post-receive hook] On Wed, 18 Oct 2023 09:42:56 +0200, Alexander Dahl 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 > Message-Id: <20231010065219.43001-3-ada@thorsis.com> > Signed-off-by: Michael Olbrich > > 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 > +# > +# 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 ") > + @$(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