Commit cbb1a923 authored by Guido van Rossum's avatar Guido van Rossum

Unroll the for loop used for building python, so the first three

subdirectories can be made in parallel (unfortunately, Modules has to
depend on all three).
parent df028d59
...@@ -145,15 +145,25 @@ DIST= $(DISTFILES) $(DISTDIRS) ...@@ -145,15 +145,25 @@ DIST= $(DISTFILES) $(DISTDIRS)
all: python all: python
# Build the interpreter # Build the interpreter
python: Makefiles python: $(SUBDIRS)
@for i in $(SUBDIRS); do \
(echo Making in subdirectory $$i; cd $$i; \ $(SUBDIRS): Makefiles
$(MAKE) OPT="$(OPT)" \
VERSION="$(VERSION)" \ Parser:
prefix="$(prefix)" \ cd Parser ; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
exec_prefix="$(exec_prefix)" \ prefix="$(prefix)" exec_prefix="$(exec_prefix)" all
all); \
done Python:
cd Python ; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
prefix="$(prefix)" exec_prefix="$(exec_prefix)" all
Objects:
cd Objects ; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
prefix="$(prefix)" exec_prefix="$(exec_prefix)" all
Modules: Parser Python Objects
cd Modules ; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \
prefix="$(prefix)" exec_prefix="$(exec_prefix)" all
# Test the interpreter (twice, once without .pyc files, once with) # Test the interpreter (twice, once without .pyc files, once with)
TESTPATH= $(srcdir)/Lib:$(srcdir)/Lib/$(MACHDEP):$(srcdir)/Lib/test:./Modules TESTPATH= $(srcdir)/Lib:$(srcdir)/Lib/$(MACHDEP):$(srcdir)/Lib/test:./Modules
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment