[PATCH] D14130: Delete dead code in the LibcxxAndAbiBuilder

Jonathan Roelofs via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 27 13:18:56 PDT 2015


jroelofs created this revision.
jroelofs added a reviewer: EricWF.
jroelofs added a subscriber: cfe-commits.

Now that we store this information in the __config file, these aren't needed.

http://reviews.llvm.org/D14130

Files:
  zorg/buildbot/builders/LibcxxAndAbiBuilder.py

Index: zorg/buildbot/builders/LibcxxAndAbiBuilder.py
===================================================================
--- zorg/buildbot/builders/LibcxxAndAbiBuilder.py
+++ zorg/buildbot/builders/LibcxxAndAbiBuilder.py
@@ -70,18 +70,6 @@
 
     f = getLibcxxWholeTree(f, src_root)
 
-    if 'libcxxabi-has-no-threads' in additional_features:
-        env['CXXFLAGS'] = (env.get('CXXFLAGS', '') +
-                           ' -DLIBCXXABI_HAS_NO_THREADS=1')
-
-    if 'libcpp-has-no-threads' in additional_features:
-        env['CXXFLAGS'] = (env.get('CXXFLAGS', '') +
-                           ' -D_LIBCPP_HAS_NO_THREADS')
-
-    if 'libcpp-has-no-monotonic-clock' in additional_features:
-        env['CXXFLAGS'] = (env.get('CXXFLAGS', '') +
-                           ' -D_LIBCPP_HAS_NO_MONOTONIC_CLOCK')
-
     # Specify the max number of threads using properties so LIT doesn't use
     # all the threads on the system.
     litTestArgs = '-sv --show-unsupported --show-xfail --threads=%(jobs)s'


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14130.38586.patch
Type: text/x-patch
Size: 1006 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151027/7acd5936/attachment.bin>


More information about the cfe-commits mailing list