[llvm] r289663 - Revert gold part of change, just liblto
Derek Schuff via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 14 08:20:25 PST 2016
Author: dschuff
Date: Wed Dec 14 10:20:25 2016
New Revision: 289663
URL: http://llvm.org/viewvc/llvm-project?rev=289663&view=rev
Log:
Revert gold part of change, just liblto
Modified:
llvm/trunk/test/lit.cfg
llvm/trunk/test/lit.site.cfg.in
Modified: llvm/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.cfg?rev=289663&r1=289662&r2=289663&view=diff
==============================================================================
--- llvm/trunk/test/lit.cfg (original)
+++ llvm/trunk/test/lit.cfg Wed Dec 14 10:20:25 2016
@@ -420,7 +420,7 @@ if config.host_triple == config.target_t
import subprocess
def have_ld_plugin_support():
- if not config.llvm_tool_llvm_shlib_build:
+ if not os.path.exists(os.path.join(config.llvm_shlib_dir, 'LLVMgold.so')):
return False
ld_cmd = subprocess.Popen([config.gold_executable, '--help'], stdout = subprocess.PIPE, env={'LANG': 'C'})
Modified: llvm/trunk/test/lit.site.cfg.in
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.site.cfg.in?rev=289663&r1=289662&r2=289663&view=diff
==============================================================================
--- llvm/trunk/test/lit.site.cfg.in (original)
+++ llvm/trunk/test/lit.site.cfg.in Wed Dec 14 10:20:25 2016
@@ -15,7 +15,6 @@ config.lit_tools_dir = "@LLVM_LIT_TOOLS_
config.python_executable = "@PYTHON_EXECUTABLE@"
config.gold_executable = "@GOLD_EXECUTABLE@"
config.ld64_executable = "@LD64_EXECUTABLE@"
-config.llvm_tool_llvm_shlib_build = "@LLVM_TOOL_LLVM_SHLIB_BUILD@"
config.llvm_tool_lto_build = "@LLVM_TOOL_LTO_BUILD@"
config.ocamlfind_executable = "@OCAMLFIND@"
config.have_ocamlopt = "@HAVE_OCAMLOPT@"
More information about the llvm-commits
mailing list