Hi all, I also have been messing around with the SCons build script a little. It is indeed a little alpha-ish, but please be a little patient. SCons is a fantastic build system (in my slightly biased opinion). I used in a combination with different compilers in a multi-platform environment and it works like a charm!
OCC and PythonOCC are I guess daunting for every build system, so we just have to work on it a little. I will pitch in as much as possible. Today I focused on the Linux part of the SCons file. Some suggestions: 1. Replace sys.platform by platform,platform(), platform.architecture() and platform.system() calls. This allows us to remove the system call to "apt", which is debian/ubuntu specific (I use fedora ;). 2. We also somehow need to re-factor the code a bit because all paths are specified both in the SConstruct file and the environment.py file. During SWIG generation, both settings are used, so if you do not specify proper OCC_INC paths in both files, the generation of SWIG files will fail. I will look further into SCons to speed up the build. Ciao, Marco On Wed, Mar 11, 2009 at 6:40 PM, Jelle Feringa <jelleferi...@gmail.com> wrote: >>> Been messing with it all day, so probably not a complete list. How do >>> I make swig cache whatever it's doing? 15 minute compile times >>> between >>> commenting out another module makes for slow progress. >> I don't know! I discovered SCons one week ago, so any advice is >> welcome. > > Thomas, > > Perhaps its good if you give us some advice on using either scons or > the `python setup.py build` cmd line. > The latter is working well for me. When a module fails to compile is > comment it out ( Modules.py ) and re-run, it start from where it left > off, so that's cool! > > the Scons script sure is a great idea, but very alpha-ish for the > moment, right? > > -jelle > > _______________________________________________ > Pythonocc-users mailing list > Pythonocc-users@gna.org > https://mail.gna.org/listinfo/pythonocc-users > _______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users