[zorg] r187743 - [llvmlab] Remove the clang-tools-extra sources copied into clang/tools before we attempt to update sources.

Michael Gottesman mgottesman at apple.com
Mon Aug 5 14:44:45 PDT 2013


Author: mgottesman
Date: Mon Aug  5 16:44:45 2013
New Revision: 187743

URL: http://llvm.org/viewvc/llvm-project?rev=187743&view=rev
Log:
[llvmlab] Remove the clang-tools-extra sources copied into clang/tools before we attempt to update sources.

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=187743&r1=187742&r2=187743&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/ClangBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/ClangBuilder.py Mon Aug  5 16:44:45 2013
@@ -673,6 +673,13 @@ def phasedClang(config_options, is_boots
             command=['rm', '-rfv', 'llvm/projects/compiler-rt'],
             haltOnFailure=False, description=['rm', 'compiler-rt sources link'],
             workdir=WithProperties('%(builddir)s')))
+    # TODO: We used to use a symlink here but it seems to not work. I am trying
+    # to get this builder to work so I am just going to copy it instead.
+    f.addStep(buildbot.steps.shell.ShellCommand(
+              name='rm.clang-tools-extra-source',
+              command=['rm', '-rfv', 'extra'],
+              haltOnFailure=True, workdir='clang.src/tools',
+              description=['rm', 'clang-tools-extra sources']))
     # Pull sources.
     f = phased_builder_utils.SVNCleanupStep(f, 'llvm')
     f.addStep(HostSVN(name='pull.llvm', mode='incremental', method='fresh',
@@ -710,13 +717,6 @@ def phasedClang(config_options, is_boots
               command=['ln', '-sfv', '../../compiler-rt.src', 'compiler-rt'],
               haltOnFailure=True, workdir='llvm/projects',
               description=['ln', 'compiler-rt sources']))
-    # TODO: We used to use a symlink here but it seems to not work. I am trying
-    # to get this builder to work so I am just going to copy it instead.
-    f.addStep(buildbot.steps.shell.ShellCommand(
-              name='rm.clang-tools-extra-source',
-              command=['rm', '-rfv', 'extra'],
-              haltOnFailure=True, workdir='clang.src/tools',
-              description=['rm', 'clang-tools-extra sources']))
     f.addStep(buildbot.steps.shell.ShellCommand(
               name='cp.clang-tools-extra-sources',
               command=['cp', '-Rfv', '../../clang-tools-extra.src', 'extra'],





More information about the llvm-commits mailing list