Repository navigation
Commit f40cbb1
committed
build: keep the CCCL submodule out of the sdist
Follow-up to #2940. That change vendored CCCL as the submodule
cuda_core/third_party/cccl and grafted its libcudacxx/include tree into the
sdist through cuda_core/MANIFEST.in.
The setuptools-scm 10 git file finder lists the files of an initialized
submodule, so building an sdist from a checkout that has the submodule
checked out now packs the entire CCCL tree (cub, thrust, docs, tests, ...)
into the sdist, although cuda.core only needs the libcu++ headers that
MANIFEST.in already adds explicitly. The same listing is also walked on every
egg_info run, which slows down wheel builds.
Mark the submodule export-ignore, which the finder honors, so it is skipped.
The MANIFEST.in graft still provides the headers and licenses.1 parent d020a5d commit f40cbb1
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments