[zorg] r176990 - LTO Clang Builder: Get the full path to libLTO instead of just the relative path with base host-compiler.

Michael Gottesman mgottesman at apple.com
Wed Mar 13 15:38:39 PDT 2013


Author: mgottesman
Date: Wed Mar 13 17:38:38 2013
New Revision: 176990

URL: http://llvm.org/viewvc/llvm-project?rev=176990&view=rev
Log:
LTO Clang Builder: Get the full path to libLTO instead of just the relative path with base host-compiler.

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=176990&r1=176989&r2=176990&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/ClangBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/ClangBuilder.py Wed Mar 13 17:38:38 2013
@@ -736,7 +736,8 @@ def phasedClang(config_options, is_boots
     
     # If we need to use lto, find liblto, add in proper flags here, etc.
     if use_lto:
-        liblto_command = ['find', 'host-compiler', '-name', 'libLTO.dylib']
+        liblto_command = ['find', WithProperties('%(builddir)s/host-compiler'),
+                          '-name', 'libLTO.dylib']
         f.addStep(buildbot.steps.shell.SetProperty(
                 name='find.liblto',
                 command=liblto_command,





More information about the llvm-commits mailing list