[Bf-committers] Buildbot setup for MSVC 2012 testbuilds

Jürgen Herrmann shadowrom at me.com
Mon Jun 17 19:16:27 CEST 2013


Hi Brecht, 

I tried that by usingf 
if env['MSVC_VERSION'] == '11.0':

But it seems that "env" is not present in the scope of this config file, it
always fails :(

The MacOSX config file uses system commands to determine their versions, but
this is quite hard for windows.

/Jürgen

-----Ursprüngliche Nachricht-----
Von: bf-committers-bounces at blender.org
[mailto:bf-committers-bounces at blender.org] Im Auftrag von Brecht Van Lommel
Gesendet: Montag, 17. Juni 2013 19:12
An: bf-blender developers
Betreff: Re: [Bf-committers] Buildbot setup for MSVC 2012 testbuilds

It looks good to me, except that perhaps we can avoid copying the config
file. Can we add if/else in the win64-vc-config.py based on the MSVS
version? It's only 4 lines or so that are actually different.

Brecht.

On Mon, Jun 17, 2013 at 6:43 PM, Jürgen Herrmann <shadowrom at me.com> wrote:
> Sorry, my fault ... getting tired ;)
>
> http://www.pasteall.org/43245
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: bf-committers-bounces at blender.org 
> [mailto:bf-committers-bounces at blender.org] Im Auftrag von Thomas 
> Dinges
> Gesendet: Montag, 17. Juni 2013 18:39
> An: bf-blender developers
> Betreff: Re: [Bf-committers] Buildbot setup for MSVC 2012 testbuilds
>
> Hi Jürgen,
> the patch didn't get attached, maybe upload it to pasteall.org.
>
> Thanks,
> Thomas
>
> Am 17.06.2013 18:37, schrieb Jürgen Herrmann:
>> Hi Brecht and Thomas,
>>
>> I attached my patch for SCons.
>> I tested this with VC 2008 and 2012 and MinGW64.
>> I don't have other systems to test right now :/ It works quite well 
>> though this is a little hacky because I don't get into the internals 
>> of
> SCons that good.
>> I set it to default to MSVC 2008  so
>> - calling "py scons/scons.py" will build with MSVC2008
>> - calling "py scons\scons.py MSVS_VERSION=11.0" will build with VS
>> 2012
>> - calling "py scons/scons.py BF_TOOLSET=mingw" builds MinGW as usual.
>>
>> Could you two have a look at this please, I bet you'll have some 
>> ideas how
> to make it better.
>>
>> /Jürgen
>>
>> -----Ursprüngliche Nachricht-----
>> Von: bf-committers-bounces at blender.org 
>> [mailto:bf-committers-bounces at blender.org] Im Auftrag von Jürgen 
>> Herrmann
>> Gesendet: Montag, 17. Juni 2013 14:50
>> An: bf-blender developers
>> Betreff: Re: [Bf-committers] Buildbot setup for MSVC 2012 testbuilds
>>
>> Thanks Brecht ;)
>> I'll try to get this running this evening.
>> I'll still have to look into scons build.
>> I got it to work by querying env['MSVS_VERSION'] which is 
>> automatically
> set to 11.0 when vs2012 is installed.
>> But I'll have to test in another machine without VS2012 and with 
>> VS2008 if
> it doesn't break things.
>> And with MinGW...
>> After that test I'll commit the scons changes and set up the buildbot
>> ;)
>>
>> /Jürgen
>>
>> Am 17.06.2013 um 14:23 schrieb Brecht Van Lommel
> <brechtvanlommel at pandora.be>:
>>
>>> I've sent you a mail with all the details.
>>>
>>> On Sun, Jun 16, 2013 at 3:45 PM, Jürgen Herrmann <shadowrom at me.com>
> wrote:
>>>> Hi there,
>>>>
>>>>
>>>>
>>>> as I have scons working with MSVC2012 now, I'd like to set up a 
>>>> buildbot for testbuilds.
>>>>
>>>> I found the documentation on this in the wiki.
>>>>
>>>> It seems that I need a buildbot name and password, who is willing 
>>>> to provide me these?  :D
>>>>
>>>>
>>>>
>>>> /Jürgen
>>>>
>>>> _______________________________________________
>>>> Bf-committers mailing list
>>>> Bf-committers at blender.org
>>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>> _______________________________________________
>>> Bf-committers mailing list
>>> Bf-committers at blender.org
>>> http://lists.blender.org/mailman/listinfo/bf-committers
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>
>
> --
> Thomas Dinges
> Blender Developer, Artist and Musician
>
> www.dingto.org
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
_______________________________________________
Bf-committers mailing list
Bf-committers at blender.org
http://lists.blender.org/mailman/listinfo/bf-committers



More information about the Bf-committers mailing list