Whamcloud - gitweb
LU-13485 build: remove parallel configure dir 77/47077/2
authorJian Yu <yujian@whamcloud.com>
Fri, 15 Apr 2022 03:07:05 +0000 (20:07 -0700)
committerOleg Drokin <green@whamcloud.com>
Sat, 11 Jun 2022 05:55:22 +0000 (05:55 +0000)
This patch removes the temporary directory for
parallel configure tests at the end of configure
to avoid checking the already generated modules
while configuring the same Lustre codes with
a different kernel.

Change-Id: I4505fb932954531d262b5380f17b3df75a80bfa0
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/47077
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
config/lustre-build.m4

index a643fc0..6a28127 100644 (file)
@@ -721,6 +721,11 @@ AC_SUBST(MOSTLYCLEANFILES)
 LB_CONFIG_RPMBUILD_OPTIONS
 LB_CONFIG_CACHE_OPTIONS
 
+AS_IF([test -d $TEST_DIR], [
+       AC_MSG_NOTICE([remove temporary parallel configure dir $TEST_DIR])
+       rm -rf $TEST_DIR
+])
+
 AC_OUTPUT
 
 cat <<_ACEOF