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

Dmitry Nezhevenko dion at dion.org.ua
Wed Sep 21 15:45:04 UTC 2011


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

-- 
WBR, Dmitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://buildbot.net/pipermail/devel/attachments/20110921/0f4a664a/attachment.bin>


More information about the devel mailing list