[zorg] r260127 - Fix derive problem with debug-info repo: Patch by Marc Schifer

Chris Matthews via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 8 11:20:27 PST 2016


Author: cmatthews
Date: Mon Feb  8 13:20:26 2016
New Revision: 260127

URL: http://llvm.org/viewvc/llvm-project?rev=260127&view=rev
Log:
Fix derive problem with debug-info repo: Patch by Marc Schifer

Modified:
    zorg/trunk/zorg/jenkins/build.py

Modified: zorg/trunk/zorg/jenkins/build.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/jenkins/build.py?rev=260127&r1=260126&r2=260127&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/build.py (original)
+++ zorg/trunk/zorg/jenkins/build.py Mon Feb  8 13:20:26 2016
@@ -512,6 +512,11 @@ def derive(tree, repos):
     Try to do this in a way that is pretty fast if the
     derived tree is already there.
     """
+    if 'debuginfo-tests' in repos:
+        dest_path = conf.workspace + "/" + 'llvm/tools/clang/test/debuginfo-tests'
+        if os.path.exists(dest_path):
+            print 'Remove debuginfo-tests from derived source if it exists'
+            run_ws(['rm', '-rf', dest_path])
 
     # Check for src dirs.
     for p in repos:




More information about the llvm-commits mailing list