diff --git a/cmake/NVBenchRapidsCMake.cmake b/cmake/NVBenchRapidsCMake.cmake index 4f33a2b8..b6f6d7a5 100644 --- a/cmake/NVBenchRapidsCMake.cmake +++ b/cmake/NVBenchRapidsCMake.cmake @@ -2,7 +2,7 @@ macro(nvbench_load_rapids_cmake version) # - Including directly, see https://github.com/rapidsai/rmm/pull/1886 # - Versioned download URL: - # https://raw.githubusercontent.com/rapidsai/rapids-cmake/branch-XX.YY/RAPIDS.cmake + # https://raw.githubusercontent.com/rapidsai/rapids-cmake/release/XX.YY/RAPIDS.cmake # - This macro is always called before project() in the root CMakeLists.txt, so: # - we can't just use NVBench_SOURCE_DIR, it's not defined yet. # - We can't rely on CMAKE_CURRENT_LIST_DIR because of macro expansion. diff --git a/cmake/RAPIDS.cmake b/cmake/RAPIDS.cmake index 73585d8e..b2823563 100644 --- a/cmake/RAPIDS.cmake +++ b/cmake/RAPIDS.cmake @@ -1,18 +1,9 @@ -#============================================================================= -# Copyright (c) 2021-2025, 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. -#============================================================================= +# ============================================================================= +# cmake-format: off +# SPDX-FileCopyrightText: Copyright (c) 2021-2025, NVIDIA CORPORATION. +# SPDX-License-Identifier: Apache-2.0 +# cmake-format: on +# ============================================================================= # # This is the preferred entry point for projects using rapids-cmake # @@ -34,7 +25,7 @@ endif() # Allow users to control which branch is fetched if(NOT rapids-cmake-branch) # Define a default branch if the user doesn't set one - set(rapids-cmake-branch "branch-${rapids-cmake-version}") + set(rapids-cmake-branch "release/${rapids-cmake-version}") endif() # Allow users to control the exact URL passed to FetchContent