[Bf-committers] Rewrite of our SCons scripts - preparing to commit

Ted Schundler tschundler at gmail.com
Mon Mar 13 22:26:47 CET 2006


I've been away for a bit, and just noticed scons doesn't work on BSD
anymore. I uploaded a patch file as well as configuratiomn files for
FreeBSD:
http://astro.scu.edu/~ted/oss/blender/scons-freebsd-13Mar2006.tar.gz
The archive has a patch for changes to existing files against current
CVS. As well as the new configuration files for FreeBSD.

In the patch, I also move a few platfiorm-dependant things from the
SConscript files and generalized them. That way all platform
configuration is done in those plantform-config.py files and not a
mix.

Since you asked for comments, I have two gripes with the current approach:
A) It doesn't take advantage of pkg-config and such. Maybe there
should be two passes - first, collection options. Then for the stuff
that pkg-config/sdl-config are used for, run those tools and fill in
values if they haven't already been specified.

B) Most of the options for are going to be similar for several OSes -
why not take advantage of that and have configuration files include
each other? i.e. have bsd, osx, and linux all include from a common
unix configuration. For example, what I hav with the freebsd
configurations I posted.


Ted (SpookyElectric)


On 2/4/06, Nathan Letwory <jesterking at letwory.net> wrote:
> The sunday I'll be available for quick help too, so anyone
> interested in helping out testing the currently supported platforms, and
> even more importantly, who want to help out creating the necessary
> configurations for Cygwin, Solaris and FreeBSD should activate their
> engines.


More information about the Bf-committers mailing list