From caa3969681d019f782916ce2a7c8d8ccf8509974 Mon Sep 17 00:00:00 2001 From: Jonathan Swartz Date: Tue, 17 Dec 2024 15:21:47 +1300 Subject: [PATCH] Added spdx license identifiers to files missing them. Signed-off-by: Jonathan Swartz --- ci/build.sh | 2 ++ ci/build_sonar.sh | 2 ++ ci/download_houdini.sh | 2 ++ ci/download_vdb_caches.py | 2 ++ ci/extract_test_examples.sh | 2 ++ ci/install_blosc.sh | 2 ++ ci/install_cppunit.sh | 2 ++ ci/install_doxygen.sh | 2 ++ ci/install_glfw.sh | 2 ++ ci/install_gtest.sh | 2 ++ ci/install_llvm_windows.sh | 2 ++ ci/install_macos.sh | 2 ++ ci/install_nanobind.sh | 2 ++ ci/install_tbb_macos.sh | 2 ++ ci/test_install.sh | 2 ++ ci/test_sonar.sh | 2 ++ nanovdb/nanovdb/cmd/updateFiles.py | 2 ++ nanovdb/nanovdb/cmd/updateFiles.sh | 2 ++ nanovdb/nanovdb/docs/CMakeLists.txt | 2 ++ .../read_nanovdb_sphere_accessor.cc | 2 ++ nanovdb/nanovdb/python/CMakeLists.txt | 2 ++ nanovdb/nanovdb/python/NanoVDBModule.cc | 2 ++ nanovdb/nanovdb/python/PyCreateNanoGrid.cc | 2 ++ nanovdb/nanovdb/python/PyCreateNanoGrid.h | 2 ++ nanovdb/nanovdb/python/PyGridChecksum.cc | 2 ++ nanovdb/nanovdb/python/PyGridChecksum.h | 2 ++ nanovdb/nanovdb/python/PyGridHandle.cc | 2 ++ nanovdb/nanovdb/python/PyGridHandle.h | 2 ++ nanovdb/nanovdb/python/PyGridStats.cc | 2 ++ nanovdb/nanovdb/python/PyGridStats.h | 2 ++ nanovdb/nanovdb/python/PyGridValidator.cc | 2 ++ nanovdb/nanovdb/python/PyGridValidator.h | 2 ++ nanovdb/nanovdb/python/PyHostBuffer.cc | 2 ++ nanovdb/nanovdb/python/PyHostBuffer.h | 2 ++ nanovdb/nanovdb/python/PyIO.cc | 2 ++ nanovdb/nanovdb/python/PyIO.h | 2 ++ nanovdb/nanovdb/python/PyMath.cc | 2 ++ nanovdb/nanovdb/python/PyMath.h | 2 ++ nanovdb/nanovdb/python/PyNanoToOpenVDB.cc | 2 ++ nanovdb/nanovdb/python/PyNanoToOpenVDB.h | 2 ++ nanovdb/nanovdb/python/PyPrimitives.cc | 2 ++ nanovdb/nanovdb/python/PyPrimitives.h | 2 ++ nanovdb/nanovdb/python/PySampleFromVoxels.cc | 2 ++ nanovdb/nanovdb/python/PySampleFromVoxels.h | 2 ++ nanovdb/nanovdb/python/PyTools.cc | 2 ++ nanovdb/nanovdb/python/PyTools.h | 2 ++ nanovdb/nanovdb/python/__init__.py | 2 ++ nanovdb/nanovdb/python/cuda/PyDeviceBuffer.cc | 2 ++ nanovdb/nanovdb/python/cuda/PyDeviceBuffer.h | 2 ++ nanovdb/nanovdb/python/cuda/PyDeviceGridHandle.cu | 2 ++ nanovdb/nanovdb/python/cuda/PyPointsToGrid.cu | 2 ++ nanovdb/nanovdb/python/cuda/PyPointsToGrid.h | 2 ++ nanovdb/nanovdb/python/cuda/PySampleFromVoxels.cu | 2 ++ nanovdb/nanovdb/python/cuda/PySampleFromVoxels.h | 2 ++ nanovdb/nanovdb/python/cuda/PySignedFloodFill.cu | 2 ++ nanovdb/nanovdb/python/cuda/PySignedFloodFill.h | 2 ++ nanovdb/nanovdb/python/test/TestNanoVDB.py | 4 +++- openvdb/openvdb/python/__init__.py | 2 ++ openvdb/openvdb/python/pyTypeCasters.h | 2 ++ openvdb_cmd/vdb_tool/CMakeLists.txt | 2 ++ 60 files changed, 121 insertions(+), 1 deletion(-) diff --git a/ci/build.sh b/ci/build.sh index 110455c881..b0b3c8dfb1 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 set -e diff --git a/ci/build_sonar.sh b/ci/build_sonar.sh index 10012a5c43..1e720bc626 100755 --- a/ci/build_sonar.sh +++ b/ci/build_sonar.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 set -ex diff --git a/ci/download_houdini.sh b/ci/download_houdini.sh index 77aa8e3bd9..0f63a4eceb 100755 --- a/ci/download_houdini.sh +++ b/ci/download_houdini.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 set -ex diff --git a/ci/download_vdb_caches.py b/ci/download_vdb_caches.py index 8fa6dadb74..55edaaca74 100755 --- a/ci/download_vdb_caches.py +++ b/ci/download_vdb_caches.py @@ -1,4 +1,6 @@ #!/usr/bin/env python3 +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 import os import sys diff --git a/ci/extract_test_examples.sh b/ci/extract_test_examples.sh index cc892c12b7..5cdf559863 100755 --- a/ci/extract_test_examples.sh +++ b/ci/extract_test_examples.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 ################################################################################# # This script extracts all code blocks from AX documentation which are NOT # # marked as cpp/sh/unparsed and attempts to parse or compile them through the # diff --git a/ci/install_blosc.sh b/ci/install_blosc.sh index 0436fa875e..e40d233f5b 100755 --- a/ci/install_blosc.sh +++ b/ci/install_blosc.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 set -ex diff --git a/ci/install_cppunit.sh b/ci/install_cppunit.sh index 7f64238e8a..da7cc300b3 100755 --- a/ci/install_cppunit.sh +++ b/ci/install_cppunit.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 set -ex CURL_VERSION="$1" diff --git a/ci/install_doxygen.sh b/ci/install_doxygen.sh index 5c3ab3136d..d89ac38510 100755 --- a/ci/install_doxygen.sh +++ b/ci/install_doxygen.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 set -ex diff --git a/ci/install_glfw.sh b/ci/install_glfw.sh index 33108657f4..faeb243ae7 100755 --- a/ci/install_glfw.sh +++ b/ci/install_glfw.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 set -ex GLFW_VERSION="$1" diff --git a/ci/install_gtest.sh b/ci/install_gtest.sh index 71d7fbd7bb..9084b31cf4 100755 --- a/ci/install_gtest.sh +++ b/ci/install_gtest.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 set -ex diff --git a/ci/install_llvm_windows.sh b/ci/install_llvm_windows.sh index c174c50296..d8866520f0 100644 --- a/ci/install_llvm_windows.sh +++ b/ci/install_llvm_windows.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 set -ex diff --git a/ci/install_macos.sh b/ci/install_macos.sh index 80b71d4864..a581229035 100755 --- a/ci/install_macos.sh +++ b/ci/install_macos.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 set -x diff --git a/ci/install_nanobind.sh b/ci/install_nanobind.sh index 50b6766b81..8a885a6b4a 100755 --- a/ci/install_nanobind.sh +++ b/ci/install_nanobind.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 set -ex diff --git a/ci/install_tbb_macos.sh b/ci/install_tbb_macos.sh index 4b71fe9e93..cb8d8d9595 100755 --- a/ci/install_tbb_macos.sh +++ b/ci/install_tbb_macos.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 set -x diff --git a/ci/test_install.sh b/ci/test_install.sh index da4bc0f004..5ff44aecd4 100755 --- a/ci/test_install.sh +++ b/ci/test_install.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 set -e # Various tests to test the FindOpenVDB CMake modules and diff --git a/ci/test_sonar.sh b/ci/test_sonar.sh index 15cc571d23..c8f72a0c86 100755 --- a/ci/test_sonar.sh +++ b/ci/test_sonar.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 set -ex diff --git a/nanovdb/nanovdb/cmd/updateFiles.py b/nanovdb/nanovdb/cmd/updateFiles.py index e4041c91f6..16fe6b8806 100644 --- a/nanovdb/nanovdb/cmd/updateFiles.py +++ b/nanovdb/nanovdb/cmd/updateFiles.py @@ -1,3 +1,5 @@ +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 import argparse import os from pathlib import Path diff --git a/nanovdb/nanovdb/cmd/updateFiles.sh b/nanovdb/nanovdb/cmd/updateFiles.sh index 87613c3a44..b75a65656f 100755 --- a/nanovdb/nanovdb/cmd/updateFiles.sh +++ b/nanovdb/nanovdb/cmd/updateFiles.sh @@ -1,4 +1,6 @@ #!/bin/bash +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 #Usage process all files in this directory or optionally specify a target directory # Define directory in which to find files diff --git a/nanovdb/nanovdb/docs/CMakeLists.txt b/nanovdb/nanovdb/docs/CMakeLists.txt index 6a131e68e7..81910cbe3b 100644 --- a/nanovdb/nanovdb/docs/CMakeLists.txt +++ b/nanovdb/nanovdb/docs/CMakeLists.txt @@ -1,3 +1,5 @@ +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 # find_package(doxygen REQUIRED dot ) if(WIN32) set(DOXYGEN_EXECUTABLE "C:/Program Files/doxygen/bin/doxygen.exe") diff --git a/nanovdb/nanovdb/examples/ex_read_nanovdb_sphere_accessor/read_nanovdb_sphere_accessor.cc b/nanovdb/nanovdb/examples/ex_read_nanovdb_sphere_accessor/read_nanovdb_sphere_accessor.cc index 91010b6cf7..dc763ddc8a 100644 --- a/nanovdb/nanovdb/examples/ex_read_nanovdb_sphere_accessor/read_nanovdb_sphere_accessor.cc +++ b/nanovdb/nanovdb/examples/ex_read_nanovdb_sphere_accessor/read_nanovdb_sphere_accessor.cc @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #include // this is required to read (and write) NanoVDB files on the host /// @brief Read a NanoVDB grid from a file and print out multiple values. diff --git a/nanovdb/nanovdb/python/CMakeLists.txt b/nanovdb/nanovdb/python/CMakeLists.txt index d5c50792ee..f13cf10116 100644 --- a/nanovdb/nanovdb/python/CMakeLists.txt +++ b/nanovdb/nanovdb/python/CMakeLists.txt @@ -1,3 +1,5 @@ +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 option(NANOVDB_BUILD_PYTHON_UNITTESTS [=[ "Include the NanoVDB Python unit test. Requires a python interpreter]=] ${NANOVDB_BUILD_UNITTESTS}) diff --git a/nanovdb/nanovdb/python/NanoVDBModule.cc b/nanovdb/nanovdb/python/NanoVDBModule.cc index 583b5464f9..89af0ec095 100644 --- a/nanovdb/nanovdb/python/NanoVDBModule.cc +++ b/nanovdb/nanovdb/python/NanoVDBModule.cc @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #include #include #include diff --git a/nanovdb/nanovdb/python/PyCreateNanoGrid.cc b/nanovdb/nanovdb/python/PyCreateNanoGrid.cc index c776865306..eed931766c 100644 --- a/nanovdb/nanovdb/python/PyCreateNanoGrid.cc +++ b/nanovdb/nanovdb/python/PyCreateNanoGrid.cc @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #include "PyCreateNanoGrid.h" #include diff --git a/nanovdb/nanovdb/python/PyCreateNanoGrid.h b/nanovdb/nanovdb/python/PyCreateNanoGrid.h index 863ca1b396..3402ca67b8 100644 --- a/nanovdb/nanovdb/python/PyCreateNanoGrid.h +++ b/nanovdb/nanovdb/python/PyCreateNanoGrid.h @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifndef NANOVDB_PYCREATENANOGRID_HAS_BEEN_INCLUDED #define NANOVDB_PYCREATENANOGRID_HAS_BEEN_INCLUDED diff --git a/nanovdb/nanovdb/python/PyGridChecksum.cc b/nanovdb/nanovdb/python/PyGridChecksum.cc index ba6e709b10..281fd05c0b 100644 --- a/nanovdb/nanovdb/python/PyGridChecksum.cc +++ b/nanovdb/nanovdb/python/PyGridChecksum.cc @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #include "PyGridChecksum.h" #include diff --git a/nanovdb/nanovdb/python/PyGridChecksum.h b/nanovdb/nanovdb/python/PyGridChecksum.h index f8c2048b83..dd988f871c 100644 --- a/nanovdb/nanovdb/python/PyGridChecksum.h +++ b/nanovdb/nanovdb/python/PyGridChecksum.h @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifndef NANOVDB_PYGRIDCHECKSUM_HAS_BEEN_INCLUDED #define NANOVDB_PYGRIDCHECKSUM_HAS_BEEN_INCLUDED diff --git a/nanovdb/nanovdb/python/PyGridHandle.cc b/nanovdb/nanovdb/python/PyGridHandle.cc index 4f4e8ff72d..efd4253337 100644 --- a/nanovdb/nanovdb/python/PyGridHandle.cc +++ b/nanovdb/nanovdb/python/PyGridHandle.cc @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #include "PyGridHandle.h" #include diff --git a/nanovdb/nanovdb/python/PyGridHandle.h b/nanovdb/nanovdb/python/PyGridHandle.h index a15c588c83..190c6ab15f 100644 --- a/nanovdb/nanovdb/python/PyGridHandle.h +++ b/nanovdb/nanovdb/python/PyGridHandle.h @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifndef NANOVDB_PYGRIDHANDLE_HAS_BEEN_INCLUDED #define NANOVDB_PYGRIDHANDLE_HAS_BEEN_INCLUDED diff --git a/nanovdb/nanovdb/python/PyGridStats.cc b/nanovdb/nanovdb/python/PyGridStats.cc index 7f8598a7ac..fbd8caec15 100644 --- a/nanovdb/nanovdb/python/PyGridStats.cc +++ b/nanovdb/nanovdb/python/PyGridStats.cc @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #include "PyGridStats.h" #include diff --git a/nanovdb/nanovdb/python/PyGridStats.h b/nanovdb/nanovdb/python/PyGridStats.h index c53af4567d..90254bc23b 100644 --- a/nanovdb/nanovdb/python/PyGridStats.h +++ b/nanovdb/nanovdb/python/PyGridStats.h @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifndef NANOVDB_PYGRIDSTATS_HAS_BEEN_INCLUDED #define NANOVDB_PYGRIDSTATS_HAS_BEEN_INCLUDED diff --git a/nanovdb/nanovdb/python/PyGridValidator.cc b/nanovdb/nanovdb/python/PyGridValidator.cc index 278588b466..8e4f20df64 100644 --- a/nanovdb/nanovdb/python/PyGridValidator.cc +++ b/nanovdb/nanovdb/python/PyGridValidator.cc @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #include "PyGridValidator.h" #include diff --git a/nanovdb/nanovdb/python/PyGridValidator.h b/nanovdb/nanovdb/python/PyGridValidator.h index 6725f88b4d..659dede241 100644 --- a/nanovdb/nanovdb/python/PyGridValidator.h +++ b/nanovdb/nanovdb/python/PyGridValidator.h @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifndef NANOVDB_PYGRIDVALIDATOR_HAS_BEEN_INCLUDED #define NANOVDB_PYGRIDVALIDATOR_HAS_BEEN_INCLUDED diff --git a/nanovdb/nanovdb/python/PyHostBuffer.cc b/nanovdb/nanovdb/python/PyHostBuffer.cc index 4af48c2040..e8fdfb3946 100644 --- a/nanovdb/nanovdb/python/PyHostBuffer.cc +++ b/nanovdb/nanovdb/python/PyHostBuffer.cc @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #include "PyHostBuffer.h" #include diff --git a/nanovdb/nanovdb/python/PyHostBuffer.h b/nanovdb/nanovdb/python/PyHostBuffer.h index f1bf704edc..29b5a917ce 100644 --- a/nanovdb/nanovdb/python/PyHostBuffer.h +++ b/nanovdb/nanovdb/python/PyHostBuffer.h @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifndef NANOVDB_PYHOSTBUFFER_HAS_BEEN_INCLUDED #define NANOVDB_PYHOSTBUFFER_HAS_BEEN_INCLUDED diff --git a/nanovdb/nanovdb/python/PyIO.cc b/nanovdb/nanovdb/python/PyIO.cc index d77cb40f86..b46a52ba74 100644 --- a/nanovdb/nanovdb/python/PyIO.cc +++ b/nanovdb/nanovdb/python/PyIO.cc @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #include "PyIO.h" #include diff --git a/nanovdb/nanovdb/python/PyIO.h b/nanovdb/nanovdb/python/PyIO.h index 907ef0f7f9..de857a5148 100644 --- a/nanovdb/nanovdb/python/PyIO.h +++ b/nanovdb/nanovdb/python/PyIO.h @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifndef NANOVDB_PYIO_HAS_BEEN_INCLUDED #define NANOVDB_PYIO_HAS_BEEN_INCLUDED diff --git a/nanovdb/nanovdb/python/PyMath.cc b/nanovdb/nanovdb/python/PyMath.cc index 06a4ad5606..337865ed8c 100644 --- a/nanovdb/nanovdb/python/PyMath.cc +++ b/nanovdb/nanovdb/python/PyMath.cc @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #include "PyMath.h" #include diff --git a/nanovdb/nanovdb/python/PyMath.h b/nanovdb/nanovdb/python/PyMath.h index e9a2cde791..13c288e110 100644 --- a/nanovdb/nanovdb/python/PyMath.h +++ b/nanovdb/nanovdb/python/PyMath.h @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifndef NANOVDB_PYMATH_HAS_BEEN_INCLUDED #define NANOVDB_PYMATH_HAS_BEEN_INCLUDED diff --git a/nanovdb/nanovdb/python/PyNanoToOpenVDB.cc b/nanovdb/nanovdb/python/PyNanoToOpenVDB.cc index 8225cd78ca..49dc464a05 100644 --- a/nanovdb/nanovdb/python/PyNanoToOpenVDB.cc +++ b/nanovdb/nanovdb/python/PyNanoToOpenVDB.cc @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #include "PyNanoToOpenVDB.h" #include diff --git a/nanovdb/nanovdb/python/PyNanoToOpenVDB.h b/nanovdb/nanovdb/python/PyNanoToOpenVDB.h index ac60fdbf96..54c38501e5 100644 --- a/nanovdb/nanovdb/python/PyNanoToOpenVDB.h +++ b/nanovdb/nanovdb/python/PyNanoToOpenVDB.h @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifndef NANOVDB_PYNANOTOOPENVDB_HAS_BEEN_INCLUDED #define NANOVDB_PYNANOTOOPENVDB_HAS_BEEN_INCLUDED diff --git a/nanovdb/nanovdb/python/PyPrimitives.cc b/nanovdb/nanovdb/python/PyPrimitives.cc index 3b7f11c0d9..29053d4e68 100644 --- a/nanovdb/nanovdb/python/PyPrimitives.cc +++ b/nanovdb/nanovdb/python/PyPrimitives.cc @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #include "PyPrimitives.h" #include diff --git a/nanovdb/nanovdb/python/PyPrimitives.h b/nanovdb/nanovdb/python/PyPrimitives.h index 8be1e0208c..a930ee5d8d 100644 --- a/nanovdb/nanovdb/python/PyPrimitives.h +++ b/nanovdb/nanovdb/python/PyPrimitives.h @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifndef NANOVDB_PYPRIMITIVES_HAS_BEEN_INCLUDED #define NANOVDB_PYPRIMITIVES_HAS_BEEN_INCLUDED diff --git a/nanovdb/nanovdb/python/PySampleFromVoxels.cc b/nanovdb/nanovdb/python/PySampleFromVoxels.cc index 2a3b7e5b6e..82dc9a26d1 100644 --- a/nanovdb/nanovdb/python/PySampleFromVoxels.cc +++ b/nanovdb/nanovdb/python/PySampleFromVoxels.cc @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #include "PySampleFromVoxels.h" #include diff --git a/nanovdb/nanovdb/python/PySampleFromVoxels.h b/nanovdb/nanovdb/python/PySampleFromVoxels.h index 140db2f3be..6c5733f714 100644 --- a/nanovdb/nanovdb/python/PySampleFromVoxels.h +++ b/nanovdb/nanovdb/python/PySampleFromVoxels.h @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifndef NANOVDB_PYSAMPLEFROMVOXELS_HAS_BEEN_INCLUDED #define NANOVDB_PYSAMPLEFROMVOXELS_HAS_BEEN_INCLUDED diff --git a/nanovdb/nanovdb/python/PyTools.cc b/nanovdb/nanovdb/python/PyTools.cc index de74380987..4df996d557 100644 --- a/nanovdb/nanovdb/python/PyTools.cc +++ b/nanovdb/nanovdb/python/PyTools.cc @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #include "PyTools.h" #include diff --git a/nanovdb/nanovdb/python/PyTools.h b/nanovdb/nanovdb/python/PyTools.h index be6e49ff53..bfb9d42ef8 100644 --- a/nanovdb/nanovdb/python/PyTools.h +++ b/nanovdb/nanovdb/python/PyTools.h @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifndef NANOVDB_PYTOOLS_HAS_BEEN_INCLUDED #define NANOVDB_PYTOOLS_HAS_BEEN_INCLUDED diff --git a/nanovdb/nanovdb/python/__init__.py b/nanovdb/nanovdb/python/__init__.py index 7bce6a9559..4f955e4a02 100644 --- a/nanovdb/nanovdb/python/__init__.py +++ b/nanovdb/nanovdb/python/__init__.py @@ -1,3 +1,5 @@ +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 import sys if sys.platform == "win32": import os diff --git a/nanovdb/nanovdb/python/cuda/PyDeviceBuffer.cc b/nanovdb/nanovdb/python/cuda/PyDeviceBuffer.cc index 58a6d984f3..523e4b5834 100644 --- a/nanovdb/nanovdb/python/cuda/PyDeviceBuffer.cc +++ b/nanovdb/nanovdb/python/cuda/PyDeviceBuffer.cc @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifdef NANOVDB_USE_CUDA #include "PyDeviceBuffer.h" diff --git a/nanovdb/nanovdb/python/cuda/PyDeviceBuffer.h b/nanovdb/nanovdb/python/cuda/PyDeviceBuffer.h index c65239cb69..87a081f638 100644 --- a/nanovdb/nanovdb/python/cuda/PyDeviceBuffer.h +++ b/nanovdb/nanovdb/python/cuda/PyDeviceBuffer.h @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifndef NANOVDB_CUDA_PYDEVICEBUFFER_HAS_BEEN_INCLUDED #define NANOVDB_CUDA_PYDEVICEBUFFER_HAS_BEEN_INCLUDED diff --git a/nanovdb/nanovdb/python/cuda/PyDeviceGridHandle.cu b/nanovdb/nanovdb/python/cuda/PyDeviceGridHandle.cu index a8dc924d7f..983caebd05 100644 --- a/nanovdb/nanovdb/python/cuda/PyDeviceGridHandle.cu +++ b/nanovdb/nanovdb/python/cuda/PyDeviceGridHandle.cu @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifdef NANOVDB_USE_CUDA #include "../PyGridHandle.h" diff --git a/nanovdb/nanovdb/python/cuda/PyPointsToGrid.cu b/nanovdb/nanovdb/python/cuda/PyPointsToGrid.cu index 82a5826fc4..933f5570b6 100644 --- a/nanovdb/nanovdb/python/cuda/PyPointsToGrid.cu +++ b/nanovdb/nanovdb/python/cuda/PyPointsToGrid.cu @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #include "PyPointsToGrid.h" #include diff --git a/nanovdb/nanovdb/python/cuda/PyPointsToGrid.h b/nanovdb/nanovdb/python/cuda/PyPointsToGrid.h index 4bb530ac22..4af07f5657 100644 --- a/nanovdb/nanovdb/python/cuda/PyPointsToGrid.h +++ b/nanovdb/nanovdb/python/cuda/PyPointsToGrid.h @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifndef NANOVDB_CUDA_PYPOINTSTOGRID_HAS_BEEN_INCLUDED #define NANOVDB_CUDA_PYPOINTSTOGRID_HAS_BEEN_INCLUDED diff --git a/nanovdb/nanovdb/python/cuda/PySampleFromVoxels.cu b/nanovdb/nanovdb/python/cuda/PySampleFromVoxels.cu index 8bab06e51e..aaebf66772 100644 --- a/nanovdb/nanovdb/python/cuda/PySampleFromVoxels.cu +++ b/nanovdb/nanovdb/python/cuda/PySampleFromVoxels.cu @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #include "PySampleFromVoxels.h" #include diff --git a/nanovdb/nanovdb/python/cuda/PySampleFromVoxels.h b/nanovdb/nanovdb/python/cuda/PySampleFromVoxels.h index c23a97e849..22cc4aec4d 100644 --- a/nanovdb/nanovdb/python/cuda/PySampleFromVoxels.h +++ b/nanovdb/nanovdb/python/cuda/PySampleFromVoxels.h @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifndef NANOVDB_CUDA_PYSAMPLEFROMVOXELS_HAS_BEEN_INCLUDED #define NANOVDB_CUDA_PYSAMPLEFROMVOXELS_HAS_BEEN_INCLUDED diff --git a/nanovdb/nanovdb/python/cuda/PySignedFloodFill.cu b/nanovdb/nanovdb/python/cuda/PySignedFloodFill.cu index 2b68ca38df..ddbd5c67cb 100644 --- a/nanovdb/nanovdb/python/cuda/PySignedFloodFill.cu +++ b/nanovdb/nanovdb/python/cuda/PySignedFloodFill.cu @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #include "PySignedFloodFill.h" #include diff --git a/nanovdb/nanovdb/python/cuda/PySignedFloodFill.h b/nanovdb/nanovdb/python/cuda/PySignedFloodFill.h index 7ae16defe7..d5f19bcbe2 100644 --- a/nanovdb/nanovdb/python/cuda/PySignedFloodFill.h +++ b/nanovdb/nanovdb/python/cuda/PySignedFloodFill.h @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifndef NANOVDB_CUDA_PYSIGNEDFLOODFILL_HAS_BEEN_INCLUDED #define NANOVDB_CUDA_PYSIGNEDFLOODFILL_HAS_BEEN_INCLUDED diff --git a/nanovdb/nanovdb/python/test/TestNanoVDB.py b/nanovdb/nanovdb/python/test/TestNanoVDB.py index fca793295e..03660c6342 100644 --- a/nanovdb/nanovdb/python/test/TestNanoVDB.py +++ b/nanovdb/nanovdb/python/test/TestNanoVDB.py @@ -1,4 +1,6 @@ -# /usr/bin/env python +#!/usr/bin/env python +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 import nanovdb import unittest diff --git a/openvdb/openvdb/python/__init__.py b/openvdb/openvdb/python/__init__.py index 1b25ddfcc5..39242a9737 100644 --- a/openvdb/openvdb/python/__init__.py +++ b/openvdb/openvdb/python/__init__.py @@ -1 +1,3 @@ +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 from .lib.openvdb import * diff --git a/openvdb/openvdb/python/pyTypeCasters.h b/openvdb/openvdb/python/pyTypeCasters.h index c9faf3f0bd..56159666bd 100644 --- a/openvdb/openvdb/python/pyTypeCasters.h +++ b/openvdb/openvdb/python/pyTypeCasters.h @@ -1,3 +1,5 @@ +// Copyright Contributors to the OpenVDB Project +// SPDX-License-Identifier: Apache-2.0 #ifndef OPENVDB_PYTYPECASTERS_HAS_BEEN_INCLUDED #define OPENVDB_PYTYPECASTERS_HAS_BEEN_INCLUDED diff --git a/openvdb_cmd/vdb_tool/CMakeLists.txt b/openvdb_cmd/vdb_tool/CMakeLists.txt index c0a2d64277..8101a78816 100644 --- a/openvdb_cmd/vdb_tool/CMakeLists.txt +++ b/openvdb_cmd/vdb_tool/CMakeLists.txt @@ -1,3 +1,5 @@ +# Copyright Contributors to the OpenVDB Project +# SPDX-License-Identifier: Apache-2.0 cmake_minimum_required(VERSION 3.20) # CMP0091 allows for MSVC ABI targetting via CMAKE_MSVC_RUNTIME_LIBRARY