[zorg] r284330 - Added support for gold as a system linker.
Galina Kistanova via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 15 22:02:20 PDT 2016
Author: gkistanova
Date: Sun Oct 16 00:02:20 2016
New Revision: 284330
URL: http://llvm.org/viewvc/llvm-project?rev=284330&view=rev
Log:
Added support for gold as a system linker.
Modified:
zorg/trunk/zorg/buildbot/builders/ClangLTOBuilder.py
Modified: zorg/trunk/zorg/buildbot/builders/ClangLTOBuilder.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/ClangLTOBuilder.py?rev=284330&r1=284329&r2=284330&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/ClangLTOBuilder.py (original)
+++ zorg/trunk/zorg/buildbot/builders/ClangLTOBuilder.py Sun Oct 16 00:02:20 2016
@@ -229,6 +229,7 @@ def _addSteps4StagedCompiler(
def getClangWithLTOBuildFactory(
+ depends_on_projects = None,
clean = False,
jobs = None,
extra_configure_args = None,
@@ -237,6 +238,12 @@ def getClangWithLTOBuildFactory(
env = None):
# Set defaults
+ if depends_on_projects:
+ depends_on_projects = list(depends_on_projects)
+ else:
+ # By default we link with LLD.
+ depends_on_projects = ['llvm', 'clang', 'lld']
+
if jobs is None:
jobs = "%(jobs)s"
@@ -258,7 +265,7 @@ def getClangWithLTOBuildFactory(
merged_env.update(env)
f = LLVMBuildFactory(
- depends_on_projects=['llvm', 'clang', 'lld'],
+ depends_on_projects=depends_on_projects,
llvm_srcdir="llvm.src",
stage_objdirs=[
"build/stage1",
More information about the llvm-commits
mailing list