Skip to content
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 with rapids cmake new features #1790

Merged
Prev Previous commit
Next Next commit
Merge branch 'branch-21.10' into fea/update_with_rapids_cmake_new_fea…
…tures
robertmaynard committed Aug 26, 2021

Verified

This commit was signed with the committer’s verified signature.
Eliulm Elias Wahl
commit 1f688e43a24ed70261bd2168d2fe4f03f4d128bb
21 changes: 3 additions & 18 deletions cpp/cmake/thirdparty/get_rmm.cmake
Original file line number Diff line number Diff line change
@@ -16,27 +16,12 @@

function(find_and_configure_rmm VERSION)

# No way to override the version rapids-cmake pulls
# so we need to manually checkout when needing a diverged
# version
# include(${rapids-cmake-dir}/cpm/rmm.cmake)
# rapids_cpm_rmm()
rapids_cpm_find(rmm ${VERSION}
GLOBAL_TARGETS rmm::rmm
include(${rapids-cmake-dir}/cpm/rmm.cmake)
rapids_cpm_rmm(
BUILD_EXPORT_SET cugraph-exports
INSTALL_EXPORT_SET cugraph-exports
CPM_ARGS
GIT_REPOSITORY https://github.com/rapidsai/rmm.git
GIT_TAG branch-${MAJOR_AND_MINOR}
GIT_SHALLOW TRUE
OPTIONS "BUILD_TESTS OFF"
"BUILD_BENCHMARKS OFF"
"CUDA_STATIC_RUNTIME ${CUDA_STATIC_RUNTIME}"
"DISABLE_DEPRECATION_WARNING ${DISABLE_DEPRECATION_WARNING}"
)

endfunction()

set(CUGRAPH_MIN_VERSION_rmm "${CUGRAPH_VERSION_MAJOR}.${CUGRAPH_VERSION_MINOR}.00")

find_and_configure_rmm(${CUGRAPH_MIN_VERSION_rmm})
find_and_configure_rmm()
You are viewing a condensed version of this merge commit. You can view the full changes here.