summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Tilger <dirk@systemication.com>2021-05-18 04:37:31 +0200
committerSergei Trofimovich <slyfox@gentoo.org>2021-05-19 23:51:40 +0100
commitef0c9d87d21dc75b7a698755b00aa5f2969715c7 (patch)
tree3188d7daa965612e5530696f7f42a1bbec4f3df9 /dev-libs/boehm-gc
parentsci-physics/fastjet: fix build with dash as /bin/sh (diff)
downloadgentoo-ef0c9d87d21dc75b7a698755b00aa5f2969715c7.tar.gz
gentoo-ef0c9d87d21dc75b7a698755b00aa5f2969715c7.tar.bz2
gentoo-ef0c9d87d21dc75b7a698755b00aa5f2969715c7.zip
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@systemication.com> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-libs/boehm-gc')
-rw-r--r--dev-libs/boehm-gc/boehm-gc-8.0.4.ebuild3
-rw-r--r--dev-libs/boehm-gc/metadata.xml11
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 7211307e2d0b..3d27a52ef739 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 e396f3755977..b4ce36b139c1 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>toolchain@gentoo.org</email>
- <name>Gentoo Toolchain Project</name>
-</maintainer>
+ <maintainer type="project">
+ <email>toolchain@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>