[sldev] Re: shared objects output during standalone build

Paul TBBle Hampson Paul.Hampson at Pobox.com
Tue Jul 17 03:22:54 PDT 2007


On Mon, Jul 16, 2007 at 07:00:05PM -0700, John Hurliman wrote:
> Paul TBBle Hampson wrote:
> >I might have a play with compiling more of the objects shared, to see
> >if that reduces my build turnaround time any further.

> >Faster build => sooner package releases. ^_^

> How difficult is it to switch between shared and static libraries for the client? If a patch could be made to modularize more things in to shared libraries for a debug build, it could be applied to a third 
> party repository like OSLCC (or has a name been decided for the viewer yet?). Anything to make relinking times faster for client devs or people just working on patches.

Easy change in SConstruct. See the lines 

create_cond_module('llcommon')
create_cond_module('llmath')
create_cond_module('llvfs')
create_cond_module('llimagej2coj', module_libs=['openjpeg'])
create_cond_module('llimage', module_libs=['llimagej2coj', 'jpeg', 'png12'])
create_static_module('llmessage')
create_static_module('llinventory')
create_static_module('llcharacter')
create_static_module('llprimitive')
create_static_module('llrender')
create_static_module('llwindow')
create_static_module('llxml')

changing one from create_static_module to create_cond_module should do
it. (There's some other create_static_module calls around too)

I haven't tried this yet, mind you. create_cond_module doesn't (yet)
support the extra_depends parameter used by the lscript module. ^_^

-- 
-----------------------------------------------------------
Paul "TBBle" Hampson, B.Sc, LPI, MCSE
On-hiatus Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
Paul.Hampson at Pobox.com

Of course Pacman didn't influence us as kids. If it did,
we'd be running around in darkened rooms, popping pills and
listening to repetitive music.
 -- Kristian Wilson, Nintendo, Inc, 1989

License: http://creativecommons.org/licenses/by/2.1/au/
-----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20070717/ec1a1f67/attachment.pgp


More information about the SLDev mailing list