From 63217b223d8638e61c78494b8d8f4c7baa53fa0e Mon Sep 17 00:00:00 2001 From: kronbichler Date: Fri, 19 Nov 2010 16:15:56 +0000 Subject: [PATCH] Compile the directories with files with long compile times first. git-svn-id: https://svn.dealii.org/trunk@22822 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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)) -- 2.39.5