From 61e09a8f140dda9f8f1c3ec4a355383f4746e6f7 Mon Sep 17 00:00:00 2001 From: Jian Yu Date: Thu, 23 Jun 2022 21:19:25 -0700 Subject: [PATCH] LU-13485 build: remove parallel configure dir 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. Lustre-change: https://review.whamcloud.com/47077 Lustre-commit: 67da76f1a89b20e16da15aafab11ca2bb3779dc7 Change-Id: I4505fb932954531d262b5380f17b3df75a80bfa0 Signed-off-by: Jian Yu Reviewed-by: Shaun Tancheff Reviewed-by: James Simmons Reviewed-by: Minh Diep Reviewed-on: https://review.whamcloud.com/47735 Reviewed-by: Andreas Dilger Tested-by: jenkins Reviewed-by: Yang Sheng Tested-by: Maloo Reviewed-by: Oleg Drokin --- config/lustre-build.m4 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/lustre-build.m4 b/config/lustre-build.m4 index a643fc0..6a28127 100644 --- a/config/lustre-build.m4 +++ b/config/lustre-build.m4 @@ -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 -- 1.8.3.1