[Scons-users] Mixing configuration and nodes

Ludovic Courtès ludovic.courtes at inria.fr
Fri Oct 9 04:15:09 EDT 2015


Paweł Tomulik <ptomulik at meil.pw.edu.pl> skribis:

> except there is a reason to use scons for downloads, I'd rather suggest
> to provide a bash or python script that downloads D.

I should mention that this is what we’re currently doing, in a Python
script invoked from SConstruct.

However, this is unsatisfying for several reasons.  The main reason is
that we end up implementing functionality comparable to SCons nodes:
semantically we want one node for the source download, one node for the
unpacking, one node for the build, and one node for installation.

Doing it by hand means coming up with an ad hoc, informally-specified,
bug-ridden, slow implementation of half of SCons (or ‘make’, for that
matter.)

Thoughts?

Ludo’.


More information about the Scons-users mailing list