Chez Scheme: makefile updates
escape $(MAKE) to fix parallel mat issue observed with GNU Make 4.2.1: "make[1]: warning: jobserver unavailable: using -j1." mats/Mf-base
This commit is contained in:
parent
9adba4c82f
commit
85de26c459
|
@ -2207,3 +2207,6 @@
|
|||
mats/{5_4,6,7,8,bytevector,examples,foreign}.ms
|
||||
mats/{ftype,hash,io,misc,primvars,profile,record}.ms
|
||||
mats/Mf-base mats/Mf-*nt mats/mat.ss mats/patch-interpret*
|
||||
- escape $(MAKE) to fix parallel mat issue observed with GNU Make 4.2.1:
|
||||
"make[1]: warning: jobserver unavailable: using -j1."
|
||||
mats/Mf-base
|
||||
|
|
|
@ -267,9 +267,9 @@ doallcoverage: mat.so
|
|||
|
||||
define parallel-config-template
|
||||
parallel$(1)-0:
|
||||
-@$(MAKE) allxphelp outdir=output-$(1)-0 objdir=output-$(1)-0 o=0 $(2)
|
||||
-@$$(MAKE) allxphelp outdir=output-$(1)-0 objdir=output-$(1)-0 o=0 $(2)
|
||||
parallel$(1)-3:
|
||||
-@$(MAKE) allxphelp outdir=output-$(1)-3 objdir=output-$(1)-3 o=3 $(2)
|
||||
-@$$(MAKE) allxphelp outdir=output-$(1)-3 objdir=output-$(1)-3 o=3 $(2)
|
||||
endef
|
||||
|
||||
#configs from partialx and allx
|
||||
|
@ -306,9 +306,9 @@ define parallel-target-template
|
|||
$(1)-targets: $($(1)-confs:%=parallel%)
|
||||
$(1): prettyclean
|
||||
@echo building prereqs with output to Make.out
|
||||
@$(MAKE) parallel-prereqs > Make.out 2>&1
|
||||
@$(MAKE) $(1)-targets
|
||||
$(if $(2),@$(MAKE) $(2))
|
||||
@$$(MAKE) parallel-prereqs > Make.out 2>&1
|
||||
@$$(MAKE) $(1)-targets
|
||||
$(if $(2),@$$(MAKE) $(2))
|
||||
cat $($(1)-confs:%=output-%/summary) > summary && cat summary
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user