Whamcloud - gitweb
LU-16957 build: Improve parallel --config-cache 37/51637/5
authorShaun Tancheff <shaun.tancheff@hpe.com>
Fri, 14 Jul 2023 08:34:02 +0000 (15:34 +0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 24 Aug 2023 04:31:40 +0000 (04:31 +0000)
commit0dfeed23d67fe5b3f283ec5b9671c94f0fe2303f
tree92354688d9b04299b63e707e5fcdaa335053a109
parentd011e65a8936bc105e19b3fad64bfdece455de61
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

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/fs/lustre-release/+/51637
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
config/lustre-build-ldiskfs.m4
config/lustre-build-linux.m4
libcfs/autoconf/lustre-libcfs.m4