Status: reviewed by Merov, committed to snowglobe 1.4, 1.5 and 2.1.

Background:

When developing many viewers in parallel (and snowstorm with it's many
clones that need to be checked out
won't change that), it becomes necessary to automate certain things with
scripts. One of the things those
scripts need to know is the current build directory.

However, the build directory is a function of the configuration of the
viewer. In order to remove human
maintenance (and possible errors therein) it is desirable to have an
automated way to convert configuration
to build directory name.

I wrote such scripts and they "break down" with the current
viewer-development:

hikaru:/usr/src/secondlife/viewers/snowstorm/test-20100818>source
env.source
Error: unknown subcommand 'printbuilddirs'
(run 'develop.py --help' for help)
CONFIGURE_OPTS = "--type=Release -m64 --standalone"
CMAKE_DEFS = "-DLL_TESTS:BOOL=ON -DPACKAGE:BOOL=ON
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
CMAKE_PREFIX_PATH = "/sl:/sl/usr"
CMAKE_INCLUDE_PATH =
"/usr/src/secondlife/llqtwebkit/install2/include:/usr/src/secondlife/viewers/snowstorm/test-20100818/include:/sl/usr/include"
CMAKE_LIBRARY_PATH = "/usr/src/secondlife/llqtwebkit/install2/lib:"

Sprint plan:

Port this patch to viewer-development for the next sprint and test it.

Before patch:

hikaru:/usr/src/secondlife/viewers/snowstorm/test-20100818/linden/indra>./develop.py
--type=Release -m64 --standalone printbuilddirs
setting DISTCC_DIR to
/usr/src/secondlife/viewers/snowstorm/test-20100818/linden/indra/.distcc
Error: unknown subcommand 'printbuilddirs'
(run 'develop.py --help' for help)

After patch:

This should print (on this box): viewer-linux-x86_64-release



Please let me know if anything is wrong or missing in this post,
Aleric
_______________________________________________
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Reply via email to