Skip to content

Commit 01a9305

Browse files
Use SPDX for all copyright headers
Issue: rapidsai/build-infra#297
1 parent 4623e57 commit 01a9305

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+153
-704
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
14
## https://pre-commit.com/
25
#
36
# Before first use: `pre-commit install`
@@ -21,11 +24,14 @@ repos:
2124
- id: rapids-dependency-file-generator
2225
args: ["--clean", "--warn-all", "--strict"]
2326
- repo: https://github.com/rapidsai/pre-commit-hooks
24-
rev: v0.7.0
27+
rev: v1.2.0
2528
hooks:
2629
- id: verify-copyright
2730
files: |
2831
(?x)
29-
[.](cmake|cpp|cu|cuh|h|hpp|sh|pxd|py|pyx)$|
30-
CMakeLists[.]txt$|
31-
meta[.]yaml$
32+
[.](cmake|cpp|cu|cuh|h|hpp|sh|pxd|py|pyx)$|
33+
CMakeLists[.]txt$|
34+
meta[.]yaml$|
35+
dependencies[.]yaml$|
36+
^[.]pre-commit-config[.]yaml$|
37+
recipe[.]yaml$

build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22

3-
# Copyright (c) 2019-2023, NVIDIA CORPORATION.
3+
# SPDX-FileCopyrightText: Copyright (c) 2019-2023, NVIDIA CORPORATION.
4+
# SPDX-License-Identifier: Apache-2.0
45

56
# cuml build script
67

ci/build_cpp.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
# Copyright (c) 2022-2025, NVIDIA CORPORATION.
2+
# SPDX-FileCopyrightText: Copyright (c) 2022-2025, NVIDIA CORPORATION.
3+
# SPDX-License-Identifier: Apache-2.0
34

45
set -euo pipefail
56

ci/check_style.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
# Copyright (c) 2020-2024, NVIDIA CORPORATION.
2+
# SPDX-FileCopyrightText: Copyright (c) 2020-2024, NVIDIA CORPORATION.
3+
# SPDX-License-Identifier: Apache-2.0
34

45
set -euo pipefail
56

ci/checks/black_lists.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
# Copyright (c) 2019, NVIDIA CORPORATION.
2+
# SPDX-FileCopyrightText: Copyright (c) 2019, NVIDIA CORPORATION.
3+
# SPDX-License-Identifier: Apache-2.0
34
##########################################
45
# cuML black listed function call Tester #
56
##########################################

ci/release/update-version.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
2-
# Copyright (c) 2019-2025, NVIDIA CORPORATION.
2+
# SPDX-FileCopyrightText: Copyright (c) 2019-2025, NVIDIA CORPORATION.
3+
# SPDX-License-Identifier: Apache-2.0
34
########################
45
# cuML Version Updater #
56
########################

cmake/RAPIDS.cmake

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
# =============================================================================
2-
# Copyright (c) 2021-2025, NVIDIA CORPORATION.
3-
#
4-
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5-
# in compliance with the License. You may obtain a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software distributed under the License
10-
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11-
# or implied. See the License for the specific language governing permissions and limitations under
12-
# the License.
2+
# cmake-format: off
3+
# SPDX-FileCopyrightText: Copyright (c) 2021-2025, NVIDIA CORPORATION.
4+
# SPDX-License-Identifier: Apache-2.0
5+
# cmake-format: on
136
# =============================================================================
147
#
158
# This is the preferred entry point for projects using rapids-cmake

cmake/rapids_config.cmake

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,8 @@
11
# =============================================================================
2-
# Copyright (c) 2018-2025, NVIDIA CORPORATION.
3-
#
4-
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5-
# in compliance with the License. You may obtain a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software distributed under the License
10-
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11-
# or implied. See the License for the specific language governing permissions and limitations under
12-
# the License.
2+
# cmake-format: off
3+
# SPDX-FileCopyrightText: Copyright (c) 2018-2025, NVIDIA CORPORATION.
4+
# SPDX-License-Identifier: Apache-2.0
5+
# cmake-format: on
136
# =============================================================================
147
file(READ "${CMAKE_CURRENT_LIST_DIR}/../VERSION" _rapids_version)
158
if(_rapids_version MATCHES [[^([0-9][0-9])\.([0-9][0-9])\.([0-9][0-9])]])

conda/recipes/libcumlprims/recipe.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Copyright (c) 2025, NVIDIA CORPORATION.
1+
# SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION.
2+
# SPDX-License-Identifier: Apache-2.0
23
schema_version: 1
34

45
context:

cpp/CMakeLists.txt

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
11
#=============================================================================
2-
# Copyright (c) 2018-2025, NVIDIA CORPORATION.
3-
#
4-
# Licensed under the Apache License, Version 2.0 (the "License");
5-
# you may not use this file except in compliance with the License.
6-
# You may obtain a copy of the License at
7-
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
9-
#
10-
# Unless required by applicable law or agreed to in writing, software
11-
# distributed under the License is distributed on an "AS IS" BASIS,
12-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
# See the License for the specific language governing permissions and
14-
# limitations under the License.
2+
# cmake-format: off
3+
# SPDX-FileCopyrightText: Copyright (c) 2018-2025, NVIDIA CORPORATION.
4+
# SPDX-License-Identifier: Apache-2.0
5+
# cmake-format: on
156
#=============================================================================
167

178
cmake_minimum_required(VERSION 3.30.4 FATAL_ERROR)

0 commit comments

Comments
 (0)