dev-db/sqlitestudio: build with -j1

The build system is qmake so a pain to fix.

Closes: https://bugs.gentoo.org/902991
Closes: https://bugs.gentoo.org/924672
Closes: https://bugs.gentoo.org/928736
Closes: https://bugs.gentoo.org/941074
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-10-09 13:52:20 +01:00
parent e3c32d7e81
commit efcad109bf

View File

@@ -159,13 +159,14 @@ src_configure() {
}
src_compile() {
emake -C "${core_build_dir}"
emake -C "${plugins_build_dir}"
# -j1 for bug #902991; it clobbers object files in parallel
emake -j1 -C "${core_build_dir}"
emake -j1 -C "${plugins_build_dir}"
}
src_install() {
emake -C "${core_build_dir}" INSTALL_ROOT="${D}" install
emake -C "${plugins_build_dir}" INSTALL_ROOT="${D}" install
emake -j1 -C "${core_build_dir}" INSTALL_ROOT="${D}" install
emake -j1 -C "${plugins_build_dir}" INSTALL_ROOT="${D}" install
if use test; then
# remove test artifacts that must not be installed