Skip to content

Commit 5199e66

Browse files
authored
Merge pull request intel#29 from frasercrmck/lit-utils
[lit] Improve utils and commonality
2 parents 8c6b9b7 + 6b867cd commit 5199e66

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

llvm/lib/SYCLNativeCPUUtils/compiler_passes/vecz/test/lit/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ add_ca_configure_lit_site_cfg(
2424
if(TARGET ${SUITE}-lit)
2525
add_ca_lit_testsuite(${SUITE}
2626
${CMAKE_CURRENT_BINARY_DIR}
27-
DEPENDS ca-common-lit veczc ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py)
27+
DEPENDS veczc ${SUITE}-lit)
2828
endif()

llvm/lib/SYCLNativeCPUUtils/compiler_passes/vecz/test/lit/lit.site.cfg.py.in

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ config.test_exec_root = r"@CURRENT_BINARY_DIR@"
2525
config.tools = [ ToolSubst('veczc'), ]
2626

2727
# Defer to the common lit configuration to set up the bulk of the config.
28-
common_lit_cfg_path = os.path.join('@PROJECT_BINARY_DIR@', 'modules',
29-
'lit', 'lit.common.cfg')
28+
common_lit_cfg_path = os.path.join('@CA_COMMON_LIT_BINARY_PATH@', 'lit.common.cfg')
3029

3130
lit_config.load_config(config, common_lit_cfg_path)
3231

0 commit comments

Comments
 (0)