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

Bug/proprietary binary obeys always_download #430

Conversation

robertmaynard
Copy link
Contributor

Description

Update rapids_cpm_nvcomp to check for a local version before downloading the properitary version

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.
  • The cmake-format.json is up to date with these changes.

Due to the fact that `rapids_find_package` is a macro it removes
any variable it possible sets during usage. The variable names
it unsets are shared with `rapids_cpm_` calls.

In cases when `rapids_find_package` is called from `rapids_cpm*` it
could overwrite or unset variable defined but `rapids_cpm*` causing
weird rapids-cmake failures.

To avoid this we make sure that `rapdids_find_package` only constructs
unique variable names
@robertmaynard robertmaynard added breaking Introduces a breaking change 3 - Ready for Review Ready for review by team labels Jun 20, 2023
@robertmaynard robertmaynard requested a review from a team as a code owner June 20, 2023 12:39
@robertmaynard robertmaynard changed the title Bug/proprietary binary obey always download Bug/proprietary binary obeys always_download Jun 20, 2023
@robertmaynard robertmaynard force-pushed the bug/proprietary_binary_obey_always_download branch from ad1be25 to 87b688f Compare June 20, 2023 12:49
@robertmaynard robertmaynard added bug Something isn't working non-breaking Introduces a non-breaking change and removed breaking Introduces a breaking change labels Jun 20, 2023
Copy link
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small request for extra docs, otherwise looks good. Feel free to merge once you've addressed the doc request however you see fit.

rapids-cmake/cpm/detail/package_details.cmake Show resolved Hide resolved
@robertmaynard
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 213d124 into rapidsai:branch-23.08 Jun 23, 2023
@robertmaynard robertmaynard deleted the bug/proprietary_binary_obey_always_download branch June 23, 2023 12:09
@bdice
Copy link
Contributor

bdice commented Jun 26, 2023

@robertmaynard @vyasr Thanks for seeing this through!

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 bug Something isn't working non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants