xfs
[Top] [All Lists]

[PATCH] xfstests: fix parallel make

To: xfs@xxxxxxxxxxx
Subject: [PATCH] xfstests: fix parallel make
From: Alex Elder <aelder@xxxxxxx>
Date: Fri, 04 Mar 2011 16:35:07 -0600
User-agent: Heirloom mailx 12.5 7/5/10
Having both "include/builddefs" and "include/config.h" as
dependencies for the default target results in a parallel
invocation of "make" spawning two concurrent attempts to
do the configure step--and that doesn't work.

Creating one of those two will result in the other getting
created, so there's no need to list both as dependencies.

There are several other mysterious dependencies that serve
no purpose, so get rid of them.

Signed-off-by: Alex Elder <aelder@xxxxxxx>

---
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: b/Makefile
===================================================================
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ endif
 
 SUBDIRS = $(LIB_SUBDIRS) $(TOOL_SUBDIRS)
 
-default: include/builddefs include/config.h new remake check $(TESTS)
+default: include/builddefs $(TESTS)
 ifeq ($(HAVE_BUILDDEFS), no)
        $(Q)$(MAKE) $(MAKEOPTS) $@
 else

<Prev in Thread] Current Thread [Next in Thread>