Many new coders to Mapnik have noticed that Scons takes quite a bit of  
time to start building targets if you re-run the build or install  
step. The reason for this is that Scons by default is very aware and  
smart about finding any dependencies that might have changed in order  
to figure out what targets to rebuild. This takes startup time.

But if you are hacking on Mapnik code and frequently re-compiling this  
slowness is a hindrance. So, a while back I added a FAST boolean  
option that you can pass to the Scons configure stage that turns down  
a number of the fancy dependency checking mechanisms (as advised by  
the Scons docs):

$ python scons/scons.py FAST=True

Problem is, due to a bug (that I've just fixed in trunk - 
http://trac.mapnik.org/changeset/1440) 
  this option was not being recognized by the build scripts in the  
right place. As well the JOBS=N option that allow parallel compiling  
was also not being honored.

You can either pass --jobs N or JOBS=N now (the latter will be cached  
in your 'config.py' and pickled settings and read for reuse) for  
parallel compiling.

So, sorry about this. If you svn up and re-configure by passing the  
above flags things should really now, actually quite faster.

Happy Mapnik coding,

Dane

_______________________________________________
Mapnik-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-devel

Reply via email to