On Wed, Mar 23, 2022 at 03:56:21PM -0400, Prarit Bhargava wrote: <snip>
Heh, after talking with jforbes about it this is probably just as fast (sorry for the cut-and-paste)
Yep, this for sure will work too :), but it looks like the first config is processed twice, which is IMHO not necessary.
diff --git a/redhat/configs/process_configs.sh b/redhat/configs/process_configs.sh index 2ee4037ad4fc..27372afc270a 100755 --- a/redhat/configs/process_configs.sh +++ b/redhat/configs/process_configs.sh @@ -304,6 +304,10 @@ function process_configs() count=0 for cfg in "$SCRIPT_DIR/${PACKAGE_NAME}${KVERREL}${SUBARCH}"*.config do
if [ "$count" -eq 0 ]; then
# do the first one by itself so that tools are built
process_config "$cfg" "$count"
fi process_config "$cfg" "$count" & waitpids[${count}]=$! ((count++))
Test build in progress now.
P.
<snip>