CC=clang-cl CXX=clang-cl cmake -G Ninja ..\llvm<br><br>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<br><div class="gmail_quote">On Tue, Feb 24, 2015 at 9:06 AM David Blaikie <<a href="mailto:dblaikie@gmail.com">dblaikie@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Feb 23, 2015 at 5:42 PM, Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi gkistanova, zturner, rfoos,<br>
<br>
This is a starting point. I have no idea which direction I should continue to<br>
make this work and am looking for advice.  Eventually this bot should be able<br>
to self-host using clang-cl.<br></blockquote></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br>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?)<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<a href="http://reviews.llvm.org/D7848" target="_blank">http://reviews.llvm.org/D7848</a><br>
<br>
Files:<br>
  buildbot/osuosl/master/config/builders.py<br>
  buildbot/osuosl/master/config/slaves.py<br>
<br>
Index: buildbot/osuosl/master/config/builders.py<br>
===================================================================<br>
--- buildbot/osuosl/master/config/builders.py<br>
+++ buildbot/osuosl/master/config/builders.py<br>
@@ -318,6 +318,18 @@<br>
                                                        stage1_config='Release+Asserts',<br>
                                                        stage2_config='Release+Asserts')},<br>
<br>
+        {'name': 'clang-x86-win2008-selfhost',<br>
+         'slavenames': ['windows-gcebot1'],<br>
+         'builddir': 'clang-x86-win2008-selfhost',<br>
+         'factory' : ClangBuilder.getClangCMakeBuildFactory(<br>
+                        triple='i686-pc-windows-msvc',<br>
+                        clean=False,<br>
+                        checkout_compiler_rt=False,<br>
+                        testStage1=True,<br>
+                        stage1_config='Release',<br>
+                        stage2_config='Release',<br>
+                        extra_cmake_args=["-DLLVM_ENABLE_ASSERTIONS=ON"])},<br>
+<br>
         {'name' : "clang-ppc64-elf-linux",<br>
          'slavenames' :["chinook-clangslave1"],<br>
          'builddir' :"clang-ppc64-1",<br>
Index: buildbot/osuosl/master/config/slaves.py<br>
===================================================================<br>
--- buildbot/osuosl/master/config/slaves.py<br>
+++ buildbot/osuosl/master/config/slaves.py<br>
@@ -168,6 +168,8 @@<br>
         create_slave("zturner-win2008", properties={'jobs': 4}, max_builds=1),<br>
         # Windows Server 2008 R2, Quad 2.6GHz Intel Xeon(R) 8GB RAM<br>
         create_slave("sanitizer-windows", properties={'jobs': 4}, max_builds=1),<br>
+        # Windows Server 2008 R2, Quad 2.6GHz Intel Xeon(R) 8GB RAM<br>
+        create_slave("windows-gcebot1", properties={'jobs': 8}, max_builds=1),<br>
<br>
         # Ubuntu x86-64, 51GiB System memory Intel(R) Xeon(R) CPU @ 2.60GHz<br>
         create_slave("lldb-build1-ubuntu-1404", properties={'jobs': 16, 'loadaverage':<br>
<br>
EMAIL PREFERENCES<br>
  <a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br>
<br></blockquote></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div></div>
</blockquote></div>