Repository navigation
Commit ea58e1b
authored
build: consolidate toolchain helpers (#3000)
build: consolidate toolchain helpers
The toolchain, Cython cache, stamp, and CUDA-path helpers duplicated in
cuda_bindings/build_hooks.py and cuda_core/build_hooks.py now live in
cuda_bindings/_build_shared.py. cuda_core/_build_shared.py is a symlink
to it. Each build_hooks.py keeps only what is per-package: C++ standard,
bindings' -Wno-deprecated-declarations tweak, core's CUDA_PYTHON_WERROR,
and the key each one stamps.
A single source needs no drift check, so toolshed/check_build_hooks_sync.py
and its hook go away. Shared tests move into mixins; Windows source-install
notes and the remaining CI checkouts point at core.symlinks=true, which
#2992 already required.
No intended flag or env change: compiler/linker flags and CC/CXX/LDCXXSHARED
are unchanged, except -Wno-deprecated-declarations is now last for bindings.1 parent 669e608 commit ea58e1b
21 files changed
Lines changed: 1292 additions & 1538 deletions
File tree
- .github/workflows
- cuda_bindings
- docs/source
- tests
- cython
- cuda_core
- docs/source
- tests
- cython
- cuda_python_test_helpers/cuda_python_test_helpers
- toolshed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
634 | 637 | | |
635 | 638 | | |
636 | 639 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
235 | 238 | | |
236 | 239 | | |
237 | 240 | | |
| |||
348 | 351 | | |
349 | 352 | | |
350 | 353 | | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
351 | 357 | | |
352 | 358 | | |
353 | 359 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | 84 | | |
92 | 85 | | |
93 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
0 commit comments