[PATCH] Add VS2013 Clang builder and slave

David Blaikie dblaikie at gmail.com
Tue Feb 24 09:14:27 PST 2015


On Tue, Feb 24, 2015 at 9:10 AM, Zachary Turner <zturner at google.com> wrote:

> CC=clang-cl CXX=clang-cl cmake -G Ninja ..\llvm
>

Adding another flag to the getClangCMakeBuildFactory that adds those flags
seems like a way to go, then.


>
> There's a few additional variables you have to pass to cmake to set
> cxxflags, but that is a bug in the cmake which i plan to address today or
> tomorrow. After that, the above command line will just work
>
> On Tue, Feb 24, 2015 at 9:06 AM David Blaikie <dblaikie at gmail.com> wrote:
>
>> On Mon, Feb 23, 2015 at 5:42 PM, Reid Kleckner <rnk at google.com> wrote:
>>
>>> Hi gkistanova, zturner, rfoos,
>>>
>>> This is a starting point. I have no idea which direction I should
>>> continue to
>>> make this work and am looking for advice.  Eventually this bot should be
>>> able
>>> to self-host using clang-cl.
>>>
>>
>> If you were running this build (as the builder currently does) by hand,
>> what changes would you make to that process to get the build you want? (how
>> would you enable the clang-cl self-hosting behavior?)
>>
>>
>>>
>>> http://reviews.llvm.org/D7848
>>>
>>> Files:
>>>   buildbot/osuosl/master/config/builders.py
>>>   buildbot/osuosl/master/config/slaves.py
>>>
>>> Index: buildbot/osuosl/master/config/builders.py
>>> ===================================================================
>>> --- buildbot/osuosl/master/config/builders.py
>>> +++ buildbot/osuosl/master/config/builders.py
>>> @@ -318,6 +318,18 @@
>>>
>>> stage1_config='Release+Asserts',
>>>
>>> stage2_config='Release+Asserts')},
>>>
>>> +        {'name': 'clang-x86-win2008-selfhost',
>>> +         'slavenames': ['windows-gcebot1'],
>>> +         'builddir': 'clang-x86-win2008-selfhost',
>>> +         'factory' : ClangBuilder.getClangCMakeBuildFactory(
>>> +                        triple='i686-pc-windows-msvc',
>>> +                        clean=False,
>>> +                        checkout_compiler_rt=False,
>>> +                        testStage1=True,
>>> +                        stage1_config='Release',
>>> +                        stage2_config='Release',
>>> +
>>> extra_cmake_args=["-DLLVM_ENABLE_ASSERTIONS=ON"])},
>>> +
>>>          {'name' : "clang-ppc64-elf-linux",
>>>           'slavenames' :["chinook-clangslave1"],
>>>           'builddir' :"clang-ppc64-1",
>>> Index: buildbot/osuosl/master/config/slaves.py
>>> ===================================================================
>>> --- buildbot/osuosl/master/config/slaves.py
>>> +++ buildbot/osuosl/master/config/slaves.py
>>> @@ -168,6 +168,8 @@
>>>          create_slave("zturner-win2008", properties={'jobs': 4},
>>> max_builds=1),
>>>          # Windows Server 2008 R2, Quad 2.6GHz Intel Xeon(R) 8GB RAM
>>>          create_slave("sanitizer-windows", properties={'jobs': 4},
>>> max_builds=1),
>>> +        # Windows Server 2008 R2, Quad 2.6GHz Intel Xeon(R) 8GB RAM
>>> +        create_slave("windows-gcebot1", properties={'jobs': 8},
>>> max_builds=1),
>>>
>>>          # Ubuntu x86-64, 51GiB System memory Intel(R) Xeon(R) CPU @
>>> 2.60GHz
>>>          create_slave("lldb-build1-ubuntu-1404", properties={'jobs': 16,
>>> 'loadaverage':
>>>
>>> EMAIL PREFERENCES
>>>   http://reviews.llvm.org/settings/panel/emailpreferences/
>>>
>>> _______________________________________________
>>> llvm-commits mailing list
>>> llvm-commits at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>>
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150224/7a76e97a/attachment.html>


More information about the llvm-commits mailing list