-
Notifications
You must be signed in to change notification settings - Fork 197
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
Replace raft_export with rapids_export #1079
Conversation
Currently libraft builds with this change aren't 100% compatible with the old This change causes problems because |
In general we can't switch to We could improve
I don't understand the problem you are running into. We can't construct targets without ensuring the required dependencies they have are fullfilled. So either we have The initial implementation of If we want to fail to compile against a header only COMPONENT version of raft we can do so at compile time by requiring the |
Somehow I had thought we already merged rapidsai/rapids-cmake#154. OK I'm going close this PR for now, can reopen if and when that feature is merged and sufficient for raft's needs here. Regarding the compiled libs, yes, I realize that the behavior of the Python lib is not really what the C++ CMake was designed for. Perhaps we don't really need to make it that strict and it would be fine to allow the headers, but just ensure that the libraries are built in practice. I can consider removing that check (regardless of what we do with the other changes proposed in this PR). |
The primary use of raft_export was to support COMPONENTS, which has now been added to rapids_export.