Skip to content

Commit 66742c2

Browse files
[E2E][sycl-rel 6.3] Make lit search tools in bin/ directory (#20395)
Fixes E2E test failure in `SeperateCompile/test.cpp` in sycl-rel 6.3 ABI testing(https://github.com/intel/llvm/actions/runs/18599730732/job/53035028308#step:27:2964) The test failure is because of lit using system-installed `sycl-post-link` instead of the newly built one. This PR forces lit to find and use tools from `<compiler build>/bin` directory. These changes are already in `sycl` branch (brought in by #19669)
1 parent dcde89d commit 66742c2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sycl/test-e2e/lit.cfg.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -839,6 +839,14 @@ def remove_level_zero_suffix(devices):
839839
),
840840
ToolSubst("sycl-ls", command=sycl_ls, unresolved="ignore"),
841841
ToolSubst("syclbin-dump", command=syclbin_dump, unresolved="ignore"),
842+
ToolSubst("llvm-link", unresolved="fatal"),
843+
ToolSubst("syclbin-dump", unresolved="fatal"),
844+
ToolSubst("llvm-ar", unresolved="fatal"),
845+
ToolSubst("clang-offload-bundler", unresolved="fatal"),
846+
ToolSubst("clang-offload-wrapper", unresolved="fatal"),
847+
ToolSubst("sycl-post-link", unresolved="fatal"),
848+
ToolSubst("file-table-tform", unresolved="fatal"),
849+
ToolSubst("llvm-foreach", unresolved="fatal"),
842850
] + feature_tools
843851

844852
# Try and find each of these tools in the DPC++ bin directory, in the llvm tools directory

0 commit comments

Comments
 (0)