Skip to content

Commit

Permalink
Add SPDX copyright statement to get rid of reuse errors
Browse files Browse the repository at this point in the history
  • Loading branch information
BenBrock committed Sep 26, 2024
1 parent ba3cd4a commit 3f9f61b
Show file tree
Hide file tree
Showing 67 changed files with 134 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2024 Binsparse Developers
#
# SPDX-License-Identifier: BSD-3-Clause

---
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2024 Binsparse Developers
#
# SPDX-License-Identifier: BSD-3-Clause

name: "CI"
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2024 Binsparse Developers
#
# SPDX-License-Identifier: BSD-3-Clause

scripts
Expand Down
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2024 Binsparse Developers
#
# SPDX-License-Identifier: BSD-3-Clause

repos:
Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2024 Binsparse Developers
#
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required(VERSION 3.5)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<!--
SPDX-FileCopyrightText: 2024 Binsparse Developers
SPDX-License-Identifier: BSD-3-Clause
-->

Expand Down
2 changes: 2 additions & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2024 Binsparse Developers
#
# SPDX-License-Identifier: BSD-3-Clause

function(add_example example_name)
Expand Down
2 changes: 2 additions & 0 deletions examples/benchmark_read.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions examples/benchmark_read_parallel.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions examples/benchmark_write.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions examples/bsp-ls.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions examples/bsp2mtx.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions examples/check_equivalence.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions examples/check_equivalence_parallel.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions examples/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2024 Binsparse Developers
#
# SPDX-License-Identifier: BSD-3-Clause

function(add_example example_name)
Expand Down
2 changes: 2 additions & 0 deletions examples/cpp/benchmark_read.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-FileCopyrightText: 2024 Binsparse Developers
//
// SPDX-License-Identifier: BSD-3-Clause

#include <binsparse/binsparse.h>
Expand Down
2 changes: 2 additions & 0 deletions examples/cpp/benchmark_write.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-FileCopyrightText: 2024 Binsparse Developers
//
// SPDX-License-Identifier: BSD-3-Clause

#include <binsparse/binsparse.h>
Expand Down
2 changes: 2 additions & 0 deletions examples/cpp/bsp-ls.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-FileCopyrightText: 2024 Binsparse Developers
//
// SPDX-License-Identifier: BSD-3-Clause

#include <binsparse/binsparse.h>
Expand Down
2 changes: 2 additions & 0 deletions examples/cpp/bsp2mtx.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-FileCopyrightText: 2024 Binsparse Developers
//
// SPDX-License-Identifier: BSD-3-Clause

#include <binsparse/binsparse.h>
Expand Down
2 changes: 2 additions & 0 deletions examples/cpp/check_equivalence.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-FileCopyrightText: 2024 Binsparse Developers
//
// SPDX-License-Identifier: BSD-3-Clause

#include <binsparse/binsparse.h>
Expand Down
2 changes: 2 additions & 0 deletions examples/cpp/mtx2bsp.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-FileCopyrightText: 2024 Binsparse Developers
//
// SPDX-License-Identifier: BSD-3-Clause

#include <binsparse/binsparse.h>
Expand Down
2 changes: 2 additions & 0 deletions examples/cpp/simple_matrix_read.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-FileCopyrightText: 2024 Binsparse Developers
//
// SPDX-License-Identifier: BSD-3-Clause

#include <binsparse/binsparse.h>
Expand Down
2 changes: 2 additions & 0 deletions examples/cpp/simple_matrix_write.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-FileCopyrightText: 2024 Binsparse Developers
//
// SPDX-License-Identifier: BSD-3-Clause

#include <binsparse/binsparse.h>
Expand Down
2 changes: 2 additions & 0 deletions examples/cpp/simple_read.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-FileCopyrightText: 2024 Binsparse Developers
//
// SPDX-License-Identifier: BSD-3-Clause

