Commit 2aab337
authored
[SYCL][Driver] Respect the -target cross-compilation flag. (#2417)
Currently when compiling with for sycl with a -target flag, clang will invoke the device compilation with an auxiliary triple of the machine performing the compilation instead of the host target completely ignoring the -target flag.
This patch fixes this.1 parent 57313f4 commit 2aab337
File tree
2 files changed
+9
-1
lines changed- clang
- lib/Driver/ToolChains
- test/Driver
2 files changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4155 | 4155 | | |
4156 | 4156 | | |
4157 | 4157 | | |
4158 | | - | |
| 4158 | + | |
| 4159 | + | |
| 4160 | + | |
4159 | 4161 | | |
4160 | 4162 | | |
4161 | 4163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments