[zorg] r190227 - [llvmlab] Add support for creating a phased cxx11 builder.

Michael Gottesman mgottesman at apple.com
Fri Sep 6 17:03:22 PDT 2013


Author: mgottesman
Date: Fri Sep  6 19:03:22 2013
New Revision: 190227

URL: http://llvm.org/viewvc/llvm-project?rev=190227&view=rev
Log:
[llvmlab] Add support for creating a phased cxx11 builder.

Modified:
    zorg/trunk/zorg/buildbot/builders/ClangBuilder.py

Modified: zorg/trunk/zorg/buildbot/builders/ClangBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/ClangBuilder.py?rev=190227&r1=190226&r2=190227&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/ClangBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/ClangBuilder.py Fri Sep  6 19:03:22 2013
@@ -631,7 +631,7 @@ from zorg.buildbot.builders.Util import
 from buildbot.steps.source.svn import SVN as HostSVN
 
 def phasedClang(config_options, is_bootstrap=True, use_lto=False,
-                incremental=False):
+                incremental=False, use_cxx11=False):
     # Create an instance of the Builder.
     f = buildbot.process.factory.BuildFactory()
     # Determine the build directory.
@@ -773,6 +773,9 @@ def phasedClang(config_options, is_boots
         configure_args.append(
           '--with-extra-options=-flto -gline-tables-only')
     
+    if use_cxx11:
+        configure_args.append("CXX_FLAGS=-std=c++11 -stdlib=libc++ -nostdinc++")
+
     # Configure the LLVM build.
     if incremental:
         # *NOTE* This is a temporary work around. I am eventually going to just





More information about the llvm-commits mailing list