-
Notifications
You must be signed in to change notification settings - Fork 304
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
[FIX] Use rapids_find_package
to get cugraph-ops
#2148
[FIX] Use rapids_find_package
to get cugraph-ops
#2148
Conversation
Since cugraph-ops is closed-source, can the community member somehow get messaging to direct them to install cugraph-ops prior to building cugraph? I think this will result in a failed github login message which could be confusing. |
Following up on Rick's comment above, we certainly want to make the default behavior that an external community member can checkout If someone wants to also build from It's not clear to me how this PR would change the build experience for a person that doesn't have access to the |
If a user already has cugraph-ops installed (i.e. via conda), CPM will find and use it. If they don't, we're in the same boat as today (CMake fails to configure for some reason). We could change the URL to a github SSH URL so it'll download for users with SSH credentials and in the RAPIDS org, and fail for users without access.
Partially answered this just now, but I should also mention AJ and I are working on publishing CPack'd |
I think the developer experience, especially for the community member, is slightly worse with this change vs. what's in place IMO, since the github auth error is much less precise in describing the actual problem (ie. for community members, providing credentials won't fix the problem). @robertmaynard 's suggestion above is what I was thinking of. One way to address this (as I think Robert is also describing) could be to make the default behavior that of the current implementation (fail with a message that cugraph-ops couldn't be found), but then make the auto-download from the closed source repo an option. This would make the developers intent obvious and a github auth error would be better understood. |
@rlratzel I updated the logic to use Not using I'm still partial to using We could try to search for it first via The state of cugraph to me seems to be this:
If neither of the above conditions are met, an external contributor building from source will fail to configure. If they cannot install |
CPMFindPackage
to get cugraph-ops
rapids_find_package
to get cugraph-ops
rerun tests |
1 similar comment
rerun tests |
Just wanted to chime in to add a voice of support for a non-conda option here. We can't use conda in our computing environment, so we manually download and unpack libcugraphops (and libcumlprims) from anaconda.org. |
@gpucibot merge |
Depends on rapidsai/raft#583 and https://github.com/rapidsai/cugraph-ops/pull/70
This PR uses
CPMFindPackage
to find (or build)cugraph-ops
.This enables building from source against a local
cugraph-ops
build via-D cugraph-ops_ROOT=/cugraph-ops/build
.