[zorg] r200329 - Darwin11 does not have new enough libstdc++, so for darwin11 hosts, use --enable-libcpp always.

Chris Matthews cmatthews5 at apple.com
Tue Jan 28 11:11:48 PST 2014


Author: cmatthews
Date: Tue Jan 28 13:11:48 2014
New Revision: 200329

URL: http://llvm.org/viewvc/llvm-project?rev=200329&view=rev
Log:
Darwin11 does not have new enough libstdc++, so for darwin11 hosts, use --enable-libcpp always.

Modified:
    zorg/trunk/buildbot/llvmlab/master/config/builderconstruction.py

Modified: zorg/trunk/buildbot/llvmlab/master/config/builderconstruction.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/buildbot/llvmlab/master/config/builderconstruction.py?rev=200329&r1=200328&r2=200329&view=diff
==============================================================================
--- zorg/trunk/buildbot/llvmlab/master/config/builderconstruction.py (original)
+++ zorg/trunk/buildbot/llvmlab/master/config/builderconstruction.py Tue Jan 28 13:11:48 2014
@@ -138,6 +138,9 @@ def construct_compiler_builder_from_name
 
     # build_cc must be set for a bootstrapped compiler
     if compiler == 'clang':
+        if host_os == 'darwin11':
+            config_options.extend(['--enable-libcpp'])
+
         return { 'factory' : ClangBuilder.phasedClang(config_options,
                                          is_bootstrap=(build_cc is None),
                                          use_lto=use_lto,





More information about the llvm-commits mailing list