mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-lang/erlang: run configure in serial
./configure does not take much time. And is certainly orders of magnitude slower than the build itself. Let's keep predictable parallelism by running sub-configure serially. Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/790563 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
This commit is contained in:
parent
47e711ecd6
commit
79148ea1d4
@ -46,6 +46,7 @@ S="${WORKDIR}/otp-OTP-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-22.0-dont-ignore-LDFLAGS.patch
|
||||
"${FILESDIR}"/${PN}-24.0.2-serial-configure.patch
|
||||
)
|
||||
|
||||
SITEFILE=50"${PN}"-gentoo.el
|
||||
|
||||
12
dev-lang/erlang/files/erlang-24.0.2-serial-configure.patch
Normal file
12
dev-lang/erlang/files/erlang-24.0.2-serial-configure.patch
Normal file
@ -0,0 +1,12 @@
|
||||
https://bugs.gentoo.org/790563
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -355,7 +355,7 @@ for app_dir in $app_dirs; do
|
||||
echo ""
|
||||
elif test $app_dir != erts; then
|
||||
echo $cmd_str >./configure.result.command
|
||||
- eval $cmd_str 1>./configure.result.stdout 2>./configure.result.stderr || echo "fatal" > "./configure.result.failed" &
|
||||
+ eval $cmd_str 1>./configure.result.stdout 2>./configure.result.stderr || echo "fatal" > "./configure.result.failed"
|
||||
else
|
||||
# ERTS configure gets to use stdout/stderr; the others are printed when done...
|
||||
echo "=== Running configure in $ERL_TOP/erts ==="
|
||||
Loading…
x
Reference in New Issue
Block a user