Permalink
Browse files

Makefile factorization

reducing world's sequentialization consistently improves parallel build times

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14971 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
  • Loading branch information...
1 parent 4feb5bb commit c24c9ac53d6e4badaefc8ce977ad6059a448364a @gasche gasche committed Jun 9, 2014
Showing with 2 additions and 7 deletions.
  1. +2 −7 Makefile
View
@@ -125,11 +125,7 @@ defaultentry:
# Recompile the system using the bootstrap compiler
all:
$(MAKE) runtime
- $(MAKE) ocamlc
- $(MAKE) ocamllex
- $(MAKE) ocamlyacc
- $(MAKE) ocamltools
- $(MAKE) library
+ $(MAKE) coreall
$(MAKE) ocaml
$(MAKE) otherlibraries $(OCAMLBUILDBYTE) $(WITH_DEBUGGER) \
$(WITH_OCAMLDOC)
@@ -201,8 +197,7 @@ coldstart:
# Build the core system: the minimum needed to make depend and bootstrap
core:
$(MAKE) coldstart
- $(MAKE) ocamlc
- $(MAKE) ocamllex ocamlyacc ocamltools library
+ $(MAKE) coreall
# Recompile the core system using the bootstrap compiler
coreall:

0 comments on commit c24c9ac

Please sign in to comment.