commit: 34734a17a456ded2122211876e2ff3612ee259d1 Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org> AuthorDate: Sun Mar 31 15:47:47 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Apr 1 07:13:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34734a17
dev-util/bear: limit parallelism I can't find a way to pass -l through cmake --build of ExternalProject, but at least it passes -j now [sam: added Bug: tag.] Bug: https://bugs.gentoo.org/928346 Closes: https://bugs.gentoo.org/922199 Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/36016 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-util/bear/bear-3.1.3.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-util/bear/bear-3.1.3.ebuild b/dev-util/bear/bear-3.1.3.ebuild index c9917bdeddae..f00fc1e688f8 100644 --- a/dev-util/bear/bear-3.1.3.ebuild +++ b/dev-util/bear/bear-3.1.3.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake python-any-r1 +inherit cmake multiprocessing python-any-r1 DESCRIPTION="Build EAR generates a compilation database for clang tooling" HOMEPAGE="https://github.com/rizsotto/Bear" @@ -55,6 +55,9 @@ src_prepare() { } src_configure() { + # TODO: remove this when https://bugs.gentoo.org/928346 is fixed + export CMAKE_BUILD_PARALLEL_LEVEL=$(makeopts_jobs) + local mycmakeargs=( -DENABLE_UNIT_TESTS="$(usex test)" -DENABLE_FUNC_TESTS="$(usex test)"
