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

cpm tests now download less components and can be run in parallel. #81

Merged
merged 4 commits into from
Sep 16, 2021

Conversation

robertmaynard
Copy link
Contributor

The cpm tests previously would each fetch at minimum the CPM module from github, and possibly other components. Now we pre-popluate a shared cache with each rapids-cmake package and the cpm module.

The end result of this is two fold. First we reduce the amount of network requests, and testing is quicker as we can run
more tests in parallel.

@robertmaynard robertmaynard added improvement Improves an existing functionality non-breaking Introduces a non-breaking change 2 - In Progress Currenty a work in progress Build or Dep labels Sep 16, 2021
@robertmaynard robertmaynard added 3 - Ready for Review Ready for review by team and removed 2 - In Progress Currenty a work in progress labels Sep 16, 2021
@robertmaynard robertmaynard force-pushed the reduce_github_fetches branch 2 times, most recently from 9c53ef1 to 120c4f0 Compare September 16, 2021 15:13
This allows multiple sibling consumers of rapids-version.cmake
without issue. Previously you would include the file a second
time and no variable would be created.
The cpm tests previously would each fetch at minimum the CPM module
from github, and possibly other components. Now we pre-popluate
a shared cache with each rapids-cmake package and the cpm module.

The end result of this is two fold. First we reduce the amount
of network requests, and testing is quicker as we can run
more tests in parallel.
@robertmaynard robertmaynard requested a review from a team as a code owner September 16, 2021 15:58
@robertmaynard
Copy link
Contributor Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 6104131 into rapidsai:branch-21.10 Sep 16, 2021
@robertmaynard robertmaynard deleted the reduce_github_fetches branch September 16, 2021 16:09
rapids-bot bot pushed a commit that referenced this pull request Sep 16, 2021
As part of #81 the `setup_cpm_cache.cmake` file was moved and refactored.

In that PR all callers of setup_cpm_cache() had been updated, but I missed a couple of tests that just included the file. This removes those unneeded inclusions.

Authors:
  - Robert Maynard (https://github.com/robertmaynard)

Approvers: None

URL: #82
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 Build or Dep improvement Improves an existing functionality non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant