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

Eric Christopher echristo at gmail.com
Mon Sep 9 08:44:38 PDT 2013


On Fri, Sep 6, 2013 at 5:03 PM, Michael Gottesman <mgottesman at apple.com> wrote:
> 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++")
> +
>

There are actual configure flags to do this, you don't need to pass
CXX_FLAGS. :)

-eric



More information about the llvm-commits mailing list