-
Notifications
You must be signed in to change notification settings - Fork 310
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
Update CMakeLists.txt files for consistency with RAPIDS and to support cugraph as an external project and other tech debt removal #1367
Update CMakeLists.txt files for consistency with RAPIDS and to support cugraph as an external project and other tech debt removal #1367
Conversation
…, replaced usage of CMAKE_SOURCE_DIR with CMAKE_CURRENT_SOURCE_DIR and added project() lines to thirdparty packages to better support users including cugraph as a 3rd party project in their applications (and for consistency with RAPIDS).
…e requirement back to thirdparty modules to remove warning.
Codecov Report
@@ Coverage Diff @@
## branch-0.18 #1367 +/- ##
===============================================
- Coverage 60.38% 59.92% -0.47%
===============================================
Files 67 68 +1
Lines 3029 3084 +55
===============================================
+ Hits 1829 1848 +19
- Misses 1200 1236 +36
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One little thing would be nice.
…env file (rapids docs meta pacakge is now recommended)
…ated the conda dev env files accordingly.
…es with gunrock cmake files), updated python setup utils to understand new FetchContent dirs and syntax when reading from CMakeLists.txt
…-source as part of the libcugraph build.
…t of libcugraph conda build.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@gpucibot merge |
This PR makes cuGraph's cmake files more consistent with other RAPIDS libs by matching the minimum required cmake version, adding
project()
statements to cugraph's thirdparty modules, and usingCMAKE_CURRENT_SOURCE_DIR
appropriately so paths are relative to the CMakeLists.txt file rather than the top-level cmake dir of the project (since that may not be the cugraph cpp dir in the case of cugraph being used as an external project by another application).This also adds a
CUDA_ARCHITECTURES=OFF
setting to suppress the warning printed for each test target. This setting may be replaced/changed once the findcudatoolkit feature is used in a future cmake version.This also removes the Arrow and GTest cmake files since Arrow is not a direct dependency and those files were not being used, and GTest is now a build requirement in the conda dev environment and does not need to be built from source (the conda dev env files have been updated accordingly).
This PR also addresses much of #1075 , but not completely since gunrock is still using
ExternalProject
due to (I think) updates that need to be made to their cmake files to support this.This was tested by observing a successful clean build, however it was not tested by creating a separate cmake application to simulate cugraph being used as a 3rd party package.
Note: the changes in this PR were modeled after rapidsai/rmm#541
closes #1137
closes #1266