[sldev] SCons fully recompiles every time? (Ubuntu 7.04)

Callum Lerwick seg at haxxed.com
Fri Sep 28 11:51:26 PDT 2007


On Fri, 2007-09-28 at 14:31 -0400, ac251404 at ohio.edu wrote:
> I have tried this on my both my laptop and desktop both running Ubuntu Feisty
> 7.04. I followed the wiki instructions for getting the source and compiling the
> viewer with this command - 'scons DISTCC=no BTARGET=client BUILD=release
> MOZLIB=no'. Everything compiles and works fine. Took about 130 minutes on my
> laptop (1.5ghz PM, 512mb) and about 40 minutes on my desktop (2Ghz intel dual
> core, 2GB ram). I did not attempt to use the -j option as I did not find about
> it later. So the viewer runs fine and had no compilation issues, but if I issue
> the build command again (making no changes to the source, not even opening a
> file) it still takes the full amount of time to compile (130/40 mins). Is there
> some flag I am missing for SCons? Everyone else seems to be able to rebuild in a
> few minutes, so why is mine building from scratch? 

Is your clock set right? Does it have something to do with the fact that
it builds in /tmp by default, for compliance with the rule of most
surprise? Try:

TEMP_BUILD_DIR="" scons DISTCC=no BTARGET=client BUILD=release MOZLIB=no
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070928/97b35e4e/attachment.pgp


More information about the SLDev mailing list