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

[FEA] Enable building static libs #602

Merged
merged 8 commits into from
Mar 31, 2022

Conversation

trxcllnt
Copy link
Collaborator

@trxcllnt trxcllnt commented Mar 30, 2022

This PR allows building libcugraphops static libs via CMake option -DBUILD_SHARED_LIBS=ON|OFF.

I was seeing a linker error due to not having -fPIC enabled, but I wouldn't have expected this to affect static libs. I'll investigate some more and turn it off if possible, but for now -fPIC is enabled.

@trxcllnt trxcllnt requested a review from a team as a code owner March 30, 2022 20:24
@trxcllnt trxcllnt requested a review from robertmaynard March 30, 2022 20:24
@trxcllnt trxcllnt added 3 - Ready for Review improvement Improvement / enhancement to an existing function non-breaking Non-breaking change and removed cpp CMake labels Mar 30, 2022
Copy link
Contributor

@robertmaynard robertmaynard left a comment

Choose a reason for hiding this comment

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

LGTM to me

@trxcllnt
Copy link
Collaborator Author

rerun tests

Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

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

LGTM

@trxcllnt
Copy link
Collaborator Author

rerun tests

@cjnolet
Copy link
Member

cjnolet commented Mar 31, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 4a3dfb9 into rapidsai:branch-22.06 Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review 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.

3 participants