Commit 848ecd2
[chore] Use sccache in builds (#1156)
* [chore] Use sccache in builds
* Set compiler env vars
* Add the other special envvar
* Try adding vars to cibuildwheel
* Try a different way to pass vars fo cibuildwheel
* Try another approach
* Adjust SCCACHE_DIR inside the container
* Specify a cache dir
* Try something different
* Remove explicit SCCACHE_DIR manipulation
* Add envvar
* Explicitly start the host
* Pass along GHA cache url
* Expose the necessary tokens
* Try a different approach
* Is the token enough?
* Does this work?
* ACTIONS_RESULTS_URL
* Get some debug
* fix syntax
* try to get accurate cache hit/miss rates
* debug
* fix windows
Reintroduced CIBW_BEFORE_TEST and CIBW_TEST_COMMAND for Linux and Windows.
* Try to fix cache writing
* restore SCCACHE_GHA_ENABLED
* set up env vars in build stage
* pass env vars to cibuildwheel
* fix
* try this
* try this
* start server on host and make container aware of the ports
Uncommented sccache start server step and added container engine configuration.
* Revert "start server on host and make container aware of the ports"
This reverts commit 93b92b7.
* try local build approach with all env vars passed to container
* clean up & apply sccache to cuda.core builds
* Add steps to find cl.exe and generate wrapper script
* fix
* defer format normalization
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* debug
* use big gun
* fix
* debug
* fix sccache dir
* Remove windows experimentations
---------
Co-authored-by: Leo Fang <leo80042@gmail.com>
Co-authored-by: Leo Fang <leof@nvidia.com>1 parent ef4a9cc commit 848ecd2
2 files changed
+70
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
48 | 61 | | |
49 | 62 | | |
50 | 63 | | |
| |||
129 | 142 | | |
130 | 143 | | |
131 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
132 | 155 | | |
133 | 156 | | |
134 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
135 | 166 | | |
136 | 167 | | |
137 | 168 | | |
| |||
167 | 198 | | |
168 | 199 | | |
169 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
170 | 211 | | |
171 | 212 | | |
172 | 213 | | |
173 | 214 | | |
174 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
175 | 224 | | |
176 | 225 | | |
177 | 226 | | |
| |||
330 | 379 | | |
331 | 380 | | |
332 | 381 | | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
333 | 392 | | |
334 | 393 | | |
335 | 394 | | |
336 | 395 | | |
337 | 396 | | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
338 | 405 | | |
339 | 406 | | |
340 | 407 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| |||
0 commit comments