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

Add CMake install rules for tests #2057

Merged
merged 2 commits into from
Feb 7, 2022

Conversation

ajschmidt8
Copy link
Member

This PR adds a CMake install rule for test targets. This step is a prerequisite to being able to package tests in their own conda package, which will enable us to deprecate Project Flash.

@ajschmidt8 ajschmidt8 added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Feb 2, 2022
@ajschmidt8 ajschmidt8 requested a review from a team as a code owner February 2, 2022 20:40
@BradReesWork BradReesWork added this to the 22.04 milestone Feb 2, 2022
@codecov-commenter
Copy link

codecov-commenter commented Feb 2, 2022

Codecov Report

❗ No coverage uploaded for pull request base (branch-22.04@9bc960e). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff               @@
##             branch-22.04    #2057   +/-   ##
===============================================
  Coverage                ?   73.39%           
===============================================
  Files                   ?      155           
  Lines                   ?    10231           
  Branches                ?        0           
===============================================
  Hits                    ?     7509           
  Misses                  ?     2722           
  Partials                ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9bc960e...11ab457. Read the comment docs.

@@ -133,6 +133,15 @@ function(ConfigureTest CMAKE_TEST_NAME)
endif(OpenMP_CXX_FOUND)
Copy link
Contributor

Choose a reason for hiding this comment

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

The following targets need to be installed as well:

  • targets made via ConfigureTestMG()
  • targets made via ConfigureCTest()

Copy link
Member Author

Choose a reason for hiding this comment

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

@robertmaynard, unless I'm mistaken, I think I've already covered those targets here. I just rebased on the latest changes and pushed a commit to update the DESTINATION and RPATH path for each target.

This PR adds a CMake `install` rule for test targets. This step is a prerequisite to being able to package tests in their own `conda` package, which will enable us to deprecate _Project Flash_.
@ajschmidt8
Copy link
Member Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 1e99895 into rapidsai:branch-22.04 Feb 7, 2022
@ajschmidt8 ajschmidt8 deleted the add-install-rules branch February 7, 2022 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants