From: kronbichler Date: Fri, 19 Nov 2010 16:15:56 +0000 (+0000) Subject: Compile the directories with files with long compile times first. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63217b223d8638e61c78494b8d8f4c7baa53fa0e;p=dealii-svn.git Compile the directories with files with long compile times first. git-svn-id: https://svn.dealii.org/trunk@22822 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/Makefile b/deal.II/source/Makefile index f9fc981657..cc1b054a50 100644 --- a/deal.II/source/Makefile +++ b/deal.II/source/Makefile @@ -15,8 +15,11 @@ include $D/common/Make.global_options default all: debug optimized -# list the directories and the various kinds of files -all-dirs := base lac dofs fe grid hp numerics multigrid distributed +# list the directories and the various kinds of files, the ones with the +# largest compile jobs first so that 'make -j N' saturates many processors +# also towards the end of compiling (e.g. numerics/vectors.cc takes several +# minutes to compile...) +all-dirs := numerics fe dofs grid hp multigrid lac base distributed cc-files := $(shell for i in $(all-dirs) ; do echo $D/source/$$i/*.cc ; done) h-files := $(sort $(shell echo $D/include/deal.II/*/*.h))