Skip to content

Commit 1d4400e

Browse files
committed
Add missing SPDX-License-Identifier headers
The Beman Standard's [file.license_id] check requires an SPDX header in the first 25 lines of every commentable file. Add the project's Apache-2.0 WITH LLVM-exception identifier to the CMake toolchain files, GitHub workflow/dependabot configs, and the remaining example/paper source files that were missing it.
1 parent 1a55f75 commit 1d4400e

26 files changed

Lines changed: 65 additions & 0 deletions

.github/dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
12
# To get started with Dependabot version updates, you'll need to specify which
23
# package ecosystems to update and where the package manifests are located.
34
# Please see the documentation for all configuration options:

.github/workflows/codeql.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
12
---
23
# For most projects, this workflow file will not need changing; you simply need
34
# to commit it to your repository.

.github/workflows/doxygen-gh-pages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
12
name: Doxygen GitHub Pages Deploy Action
23

34
on:

.github/workflows/ossf-scorecard-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
12
name: Scorecard analysis workflow
23
on:
34
push:

cmake/ci-clang-toolchain.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# cmake/ci-clang-toolchain.cmake -*-cmake-*-
2+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3+
14
include_guard(GLOBAL)
25

36
set(CMAKE_C_COMPILER clang)

cmake/clang-16-toolchain.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# cmake/clang-16-toolchain.cmake -*-cmake-*-
2+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3+
14
include_guard(GLOBAL)
25

36
set(CMAKE_C_COMPILER clang-16)

cmake/clang-17-toolchain.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# cmake/clang-17-toolchain.cmake -*-cmake-*-
2+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3+
14
include_guard(GLOBAL)
25

36
set(CMAKE_C_COMPILER clang-17)

cmake/clang-18-toolchain.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# cmake/clang-18-toolchain.cmake -*-cmake-*-
2+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3+
14
include_guard(GLOBAL)
25

36
set(CMAKE_C_COMPILER clang-18)

cmake/clang-19-toolchain.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# cmake/clang-19-toolchain.cmake -*-cmake-*-
2+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3+
14
include_guard(GLOBAL)
25

36
set(CMAKE_C_COMPILER clang-19)

cmake/clang-flags.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# cmake/clang-flags.cmake -*-cmake-*-
2+
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3+
14
include_guard(GLOBAL)
25

36
set(CMAKE_CXX_STANDARD 20)

0 commit comments

Comments
 (0)