]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Compile the directories with files with long compile times first.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Nov 2010 16:15:56 +0000 (16:15 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Nov 2010 16:15:56 +0000 (16:15 +0000)
git-svn-id: https://svn.dealii.org/trunk@22822 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/Makefile

index f9fc981657119a8544b39f317884998f232024da..cc1b054a50e3cc1d4d740102297119a758cdfeb2 100644 (file)
@@ -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))

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.