Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track package versions to the generated find_dependency calls #156

Conversation

robertmaynard
Copy link
Contributor

When a user uses rapids_find_package(<pkg> <version>) or rapids_cpm_find we now record the version requested. This allows rapids-cmake to ensure the generated find_dependency have the same minimum version required as the project itself.

Note we store the requested version, not the actual version found. This is important since if we used the version found we would break things such as CUDAToolkit backwards compat ( project builds against 11.5, consumers can safely use 11.3 ).

@robertmaynard robertmaynard added feature request New feature or request non-breaking Introduces a non-breaking change 3 - Ready for Review Ready for review by team labels Jan 28, 2022
@robertmaynard
Copy link
Contributor Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit f3be5b9 into rapidsai:branch-22.04 Feb 24, 2022
@robertmaynard robertmaynard deleted the fea/track_version_to_exported_dependencies branch February 24, 2022 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team feature request New feature or request non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant