You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…t cugraph as an external project and other tech debt removal (#1367)
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 using `CMAKE_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#541closes#1137closes#1266
Authors:
- Rick Ratzel (@rlratzel)
Approvers:
- Chuck Hastings (@ChuckHastings)
- AJ Schmidt (@ajschmidt8)
- Brad Rees (@BradReesWork)
URL: #1367
Apparently cudf and cuml have shifted to installing the test conda package rather than bringing gtest in as a cmake dependency.
Adding gtest as a conda package to the cugraph_dev environment would make it easier to test raft code and cugraph code concurrently.
The text was updated successfully, but these errors were encountered: