Skip to content

Commit

Permalink
Custom cuco version
Browse files Browse the repository at this point in the history
  • Loading branch information
PointKernel committed Jan 29, 2024
1 parent 7fe9bc8 commit ba2a6c8
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions cpp/cmake/thirdparty/get_cucollections.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# =============================================================================
# Copyright (c) 2021-2022, NVIDIA CORPORATION.
# Copyright (c) 2021-2024, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
Expand All @@ -14,12 +14,14 @@

# This function finds cuCollections and performs any additional configuration.
function(find_and_configure_cucollections)
include(${rapids-cmake-dir}/cpm/cuco.cmake)
if(BUILD_SHARED_LIBS)
rapids_cpm_cuco(BUILD_EXPORT_SET cudf-exports)
else()
rapids_cpm_cuco(BUILD_EXPORT_SET cudf-exports INSTALL_EXPORT_SET cudf-exports)
endif()
rapids_cpm_find(
cuco 0.0.1
GLOBAL_TARGETS cuco::cuco
CPM_ARGS
GIT_REPOSITORY https://github.com/NVIDIA/cuCollections.git
GIT_TAG fabd885327dc1662e1a63d9b8870ebf888893c09
OPTIONS "BUILD_TESTS OFF" "BUILD_BENCHMARKS OFF" "BUILD_EXAMPLES OFF"
)
endfunction()

find_and_configure_cucollections()

0 comments on commit ba2a6c8

Please sign in to comment.