Whamcloud - gitweb
LU-3953 build: cache the results of configure between runs 82/9582/7
authorDmitry Eremin <dmitry.eremin@intel.com>
Thu, 6 Mar 2014 07:53:03 +0000 (11:53 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 22 Apr 2014 19:08:36 +0000 (19:08 +0000)
commit5565877ee63e16bd3c6548db73466eeac9c4ca86
tree9409e78904e63038fff35c1c187dbdc433a88fcc
parent72accbebccb6a542b327e45e9a0903b2951d4bd5
LU-3953 build: cache the results of configure between runs

This modification allow configure script cache the results of
heavy (required compilation) configure tests run on this system
so they can be shared between configure scripts and configure
runs, see configure's option --config-cache. This is very useful
for several configurations on the same machine with different
--enable/disable options.

The time of first clean pass:
  time ./configure -C
  real    1m9.879s
  user    0m33.390s
  sys     0m30.392s

The time of second pass with cached results:
  time ./configure -C
  real    0m10.190s
  user    0m2.900s
  sys     0m4.832s

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Change-Id: I41b8091331e8f5260262829ad3e24f34ee34c76b
Reviewed-on: http://review.whamcloud.com/9582
Tested-by: Jenkins
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Brian J. Murrell <brian.murrell@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
config/lustre-build-ldiskfs.m4
config/lustre-build-linux.m4
config/lustre-build-zfs.m4
config/lustre-build.m4
libcfs/autoconf/lustre-libcfs.m4
lnet/autoconf/lustre-lnet.m4
lnet/autoconf/ofed.m4
lustre/autoconf/lustre-core.m4
snmp/autoconf/lustre-snmp.m4