#include <binsparse/binsparse.h>
Expand Down
2 changes: 2 additions & 0 deletions examples/cpp/simple_write.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-FileCopyrightText: 2024 Binsparse Developers
//
// SPDX-License-Identifier: BSD-3-Clause

#include <binsparse/binsparse.h>
Expand Down
2 changes: 2 additions & 0 deletions examples/mtx2bsp.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions examples/simple_matrix_read.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions examples/simple_matrix_write.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions examples/simple_read.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions examples/simple_write.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2024 Binsparse Developers
#
# SPDX-License-Identifier: BSD-3-Clause

add_library(binsparse-rc INTERFACE)
Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/array.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/binsparse.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/convert_matrix.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/detail/cpp/array.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-FileCopyrightText: 2024 Binsparse Developers
//
// SPDX-License-Identifier: BSD-3-Clause

#pragma once
Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/detail/declamp_values.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/detail/detail.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/detail/parse_dataset.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/detail/shm_tools.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/generate.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/hdf5_wrapper.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/matrix.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/matrix_formats.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/matrix_market/coo_sort_tools.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/matrix_market/matrix_market_inspector.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/matrix_market/matrix_market_read.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/matrix_market/matrix_market_type_t.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/matrix_market/matrix_market_write.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/minimize_values.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/read_matrix.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/structure.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/types.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions include/binsparse/write_matrix.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/*
* SPDX-FileCopyrightText: 2024 Binsparse Developers
*
* SPDX-License-Identifier: BSD-3-Clause
*/

Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2024 Binsparse Developers
#
# SPDX-License-Identifier: BSD-3-Clause

pre-commit
2 changes: 2 additions & 0 deletions scripts/read_cold_benchmarks.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2024 Binsparse Developers
#
# SPDX-License-Identifier: BSD-3-Clause

# COO No Compression
Expand Down
2 changes: 2 additions & 0 deletions scripts/read_warm_benchmarks.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2024 Binsparse Developers
#
# SPDX-License-Identifier: BSD-3-Clause

# COO No Compression
Expand Down
2 changes: 2 additions & 0 deletions scripts/test.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2024 Binsparse Developers
#
# SPDX-License-Identifier: BSD-3-Clause

# Usage: ./test.sh [/path/to/benchmark_read,/path/to/benchmark_write/] [/path/to/binsparse/matrices/] [optional: /path/to/filesystem/for/experiments]
Expand Down
2 changes: 2 additions & 0 deletions scripts/test_fastmm.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2024 Binsparse Developers
#
# SPDX-License-Identifier: BSD-3-Clause

# Usage: ./test_fastmm.sh [/path/to/benchmark_read,/path/to/benchmark_write/] [/path/to/matrix_market/matrices/] [/path/to/binsparse/matrices] [optional: /path/to/filesystem/for/experiments]
Expand Down
2 changes: 2 additions & 0 deletions scripts/test_fastmm_warm.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2024 Binsparse Developers
#
# SPDX-License-Identifier: BSD-3-Clause

# Usage: ./test_fastmm.sh [/path/to/benchmark_read,/path/to/benchmark_write/] [/path/to/matrix_market/matrices/] [/path/to/binsparse/matrices] [optional: /path/to/filesystem/for/experiments]
Expand Down
2 changes: 2 additions & 0 deletions scripts/test_warm.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2024 Binsparse Developers
#
# SPDX-License-Identifier: BSD-3-Clause

# Usage: ./test.sh [/path/to/benchmark_read,/path/to/benchmark_write/] [/path/to/binsparse/matrices/] [optional: /path/to/filesystem/for/experiments]
Expand Down
2 changes: 2 additions & 0 deletions scripts/test_write.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-FileCopyrightText: 2024 Binsparse Developers
#
# SPDX-License-Identifier: BSD-3-Clause

# Usage: ./test.sh [/path/to/benchmark_read,/path/to/benchmark_write/] [/path/to/binsparse/matrices/] [/path/to/filesystem/for/experiments] [compression level: [0-9] ...]
Expand Down
Loading

0 comments on commit 3f9f61b

Please sign in to comment.