[Chandler-dev] Changes to the RunChandler and RunPython scripts

Grant Baillie grant at osafoundation.org
Wed Apr 26 17:58:37 PDT 2006


On Apr 25, 2006, at 11:42 , Mike Taylor wrote:

> With the latest trunk changes, the "launcher" scripts: RunChandler  
> and RunPython have been updated.
>
> RunChandler now calls python using the RunPython script (except for  
> windows where it calls the python executable directly)
>
> The release version of RunChandler now sets -O (the OPTIMIZE flag)  
> by default.  The previous version was setting -O in multiple places  
> (most of the wrong ;)
>
> If you want to run the release version of RunChandler without  
> optimizations then you can override the value like so:
>
> For linux or osx:
> 	OPTIMIZE= ./release/RunChandler
> For windows:
> 	OPTIMIZE=\ ./release/RunChandler
>
> windows doesn't like setting an environment var to an empty value  
> so we force it to be a space
>
> Let me know if you have any questions.

Hmmm... why would you do

OPTIMIZE= ./release/RunChandler

when you can just as easily do

./release/RunPython Chandler.py?

--Grant



More information about the chandler-dev mailing list