diff --git a/.spdx-ignore b/.spdx-ignore index 7263b5414f..8c1d155c47 100644 --- a/.spdx-ignore +++ b/.spdx-ignore @@ -8,6 +8,9 @@ LICENSE requirements*.txt cuda_bindings/examples/* +# Will be moved in (see https://github.com/NVIDIA/cuda-python/pull/1913#issuecomment-4252968149) +cuda_bindings/benchmarks/* + # Vendored cuda_core/cuda/core/_include/dlpack.h diff --git a/cuda_bindings/pixi.toml b/cuda_bindings/pixi.toml index e328ed89d1..2c301378f0 100644 --- a/cuda_bindings/pixi.toml +++ b/cuda_bindings/pixi.toml @@ -1,6 +1,6 @@ # SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # -# SPDX-License-Identifier: Apache-2.0 +# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE [workspace] channels = ["conda-forge"] diff --git a/toolshed/check_spdx.py b/toolshed/check_spdx.py index 292637817e..6be42282bf 100644 --- a/toolshed/check_spdx.py +++ b/toolshed/check_spdx.py @@ -17,7 +17,12 @@ LICENSE_IDENTIFIER_REGEX = re.compile(re.escape(SPDX_LICENSE_IDENTIFIER_PREFIX) + rb"(?P[^\r\n]+)") -EXPECTED_LICENSE_IDENTIFIERS = (("cuda_core/", "Apache-2.0"),) +EXPECTED_LICENSE_IDENTIFIERS = ( + ("cuda_bindings/", "LicenseRef-NVIDIA-SOFTWARE-LICENSE"), + ("cuda_core/", "Apache-2.0"), + ("cuda_pathfinder/", "Apache-2.0"), + ("cuda_python/", "LicenseRef-NVIDIA-SOFTWARE-LICENSE"), +) SPDX_IGNORE_FILENAME = ".spdx-ignore"