[clang-tools-extra] r199589 - check-clang-tools: Fixup for r199583.
NAKAMURA Takumi
geek4civic at gmail.com
Sun Jan 19 04:07:46 PST 2014
Author: chapuni
Date: Sun Jan 19 06:07:45 2014
New Revision: 199589
URL: http://llvm.org/viewvc/llvm-project?rev=199589&view=rev
Log:
check-clang-tools: Fixup for r199583.
- Forgot to tweak autoconf's Makefile.
- Apply lit's param to config.clang_tools_dir.
Modified:
clang-tools-extra/trunk/test/Makefile
clang-tools-extra/trunk/test/lit.site.cfg.in
Modified: clang-tools-extra/trunk/test/Makefile
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/Makefile?rev=199589&r1=199588&r2=199589&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/Makefile (original)
+++ clang-tools-extra/trunk/test/Makefile Sun Jan 19 06:07:45 2014
@@ -53,6 +53,7 @@ lit.site.cfg: FORCE
@$(ECHOPATH) s=@LLVM_LIBS_DIR@=$(LibDir)=g >> lit.tmp
@$(ECHOPATH) s=@CLANG_TOOLS_SOURCE_DIR@=$(PROJ_SRC_DIR)/..=g >> lit.tmp
@$(ECHOPATH) s=@CLANG_TOOLS_BINARY_DIR@=$(PROJ_OBJ_DIR)/..=g >> lit.tmp
+ @$(ECHOPATH) s=@CLANG_TOOLS_DIR@=$(ToolDir)=g >> lit.tmp
@$(ECHOPATH) s=@TARGET_TRIPLE@=$(TARGET_TRIPLE)=g >> lit.tmp
@sed -f lit.tmp $(PROJ_SRC_DIR)/lit.site.cfg.in > $@
@-rm -f lit.tmp
Modified: clang-tools-extra/trunk/test/lit.site.cfg.in
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/lit.site.cfg.in?rev=199589&r1=199588&r2=199589&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/lit.site.cfg.in (original)
+++ clang-tools-extra/trunk/test/lit.site.cfg.in Sun Jan 19 06:07:45 2014
@@ -15,6 +15,7 @@ config.have_libedit = "@HAVE_LIBEDIT@"
# Support substitution of the tools and libs dirs with user parameters. This is
# used when we can't determine the tool dir at configuration time.
try:
+ config.clang_tools_dir = config.clang_tools_dir % lit_config.params
config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
config.llvm_libs_dir = config.llvm_libs_dir % lit_config.params
except KeyError:
More information about the cfe-commits
mailing list