NVIDIA / cuda-samples

Samples for CUDA Developers which demonstrates features in CUDA Toolkit
Other
6.49k stars 1.84k forks source link

Distribute source-only versions of releases #221

Open valgur opened 1 year ago

valgur commented 1 year ago

Hi!

I am in the process of adding cuda-samples as a header-only package to the Conan C++ package manager: https://github.com/conan-io/conan-center-index/pull/19116

Some libraries rely on the Common headers from CUDA Samples being present on the system and having them available from a package manager instead (which could be Vcpkg as well, for example) can be useful. Unfortunately, the cuda-samples archives for releases on GitHub are about 150 MB in size and close to 600 MB decompressed, which is a bit of a pain to download when using such packages as part of a build. I suppose a better solution would be to include the relevant headers directly in a project source tree, but that's not always an option.

Could you perhaps consider adding a slimmed down version of the distributed archives to your releases, which do not contain the sample executables, library binaries, docs and possibly even no sample datasets?