Commit 3dfdf6a
committed
[Driver][SYCL] Use only PATH when searching for user host compiler
When using -fsycl-host-compiler, be sure that we only use the available
PATH settings to find the compiler given (if given without a full PATH
qualifier). This allows for only known locations to be searched for the
given compiler instead of possible internal settings unknown to the
user.1 parent d7a720c commit 3dfdf6a
File tree
2 files changed
+14
-1
lines changed- clang
- lib/Driver/ToolChains
- test/Driver
2 files changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5194 | 5194 | | |
5195 | 5195 | | |
5196 | 5196 | | |
5197 | | - | |
| 5197 | + | |
| 5198 | + | |
| 5199 | + | |
| 5200 | + | |
5198 | 5201 | | |
5199 | 5202 | | |
5200 | 5203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
0 commit comments