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
Scrambling to get cuda11 working in 0.15 resulted in adding FetchContent to get CUB and THRUST from git instead of using the version in the cuda library.
FetchContent is an alternative to ExternalProject with the advantage that the content is downloaded at configuration time instead of at build time. The FetchContent approach was borrowed from cudf.
Several internet articles suggest NOT mixing FetchContent with ExternalProject. It would be helpful to evaluate the best approach and either migrate everything to FetchContent or migrate everything to ExternalProject.
As an alternative, cuCollections suggests in their README using https://github.com/TheLartians/CPM.cmake, which is a wrapper around FetchContent that might make things easier.
The text was updated successfully, but these errors were encountered:
…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
Scrambling to get cuda11 working in 0.15 resulted in adding FetchContent to get CUB and THRUST from git instead of using the version in the cuda library.
FetchContent is an alternative to ExternalProject with the advantage that the content is downloaded at configuration time instead of at build time. The FetchContent approach was borrowed from cudf.
Several internet articles suggest NOT mixing FetchContent with ExternalProject. It would be helpful to evaluate the best approach and either migrate everything to FetchContent or migrate everything to ExternalProject.
As an alternative, cuCollections suggests in their README using https://github.com/TheLartians/CPM.cmake, which is a wrapper around FetchContent that might make things easier.
The text was updated successfully, but these errors were encountered: