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

Hide all gtest symbols in cudftestutil #16546

Conversation

robertmaynard
Copy link
Contributor

Description

By hiding the gtest symbols in cudftestutil it allows consumers of the library to build with a differing version of gtest without issue.

Checklist

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

By hiding the gtest symbols in cudftestutil it allows consumers
of the library to build with a differing version of gtest
without issue.
@robertmaynard robertmaynard requested a review from a team as a code owner August 13, 2024 16:29
@robertmaynard robertmaynard added bug Something isn't working 3 - Ready for Review Ready for review by team non-breaking Non-breaking change labels Aug 13, 2024
@github-actions github-actions bot added libcudf Affects libcudf (C++/CUDA) code. CMake CMake build issue labels Aug 13, 2024
Copy link
Contributor

@cryos cryos left a comment

Choose a reason for hiding this comment

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

This works great in my testing - thanks @robertmaynard!

cpp/cmake/thirdparty/get_gtest.cmake Outdated Show resolved Hide resolved
cpp/cmake/thirdparty/get_gtest.cmake Outdated Show resolved Hide resolved
@robertmaynard
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit ac42bc8 into rapidsai:branch-24.10 Aug 15, 2024
71 checks passed
@robertmaynard robertmaynard deleted the bug/dont_expose_gtest_symbols_in_cudftestutil_ branch August 15, 2024 13:37
robertmaynard added a commit to robertmaynard/cudf that referenced this pull request Aug 22, 2024
rapids-bot bot pushed a commit that referenced this pull request Aug 22, 2024
This reverts commit ac42bc8.

We need to revert #16546 as it broke the gtest builds for cudf. Therefore gtests that actually fail wouldn't properly report an error but silently continue and report as passed.

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

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - Vyas Ramasubramani (https://github.com/vyasr)

URL: #16644
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
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants