Commit 65234bd
authored
build: enable SYCL warnings on Linux (#2096)
Some versions of DPC++ compiler pass paths to SYCL headers as user
include paths (`-I`) rather than system paths (`-isystem`). This makes
host compiler to report warnings encountered in the SYCL headers, such
as deprecated warnings, even if warned API is not actually used in the
program. We expect that this issue will be addressed in the later
version of DPC++ compiler. To workaround the issue we wrap paths to SYCL
headers in `-isystem`.
disable_ut
disable_e2e
disable_distributed
CC: @EikanWang @chuanqi129
Signed-off-by: Dmitry Rogozhkin <[email protected]>1 parent 6e5af1e commit 65234bd
1 file changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
| |||
0 commit comments