зеркало из https://github.com/microsoft/clang.git
Preparations for separating target-specific clang tests.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132319 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
31fc0c1a16
Коммит
065063bdf4
|
@ -45,6 +45,7 @@ lit.site.cfg: FORCE
|
|||
@$(ECHOPATH) s=@CLANG_SOURCE_DIR@=$(PROJ_SRC_DIR)/..=g >> lit.tmp
|
||||
@$(ECHOPATH) s=@CLANG_BINARY_DIR@=$(PROJ_OBJ_DIR)/..=g >> lit.tmp
|
||||
@$(ECHOPATH) s=@TARGET_TRIPLE@=$(TARGET_TRIPLE)=g >> lit.tmp
|
||||
@$(ECHOPATH) s=@TARGETS_TO_BUILD@=$(TARGETS_TO_BUILD)=g >> lit.tmp
|
||||
@sed -f lit.tmp $(PROJ_SRC_DIR)/lit.site.cfg.in > $@
|
||||
@-rm -f lit.tmp
|
||||
|
||||
|
@ -58,6 +59,7 @@ Unit/lit.site.cfg: FORCE
|
|||
@$(ECHOPATH) s=@CLANG_SOURCE_DIR@=$(PROJ_SRC_DIR)/..=g >> unit.tmp
|
||||
@$(ECHOPATH) s=@CLANG_BINARY_DIR@=$(PROJ_OBJ_DIR)/..=g >> unit.tmp
|
||||
@$(ECHOPATH) s=@TARGET_TRIPLE@=$(TARGET_TRIPLE)=g >> unit.tmp
|
||||
@$(ECHOPATH) s=@TARGETS_TO_BUILD@=$(TARGETS_TO_BUILD)=g >> unit.tmp
|
||||
@$(ECHOPATH) s=@LLVM_BUILD_MODE@=$(BuildMode)=g >> unit.tmp
|
||||
@$(ECHOPATH) s=@ENABLE_SHARED@=$(ENABLE_SHARED)=g >> unit.tmp
|
||||
@$(ECHOPATH) s=@SHLIBDIR@=$(SharedLibDir)=g >> unit.tmp
|
||||
|
|
|
@ -10,6 +10,12 @@ config.enable_shared = @ENABLE_SHARED@
|
|||
config.shlibdir = "@SHLIBDIR@"
|
||||
config.shlibpath_var = "@SHLIBPATH_VAR@"
|
||||
config.target_triple = "@TARGET_TRIPLE@"
|
||||
config.targets_to_build = "@TARGETS_TO_BUILD@"
|
||||
|
||||
# Exclude not supported target-specific tests.
|
||||
config.excludes = []
|
||||
if not 'X86' in config.targets_to_build:
|
||||
config.excludes.append('X86')
|
||||
|
||||
# Support substitution of the tools_dir, libs_dirs, and build_mode with user
|
||||
# parameters. This is used when we can't determine the tool dir at
|
||||
|
|
|
@ -7,6 +7,12 @@ config.llvm_libs_dir = "@LLVM_LIBS_DIR@"
|
|||
config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
|
||||
config.clang_obj_root = "@CLANG_BINARY_DIR@"
|
||||
config.target_triple = "@TARGET_TRIPLE@"
|
||||
config.targets_to_build = "@TARGETS_TO_BUILD@"
|
||||
|
||||
# Exclude not supported target-specific tests.
|
||||
config.excludes = []
|
||||
if not 'X86' in config.targets_to_build:
|
||||
config.excludes.append('X86')
|
||||
|
||||
# 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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче