rapids-cmake icon indicating copy to clipboard operation
rapids-cmake copied to clipboard

[FEA] Investigate if `rapids-cmake` cpm overrides can work with `CPM_SOURCE_CACHE`

Open robertmaynard opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. The CPM_SOURCE_CACHE variable allows for users/envs to describe where to checkout out source code. In theory this should still work with rapids-cmake overrides as it only controls where a git clone occurs.

But currently rapids_cpm_package_override fixes the source tree location due to directly calling FetchContent_Declare instead of the higher level CPM function.

Describe the solution you'd like We should investigate using CPM to register the override information that should ensure we respect CPM_SOURCE_CACHE.

robertmaynard avatar Mar 04 '24 13:03 robertmaynard