gentoo/dev-lang/erlang/files/erlang-24.0.2-serial-configure.patch
Sergei Trofimovich 79148ea1d4
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>
2021-07-05 08:49:43 +01:00

13 lines
586 B
Diff

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 ==="