Whamcloud - gitweb
LU-14937 build: re-use config cache in 'make rpms/debs'
authorSebastien Buisson <sbuisson@ddn.com>
Fri, 13 Aug 2021 15:16:08 +0000 (17:16 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 22 Jan 2022 08:21:24 +0000 (08:21 +0000)
commit8cb8de9cc1f11da8eed28015a907567820b11428
tree0cefe6600afaa8033bfc2c1644aeaada8c73b219
parent147f4b96dc6e7e33d1e4bbfaff74022cd71be128
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.

Lustre-change: https://review.whamcloud.com/44659
Lustre-commit: a5084c2f2ec851fe888838fb1e90aff8b5ed6fd2

Test-Parameters: trivial
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: Iab4ae2815961ba10132d9cb44f82ca58d313e908
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/46197
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
autoMakefile.am
config/lustre-build.m4
debian/rules
lustre.spec.in