From 77efd9b2f76b71bb946af0fdf2004c40274c0710 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Fri, 24 Jan 2025 12:44:31 -0800 Subject: [PATCH] Remove incorrect calls to set architectures (#17813) init_architectures sets this for us and invoking set_architectures before the project call produces the wrong result. Authors: - Vyas Ramasubramani (https://github.com/vyasr) Approvers: - Bradley Dice (https://github.com/bdice) - Robert Maynard (https://github.com/robertmaynard) URL: https://github.com/rapidsai/cudf/pull/17813 --- cpp/examples/basic/CMakeLists.txt | 3 +-- cpp/examples/billion_rows/CMakeLists.txt | 3 +-- cpp/examples/interop/CMakeLists.txt | 3 +-- cpp/examples/nested_types/CMakeLists.txt | 3 +-- cpp/examples/parquet_io/CMakeLists.txt | 3 +-- cpp/examples/strings/CMakeLists.txt | 3 +-- 6 files changed, 6 insertions(+), 12 deletions(-) diff --git a/cpp/examples/basic/CMakeLists.txt b/cpp/examples/basic/CMakeLists.txt index 7516d4e8d5d..8e89b461e30 100644 --- a/cpp/examples/basic/CMakeLists.txt +++ b/cpp/examples/basic/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2020-2024, NVIDIA CORPORATION. +# Copyright (c) 2020-2025, NVIDIA CORPORATION. cmake_minimum_required(VERSION 3.26.4) @@ -6,7 +6,6 @@ include(../set_cuda_architecture.cmake) # initialize cuda architecture rapids_cuda_init_architectures(basic_example) -rapids_cuda_set_architectures(RAPIDS) project( basic_example diff --git a/cpp/examples/billion_rows/CMakeLists.txt b/cpp/examples/billion_rows/CMakeLists.txt index 87149ac821c..603c8d0b457 100644 --- a/cpp/examples/billion_rows/CMakeLists.txt +++ b/cpp/examples/billion_rows/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2024, NVIDIA CORPORATION. +# Copyright (c) 2024-2025, NVIDIA CORPORATION. cmake_minimum_required(VERSION 3.26.4) @@ -6,7 +6,6 @@ include(../set_cuda_architecture.cmake) # initialize cuda architecture rapids_cuda_init_architectures(billion_rows) -rapids_cuda_set_architectures(RAPIDS) project( billion_rows diff --git a/cpp/examples/interop/CMakeLists.txt b/cpp/examples/interop/CMakeLists.txt index 6fbc1b50212..6f1249beaaa 100644 --- a/cpp/examples/interop/CMakeLists.txt +++ b/cpp/examples/interop/CMakeLists.txt @@ -1,11 +1,10 @@ -# Copyright (c) 2024, NVIDIA CORPORATION. +# Copyright (c) 2024-2025, NVIDIA CORPORATION. cmake_minimum_required(VERSION 3.26.4) include(../set_cuda_architecture.cmake) rapids_cuda_init_architectures(interop_example) -rapids_cuda_set_architectures(RAPIDS) project( interop_example diff --git a/cpp/examples/nested_types/CMakeLists.txt b/cpp/examples/nested_types/CMakeLists.txt index 88e891f892a..e7972d1531b 100644 --- a/cpp/examples/nested_types/CMakeLists.txt +++ b/cpp/examples/nested_types/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2023-2024, NVIDIA CORPORATION. +# Copyright (c) 2023-2025, NVIDIA CORPORATION. cmake_minimum_required(VERSION 3.26.4) @@ -6,7 +6,6 @@ include(../set_cuda_architecture.cmake) # initialize cuda architecture rapids_cuda_init_architectures(nested_types) -rapids_cuda_set_architectures(RAPIDS) project( nested_types diff --git a/cpp/examples/parquet_io/CMakeLists.txt b/cpp/examples/parquet_io/CMakeLists.txt index b7d8fc14b6c..17f86fdf5e0 100644 --- a/cpp/examples/parquet_io/CMakeLists.txt +++ b/cpp/examples/parquet_io/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2024, NVIDIA CORPORATION. +# Copyright (c) 2024-2025, NVIDIA CORPORATION. cmake_minimum_required(VERSION 3.26.4) @@ -6,7 +6,6 @@ include(../set_cuda_architecture.cmake) # initialize cuda architecture rapids_cuda_init_architectures(parquet_io) -rapids_cuda_set_architectures(RAPIDS) project( parquet_io diff --git a/cpp/examples/strings/CMakeLists.txt b/cpp/examples/strings/CMakeLists.txt index 47e63f319ad..9010d495715 100644 --- a/cpp/examples/strings/CMakeLists.txt +++ b/cpp/examples/strings/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (c) 2022-2024, NVIDIA CORPORATION. +# Copyright (c) 2022-2025, NVIDIA CORPORATION. cmake_minimum_required(VERSION 3.26.4) @@ -6,7 +6,6 @@ include(../set_cuda_architecture.cmake) # initialize cuda architecture rapids_cuda_init_architectures(strings_examples) -rapids_cuda_set_architectures(RAPIDS) project( strings_examples