Commit ab48005
add CMAKE_SYCL_COMPILER_LAUNCHER for sccache. (#2260)
Add `CMAKE_SYCL_COMPILER_LAUNCHER` for sccache enabling, please
reference to
https://github.com/pytorch/pytorch/blob/7d67a41db4801632d5862e99c79b766284dfd307/.ci/pytorch/windows/build_pytorch.bat#L91C13-L91C41
When we setup `CMAKE_SYCL_COMPILER_LAUNCHER` to sccache binary, it will
enable sccache.
When we didn't set `CMAKE_SYCL_COMPILER_LAUNCHER`, it should be blank,
and didn't change original logical.
Sccache usage:
https://github.com/mozilla/sccache?tab=readme-ov-file#usage
Co-authored-by: Stonepia <[email protected]>1 parent 8e51ba6 commit ab48005
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| |||
405 | 410 | | |
406 | 411 | | |
407 | 412 | | |
408 | | - | |
| 413 | + | |
409 | 414 | | |
410 | 415 | | |
411 | 416 | | |
| |||
0 commit comments