Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL] Remove unnecessary llvm-spirv substitution #540

Merged
merged 1 commit into from
Nov 8, 2021

Conversation

tcreech-intel
Copy link

@tcreech-intel tcreech-intel commented Oct 29, 2021

This change removes 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 is
unnecessary because we also add sycl_tools_dir to PATH.

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.
@tcreech-intel tcreech-intel marked this pull request as ready for review November 1, 2021 19:22
@tcreech-intel
Copy link
Author

tcreech-intel commented Nov 8, 2021

@vladimirlaz, would it be possible for you to take a look at this?

@vladimirlaz vladimirlaz merged commit 3df091e into intel:intel Nov 8, 2021
myler pushed a commit to myler/llvm-test-suite that referenced this pull request Apr 12, 2022
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.
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
…ite#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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants