commit: ef0c9d87d21dc75b7a698755b00aa5f2969715c7 Author: Dirk Tilger <dirk <AT> systemication <DOT> com> AuthorDate: Tue May 18 02:37:31 2021 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Wed May 19 22:51:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef0c9d87
dev-libs/boehm-gc: Enables boehm-gc with large root sets This disables the 'No more root sets' error message for programs dealing with large datasets (i.e. GnuCash data import) Bug: https://bugs.gentoo.org/790767 Signed-off-by: Dirk Tilger <dirk <AT> systemication.com> Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> dev-libs/boehm-gc/boehm-gc-8.0.4.ebuild | 3 ++- dev-libs/boehm-gc/metadata.xml | 11 +++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/dev-libs/boehm-gc/boehm-gc-8.0.4.ebuild b/dev-libs/boehm-gc/boehm-gc-8.0.4.ebuild index 7211307e2d0..3d27a52ef73 100644 --- a/dev-libs/boehm-gc/boehm-gc-8.0.4.ebuild +++ b/dev-libs/boehm-gc/boehm-gc-8.0.4.ebuild @@ -16,7 +16,7 @@ LICENSE="boehm-gc" # We've been using subslot 0 for these instead of "1.1". SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="cxx static-libs +threads" +IUSE="cxx +large static-libs +threads" RDEPEND=">=dev-libs/libatomic_ops-7.4[${MULTILIB_USEDEP}]" DEPEND="${RDEPEND}" @@ -36,6 +36,7 @@ multilib_src_configure() { $(use_enable cxx cplusplus) $(use_enable static-libs static) $(use threads || echo --disable-threads) + $(use_enable large large-config) ) ECONF_SOURCE=${S} econf "${config[@]}" diff --git a/dev-libs/boehm-gc/metadata.xml b/dev-libs/boehm-gc/metadata.xml index e396f375597..b4ce36b139c 100644 --- a/dev-libs/boehm-gc/metadata.xml +++ b/dev-libs/boehm-gc/metadata.xml @@ -1,8 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>toolch...@gentoo.org</email> - <name>Gentoo Toolchain Project</name> -</maintainer> + <maintainer type="project"> + <email>toolch...@gentoo.org</email> + <name>Gentoo Toolchain Project</name> + </maintainer> + <use> + <flag name="large">optimize for large heap size (also increases max root sets)x</flag> + </use> </pkgmetadata>