Skip to content

Commit e616e81

Browse files
authored
[SYCL][NFC] Adds %python substitution to abi_check.py (#8097)
Extending work done in #7916 to add %python substitution also in abi_check.py, so that we keep %python substitution also when the whole file is generated by the script.
1 parent 3ffa490 commit e616e81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/tools/abi_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def dump_symbols(target_path, output):
114114
out.write("\n# This file is automatically generated by abi_check.py tool.")
115115
out.write("\n# DO NOT EDIT IT MANUALLY. Refer to sycl/doc/developer/ABIPolicyGuide.md for more info.")
116116
out.write("\n################################################################################")
117-
out.write("\n\n# RUN: env LLVM_BIN_PATH=%llvm_build_bin_dir python")
117+
out.write("\n\n# RUN: env LLVM_BIN_PATH=%llvm_build_bin_dir %python")
118118
out.write(" %sycl_tools_src_dir/abi_check.py --mode check_symbols")
119119
if os.name == 'nt':
120120
out.write(" --reference %s %llvm_build_bin_dir/")

0 commit comments

Comments
 (0)