]> rtime.felk.cvut.cz Git - omk.git/commitdiff
Fixed parallel invocation of make (with -j)
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 9 Apr 2008 06:27:00 +0000 (06:27 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 9 Apr 2008 06:27:00 +0000 (06:27 +0000)
In order for sub-makes to communicate with jobserver, it is necessary
to add + in front of line invoking the sub-make.

darcs-hash:20080409062706-f2ef6-fd8972c4d95155f278068cecf151f2f63ae36bac.gz

snippets/base

index 5268810cc405121864220016ac95af3a678e9802..92ca687e6d84ff853f5983438dd7246e205360be 100644 (file)
@@ -188,7 +188,7 @@ $(1):
                RELATIVE_DIR=$(RELATIVE_PREFIX)$(dir) -C $(2)/$(dir) \
                -f $(SUBDIR_MAKEFILE) $$@ || exit 1 ;) true
 ifneq ($(4),)
-       @echo "make[omk]: $$@ in $(RELATIVE_DIR)"; \
+       +@echo "make[omk]: $$@ in $(RELATIVE_DIR)"; \
        $(call mkdir_def,$(2)); \
        $(MAKE) $(NO_PRINT_DIRECTORY) SOURCES_DIR=$(SOURCES_DIR) RELATIVE_DIR=$(RELATIVE_DIR) -C $(2) \
                -f $(SOURCESDIR_MAKEFILE) $(3) $(check-target) $$(@:%=%-local)