Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Describe the intent of your PR here.

## Added
-
-

## Changed
-
-

## Fixed
-
-

## PR Merge Checklist

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_runner-chimera.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_runner-cortexm.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_runner-generic.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_runner-mempool.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_runner-siracusa-neureka-tiled.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_runner-siracusa-tiled-sequential.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_runner-siracusa-tiled.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_runner-siracusa.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_runner-snitch-tiled-sequential.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_runner-snitch.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_runner-softhier.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_select-env.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-deeploy-testing.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-deeploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
47 changes: 3 additions & 44 deletions .github/workflows/ci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down Expand Up @@ -61,48 +61,7 @@ jobs:
shell: bash
run: |
yamllint .
- name: Check Python Licenses
- name: Check Licenses
shell: bash
run: |
missing_py=$(grep -Lr "SPDX-License-Identifier: Apache-2.0" --include="*.py" \
--exclude-dir="toolchain" --exclude-dir="install" --exclude-dir=".git" \
--exclude-dir="third_party" --exclude-dir="TEST_*" --exclude-dir="TestFiles" \
--exclude "run_clang_format.py" . || true)
if [[ -n "$missing_py" ]]; then
echo "Missing SPDX in Python files:"; echo "$missing_py"; exit 1; fi
- name: Check C Licenses
shell: bash
run: |
missing_c=$(grep -Lr "SPDX-License-Identifier: Apache-2.0" --include="*.c" \
--exclude-dir="toolchain" --exclude-dir="install" --exclude-dir=".git" \
--exclude-dir="third_party" --exclude-dir="TEST_*" --exclude-dir="TestFiles" \
--exclude-dir="runtime" . || true)
if [[ -n "$missing_c" ]]; then
echo "Missing SPDX in C files:"; echo "$missing_c"; exit 1; fi
- name: Check C Header Licenses
shell: bash
run: |
missing_h=$(grep -Lr "SPDX-License-Identifier: Apache-2.0" --include="*.h" \
--exclude-dir="toolchain" --exclude-dir="install" --exclude-dir=".git" \
--exclude-dir="third_party" --exclude-dir="TEST_*" --exclude-dir="TestFiles" \
--exclude-dir="runtime" . || true)
if [[ -n "$missing_h" ]]; then
echo "Missing SPDX in headers:"; echo "$missing_h"; exit 1; fi
- name: Check YAML Licenses
shell: bash
run: |
missing_yaml=$(grep -Lr "SPDX-License-Identifier: Apache-2.0" --include="*.yaml" --include="*.yml" \
--exclude-dir="toolchain" --exclude-dir="install" --exclude-dir=".git" \
--exclude-dir="third_party" --exclude-dir="TEST_*" --exclude-dir="TestFiles" \
--exclude-dir="runtime" . || true)
if [[ -n "$missing_yaml" ]]; then
echo "Missing SPDX in YAML files:"; echo "$missing_yaml"; exit 1; fi
- name: Check CMake Licenses
shell: bash
run: |
missing_cmake=$(grep -Lr "SPDX-License-Identifier: Apache-2.0" --include="*.cmake" --include="CMakeLists.txt" \
--exclude-dir="toolchain" --exclude-dir="install" --exclude-dir=".git" \
--exclude-dir="third_party" --exclude-dir="TEST_*" --exclude-dir="TestFiles" \
--exclude-dir="runtime" . || true)
if [[ -n "$missing_cmake" ]]; then
echo "Missing SPDX in CMake files:"; echo "$missing_cmake"; exit 1; fi
python scripts/license_fix.py --check $(find . \( -name '*.py' -o -name '*.c' -o -name '*.h' -o -name '*.html' -o -name '*.rst' -o -name '*.yml' -o -name '*.yaml' \) -not -path "*toolchain*" -not -path "*third_party*" -not -path "*.git/*" -not -path "*install/*" -type f)
2 changes: 1 addition & 1 deletion .github/workflows/ci-platform-chimera.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-platform-cortexm.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-platform-generic.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-platform-mempool.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-platform-siracusa-neureka-tiled.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-platform-siracusa-tiled.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-platform-siracusa.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-platform-snitch-tiled.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-platform-snitch.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-platform-softhier.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-deeploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-toolchain.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/infra-generate-ccache.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/infra-generate-documentation.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
exclude: |
(?x)^(
.*third_party.*
| .*install.*
| .*toolchain.*
| .*install/.*
| .*toolchain/.*
| .*TEST_.*
| .*TestFiles.*
| .*runtime.*
| .*\.git.*
)

repos:
Expand All @@ -26,12 +25,13 @@ repos:
name: Check for trailing whitespace
- repo: local
hooks:
- id: check-licenses
- id: fix-licenses
name: Check SPDX License Headers
entry: bash -c 'make check-licenses'
language: system
pass_filenames: false
entry: scripts/license_fix.py
language: python
stages: [pre-commit, pre-merge-commit, pre-push, manual]
types: [text]
exclude_types: [batch, markdown, svg, json]
- repo: https://github.com/google/yapf
rev: v0.43.0
hooks:
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2025 ETH Zurich and University of Bologna.
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

Expand Down
24 changes: 1 addition & 23 deletions Container/Makefile
Original file line number Diff line number Diff line change
@@ -1,28 +1,6 @@
# ----------------------------------------------------------------------
#
# File: Makefile
#
# Created: 20.05.2025
#
# Copyright (C) 2025, ETH Zurich and University of Bologna.
#
# Authors:
# - Philip Wiese, ETH Zurich
#
# ----------------------------------------------------------------------
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the License); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Variables
TOOLCHAIN_IMAGE ?= ghcr.io/pulp-platform/deeploy-toolchain:latest
Expand Down
25 changes: 2 additions & 23 deletions Deeploy/AbstractDataTypes.py
Original file line number Diff line number Diff line change
@@ -1,27 +1,6 @@
# ----------------------------------------------------------------------
#
# File: AbstractDataTypes.py
#
# Last edited: 25.04.2023
#
# Copyright (C) 2023, ETH Zurich and University of Bologna.
#
# Author: Moritz Scherer, ETH Zurich
#
# ----------------------------------------------------------------------
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the License); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import annotations

Expand Down
25 changes: 2 additions & 23 deletions Deeploy/CommonExtensions/CodeTransformationPasses/Closure.py
Original file line number Diff line number Diff line change
@@ -1,27 +1,6 @@
# ----------------------------------------------------------------------
#
# File: Closure.py
#
# Last edited: 12.06.2023
#
# Copyright (C) 2023, ETH Zurich and University of Bologna.
#
# Author: Moritz Scherer, ETH Zurich
#
# ----------------------------------------------------------------------
# Copyright (C) 2025, ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the License); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from typing import Dict, Optional, Tuple, Type, Union

Expand Down
Loading
Loading