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

GTest will always be PIC enabled when built #477

Conversation

robertmaynard
Copy link
Contributor

Description

When BUILD_SHARED_LIBS is OFF and gtest is built from source we would get a version without -fPIC. So always enable PIC so we can embed gtest into shared libs.

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.

@robertmaynard robertmaynard added non-breaking Introduces a non-breaking change 3 - Ready for Review Ready for review by team labels Oct 19, 2023
@robertmaynard robertmaynard requested a review from a team as a code owner October 19, 2023 14:49
@robertmaynard robertmaynard added the feature request New feature or request label Oct 19, 2023
@robertmaynard
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 7d73e68 into rapidsai:branch-23.12 Oct 20, 2023
@robertmaynard robertmaynard deleted the fea/always_built_gtest_with_fpic branch October 20, 2023 13:00
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 feature request New feature or request non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants