Skip to content

Commit

Permalink
Merge pull request #139 from lforg37/AbsPathConfigFiles
Browse files Browse the repository at this point in the history
Conversion of sycl_vxx.py Vitis compile and link configuration path to absolute
  • Loading branch information
keryell authored Oct 7, 2021
2 parents 0421360 + 37cda04 commit c5dc796
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sycl/tools/sycl-vxx/bin/sycl_vxx.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def _get_compile_kernel_cmd_out(self, kernel):
self.vpp_llvm_input
]
if comp_config is not None and Path(comp_config).is_file():
command.extend(("--config", comp_config))
command.extend(("--config", Path(comp_config).resolve()))
if 'extra_args' in kernel and kernel['extra_args'].strip():
# User provided kernel arguments can contain many spaces,
# leading split to give empty string that are incorrectly
Expand Down Expand Up @@ -271,7 +271,7 @@ def _link_kernels(self):
"--save-temps", "-l", "-o", self.outpath
]
if link_config is not None and Path(link_config).is_file():
command.extend(("--config", link_config))
command.extend(("--config", Path(link_config).resolve()))
for kernelprop in self.kernel_properties['kernels']:
targets = dict()
for mem_assign in kernelprop["bundle_hw_mapping"]:
Expand Down

0 comments on commit c5dc796

Please sign in to comment.