From 84231744d7298523f89df32fd0ca8c1aeffe3f27 Mon Sep 17 00:00:00 2001 From: Peter Andreas Entschev Date: Tue, 7 Nov 2023 10:22:23 -0800 Subject: [PATCH] Remove CMake dependencies to UCP --- cpp/CMakeLists.txt | 1 - cpp/cmake/thirdparty/get_ucp.cmake | 35 ------------------------------ 2 files changed, 36 deletions(-) delete mode 100644 cpp/cmake/thirdparty/get_ucp.cmake diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 41870cbc92b..bbe37528d0d 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -166,7 +166,6 @@ endif() include(cmake/thirdparty/get_nccl.cmake) include(cmake/thirdparty/get_cuhornet.cmake) -include(cmake/thirdparty/get_ucp.cmake) if(BUILD_TESTS) include(cmake/thirdparty/get_gtest.cmake) diff --git a/cpp/cmake/thirdparty/get_ucp.cmake b/cpp/cmake/thirdparty/get_ucp.cmake deleted file mode 100644 index dcc4956a34e..00000000000 --- a/cpp/cmake/thirdparty/get_ucp.cmake +++ /dev/null @@ -1,35 +0,0 @@ -#============================================================================= -# Copyright (c) 2023, 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 -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -#============================================================================= - -function(find_and_configure_ucp) - - if(TARGET UCP::UCP) - return() - endif() - - rapids_find_generate_module(UCP - HEADER_NAMES ucp.h - LIBRARY_NAMES ucp - INCLUDE_SUFFIXES ucp/api - ) - - # Currently UCP has no CMake build-system so we require - # it built and installed on the machine already - rapids_find_package(UCP REQUIRED) - -endfunction() - -find_and_configure_ucp()