Whamcloud - gitweb
LU-14937 build: re-use config cache in 'make rpms/debs' 59/44659/7
authorSebastien Buisson <sbuisson@ddn.com>
Fri, 13 Aug 2021 15:16:08 +0000 (17:16 +0200)
committerOleg Drokin <green@whamcloud.com>
Wed, 27 Oct 2021 00:37:11 +0000 (00:37 +0000)
commita5084c2f2ec851fe888838fb1e90aff8b5ed6fd2
treed20a3f532d48b446615b9a31a360c7beb3047eda
parent96fd8f03c57d778fd40055b58f54b7310b704adc
LU-14937 build: re-use config cache in 'make rpms/debs'

Idea is to pass along the value of the -C or --cache-file options from
the initial ./configure to the one launched as part of the rpm or deb
build.
But all the environment variables related cache info must be removed
otherwise the config cache file cannot be reused.

Test-Parameters: trivial
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: Iab4ae2815961ba10132d9cb44f82ca58d313e908
Reviewed-on: https://review.whamcloud.com/44659
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
autoMakefile.am
config/lustre-build.m4
debian/rules
lustre.spec.in