You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When building / testing a new feature that cross cuts multiple projects, or testing new project dependencies a developer might need to use a different branch / repo for a project offered by rapids_cmake.
Currently to have this work you need to do the following:
Branch rapids-cmake
modify versions.json
modify rapids.cmake to point to your repo and branch
modify the consuming project to fetch from your rapids-cmake fork
This is a really high bar to deploy / verify package changes, and rapids_cmake should offer a better approach.
Describe the solution you'd like
We need a solution that only requires changes in the consuming project.
To that end I have thought about the following methods:
Provide hooks via rapids_cpm_init and rapids_cpm_package_override where a user defined json file can be specified which contains the project(s) new information.
Provide just rapids_cpm_package_override( <Package_Name> ) which has explicit VERSION, GIT_URL, GIT_TAG, ... arguments which take the user defined new values.
The upside of number 1 is that the user facing code ( rapids_cpm_package_override ) doesn't have to change each time the version.json has new entries. The problem being that it is has a higher barrier of entry for consumers.
The text was updated successfully, but these errors were encountered:
Fixesrapidsai#73
Introduces `OVERRIDE` argument to rapids_cpm_init() and the
rapids_cpm_package_override command.
Both of these allow consuming projects to inject new
urls/repository/tag/etc for rapids-cmake cpm pre-configured packages
Fixes#73
Introduces `OVERRIDE` argument to rapids_cpm_init() and the rapids_cpm_package_override command.
Both of these allow consuming projects to inject new urls/repository/tag/etc for rapids-cmake cpm pre-configured packages
Authors:
- Robert Maynard (https://github.com/robertmaynard)
Approvers: None
URL: #74
Is your feature request related to a problem? Please describe.
When building / testing a new feature that cross cuts multiple projects, or testing new project dependencies a developer might need to use a different branch / repo for a project offered by rapids_cmake.
Currently to have this work you need to do the following:
This is a really high bar to deploy / verify package changes, and rapids_cmake should offer a better approach.
Describe the solution you'd like
We need a solution that only requires changes in the consuming project.
To that end I have thought about the following methods:
Provide hooks via
rapids_cpm_init
andrapids_cpm_package_override
where a user defined json file can be specified which contains the project(s) new information.Provide just
rapids_cpm_package_override( <Package_Name> )
which has explicitVERSION
,GIT_URL
,GIT_TAG
, ... arguments which take the user defined new values.The upside of number 1 is that the user facing code ( rapids_cpm_package_override ) doesn't have to change each time the version.json has new entries. The problem being that it is has a higher barrier of entry for consumers.
The text was updated successfully, but these errors were encountered: