[Buildbot-devel] BuildBot & Visual Studios....

BRM bm_witness at yahoo.com
Wed Sep 21 17:37:21 UTC 2011


----- Original Message -----

> From: Dmitry Nezhevenko <dion at dion.org.ua>
> On Wed, Sep 21, 2011 at 07:48:35AM -0700, BRM wrote:
>>  If I understand your code and what you said, then you are using an
>>  environment variable to support which one. But the, you can only use one
>>  version of VS, right?  If so, that is problematic - I need 3 different
>>  versions myself.
> 
> Actually no. There is nothing special to configure on slave. Just install
> as many VS versions as you need.
> 
> I'm using VSxxCOMNTOOLS environment variable to calculate path to visual
> studio compiler. It's added by VS installer. So on master you should just
> choose which MSVC version to use for particular builder.
> 
> So:
>     addStep(MSVC(commToolsName = "VS90COMNTOOLS", ...)) -- for VS2008
>     addStep(MSVC(commToolsName = "VS71COMNTOOLS", ...)) -- for VS2003
> 
> As I said, this don't require any manual changes on slave. Just unpatched
> slave. Environment variables will be added by MSVC installer

Environment variables are not necessarily a good thing to rely on.
I did load up my Virtual Machine (which has VS6, VS2003, VS2008, and VS2010 installed) to take a look, and I can see what you mean.
However, VS6 doesn't provide such a variable, and while I do realize that usage of VS6 is far lower than any other it's still a formidable force.
So a way that it useful on all systems, for all versions in use is probably best.

$0.02

Ben





More information about the devel mailing list