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

Install only the same Thrust files that Thrust itself installs #8420

Conversation

robertmaynard
Copy link
Contributor

Fixes #8397

Recreate thrust's install rules so we don't install extra directories such as .git. We can't leverage thrust's install rules as that would break our layout as the cmake files would need to go into something like lib/cmake/cudf/thirdparty?/lib/cmake/thrust. This weird path is required as cudf packages a modified version of Thrust and we don't want that to be installed into a default system path.

@robertmaynard robertmaynard requested a review from a team as a code owner June 1, 2021 18:58
@github-actions github-actions bot added CMake CMake build issue libcudf Affects libcudf (C++/CUDA) code. labels Jun 1, 2021
Fixes rapidsai#8397

Recreate thrust's install rules so we don't install extra directories
such as `.git`. We can't leverage thrust's install rules as that would
break our layout as the cmake files would need to go into something
like `lib/cmake/cudf/thirdparty?/lib/cmake/thrust`. This weird path
is required as cudf packages a modified version of Thrust and
we don't want that to be installed into a default system path.
@robertmaynard robertmaynard force-pushed the bug/make_sure_to_only_install_the_good_thrust_bits branch from bffafd0 to 837d8ad Compare June 1, 2021 20:08
@robertmaynard robertmaynard added bug Something isn't working non-breaking Non-breaking change labels Jun 1, 2021
@harrism harrism added the 3 - Ready for Review Ready for review by team label Jun 2, 2021
@robertmaynard
Copy link
Contributor Author

rerun tests

@galipremsagar
Copy link
Contributor

rerun tests

@codecov
Copy link

codecov bot commented Jun 4, 2021

Codecov Report

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

Impacted file tree graph

@@               Coverage Diff               @@
##             branch-21.08    #8420   +/-   ##
===============================================
  Coverage                ?   82.83%           
===============================================
  Files                   ?      109           
  Lines                   ?    17901           
  Branches                ?        0           
===============================================
  Hits                    ?    14828           
  Misses                  ?     3073           
  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 f24c6b4...64e9223. Read the comment docs.

@robertmaynard
Copy link
Contributor Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit a9f15b8 into rapidsai:branch-21.08 Jun 9, 2021
@robertmaynard robertmaynard deleted the bug/make_sure_to_only_install_the_good_thrust_bits branch June 9, 2021 12:39
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 CMake CMake build issue libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Thrust .git directory and other unnecessary files installed by ./build.sh libcudf
3 participants