Skip to content

Commit 329a401

Browse files
[SYCL] Remove unnecessary llvm-spirv substitution (intel#341)
Note: this is a cherry-pick of intel-llvm/llvm-test-suite intel#540. Remove a tool substitution which effectively assumes that llvm-spirv is in sycl_tools_dir. If it's not, the substitution results in an incorrect absolute path, preventing llvm-spirv from being found elsewhere via PATH. If llvm-spirv is in sycl_tools_dir the removed substitution unnecessary because we also add sycl_tools_dir to PATH.
1 parent 2bab3af commit 329a401

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

SYCL/lit.cfg.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,6 @@
149149
config.substitutions.append( ('%debug_option', '-g' ) )
150150
config.substitutions.append( ('%cxx_std_option', '-std=' ) )
151151

152-
llvm_config.add_tool_substitutions(['llvm-spirv'], [config.sycl_tools_dir])
153-
154152
if not config.sycl_be:
155153
lit_config.error("SYCL backend is not specified")
156154

0 commit comments

Comments
 (0)