Skip to content

Commit

Permalink
Added spdx license identifiers to files missing them.
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Swartz <[email protected]>
  • Loading branch information
swahtz committed Dec 17, 2024
1 parent 930c3ac commit caa3969
Show file tree
Hide file tree
Showing 60 changed files with 121 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ci/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
# Copyright Contributors to the OpenVDB Project
# SPDX-License-Identifier: Apache-2.0

set -e

Expand Down
2 changes: 2 additions & 0 deletions ci/build_sonar.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
# Copyright Contributors to the OpenVDB Project
# SPDX-License-Identifier: Apache-2.0

set -ex

Expand Down
2 changes: 2 additions & 0 deletions ci/download_houdini.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
# Copyright Contributors to the OpenVDB Project
# SPDX-License-Identifier: Apache-2.0

set -ex

Expand Down
2 changes: 2 additions & 0 deletions ci/download_vdb_caches.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
# Copyright Contributors to the OpenVDB Project
# SPDX-License-Identifier: Apache-2.0

import os
import sys
Expand Down
2 changes: 2 additions & 0 deletions ci/extract_test_examples.sh
Original file line number Diff line number Diff line change
@@ -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 #
Expand Down
2 changes: 2 additions & 0 deletions ci/install_blosc.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
# Copyright Contributors to the OpenVDB Project
# SPDX-License-Identifier: Apache-2.0

set -ex

Expand Down
2 changes: 2 additions & 0 deletions ci/install_cppunit.sh
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 2 additions & 0 deletions ci/install_doxygen.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
# Copyright Contributors to the OpenVDB Project
# SPDX-License-Identifier: Apache-2.0

set -ex

Expand Down
2 changes: 2 additions & 0 deletions ci/install_glfw.sh
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 2 additions & 0 deletions ci/install_gtest.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
# Copyright Contributors to the OpenVDB Project
# SPDX-License-Identifier: Apache-2.0

set -ex

Expand Down
2 changes: 2 additions & 0 deletions ci/install_llvm_windows.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
# Copyright Contributors to the OpenVDB Project
# SPDX-License-Identifier: Apache-2.0

set -ex

Expand Down
2 changes: 2 additions & 0 deletions ci/install_macos.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
# Copyright Contributors to the OpenVDB Project
# SPDX-License-Identifier: Apache-2.0

set -x

Expand Down
2 changes: 2 additions & 0 deletions ci/install_nanobind.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
# Copyright Contributors to the OpenVDB Project
# SPDX-License-Identifier: Apache-2.0

set -ex

Expand Down
2 changes: 2 additions & 0 deletions ci/install_tbb_macos.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
# Copyright Contributors to the OpenVDB Project
# SPDX-License-Identifier: Apache-2.0

set -x

Expand Down
2 changes: 2 additions & 0 deletions ci/test_install.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions ci/test_sonar.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
# Copyright Contributors to the OpenVDB Project
# SPDX-License-Identifier: Apache-2.0

set -ex

Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/cmd/updateFiles.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Contributors to the OpenVDB Project
# SPDX-License-Identifier: Apache-2.0
import argparse
import os
from pathlib import Path
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/cmd/updateFiles.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/docs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#include <nanovdb/io/IO.h> // 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.
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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})
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/NanoVDBModule.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#include <nanobind/nanobind.h>
#include <nanobind/operators.h>
#include <nanobind/stl/string.h>
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyCreateNanoGrid.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#include "PyCreateNanoGrid.h"

#include <nanobind/stl/string.h>
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyCreateNanoGrid.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyGridChecksum.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#include "PyGridChecksum.h"

#include <nanovdb/tools/GridChecksum.h>
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyGridChecksum.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyGridHandle.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#include "PyGridHandle.h"
#include <nanobind/ndarray.h>

Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyGridHandle.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyGridStats.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#include "PyGridStats.h"

#include <nanovdb/tools/GridStats.h>
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyGridStats.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyGridValidator.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#include "PyGridValidator.h"

#include <nanovdb/GridHandle.h>
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyGridValidator.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyHostBuffer.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#include "PyHostBuffer.h"

#include <nanovdb/HostBuffer.h>
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyHostBuffer.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyIO.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#include "PyIO.h"

#include <nanovdb/io/IO.h>
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyIO.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyMath.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#include "PyMath.h"

#include <sstream>
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyMath.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyNanoToOpenVDB.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#include "PyNanoToOpenVDB.h"

#include <nanovdb/HostBuffer.h>
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyNanoToOpenVDB.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyPrimitives.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#include "PyPrimitives.h"

#include <nanobind/stl/string.h>
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyPrimitives.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PySampleFromVoxels.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#include "PySampleFromVoxels.h"

#include <nanovdb/NanoVDB.h>
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PySampleFromVoxels.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyTools.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#include "PyTools.h"

#include <nanovdb/NanoVDB.h>
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/PyTools.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright Contributors to the OpenVDB Project
# SPDX-License-Identifier: Apache-2.0
import sys
if sys.platform == "win32":
import os
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/cuda/PyDeviceBuffer.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#ifdef NANOVDB_USE_CUDA

#include "PyDeviceBuffer.h"
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/cuda/PyDeviceBuffer.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/cuda/PyDeviceGridHandle.cu
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#ifdef NANOVDB_USE_CUDA

#include "../PyGridHandle.h"
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/cuda/PyPointsToGrid.cu
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#include "PyPointsToGrid.h"

#include <nanobind/ndarray.h>
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/cuda/PyPointsToGrid.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/cuda/PySampleFromVoxels.cu
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#include "PySampleFromVoxels.h"

#include <nanobind/ndarray.h>
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/cuda/PySampleFromVoxels.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/cuda/PySignedFloodFill.cu
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright Contributors to the OpenVDB Project
// SPDX-License-Identifier: Apache-2.0
#include "PySignedFloodFill.h"

#include <nanovdb/tools/cuda/SignedFloodFill.cuh>
Expand Down
2 changes: 2 additions & 0 deletions nanovdb/nanovdb/python/cuda/PySignedFloodFill.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 3 additions & 1 deletion nanovdb/nanovdb/python/test/TestNanoVDB.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions openvdb/openvdb/python/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# Copyright Contributors to the OpenVDB Project
# SPDX-License-Identifier: Apache-2.0
from .lib.openvdb import *
2 changes: 2 additions & 0 deletions openvdb/openvdb/python/pyTypeCasters.h
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 2 additions & 0 deletions openvdb_cmd/vdb_tool/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit caa3969

Please sign in to comment.