Whamcloud - gitweb
LU-16957 build: Improve parallel --config-cache
authorShaun Tancheff <shaun.tancheff@hpe.com>
Wed, 21 Feb 2024 20:22:16 +0000 (12:22 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 3 Mar 2024 10:18:50 +0000 (10:18 +0000)
commiteb834283a46fc36d6cd1fdbe3ae004b94cbd89c4
tree15ea0ec3d4f11f1458da0915f21d531cb1845801
parentc9b00f791f5f7dcec7d728c071ef810d71eda430
LU-16957 build: Improve parallel --config-cache

The parallel build should consider the configure cache before
adding tests to the parallel build pass.

Track the number of compile tests needed, skip the make when
no build tests are needed.

Also unify libcfs, core, and ldiskfs build passes to a single step.

Configure timings vs master

     master       master w/cache  |     patch         patch w/cache
 --------------   --------------- | ---------------  ----------------
 real  1m3.493s   real  0m34.024s | real  1m3.903s    real  0m8.404s
 user 1m34.587s   user  1m16.547s | user  1m37.191s   user  0m4.292s
 sys  0m35.119s   sys   0m22.687s | sys   0m35.297s   sys   0m5.514s

Lustre-change: https://review.whamcloud.com/51637
Lustre-commit: 0dfeed23d67fe5b3f283ec5b9671c94f0fe2303f

Test-Parameters: trivial
HPE-bug-id: LUS-11706
Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I6696b350e8315190a67c1463435b18a87d45813e
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54130
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
config/lustre-build-ldiskfs.m4
config/lustre-build-linux.m4
libcfs/autoconf/lustre-libcfs.m4