Pirmin Vogel | ed097cc | 2020-03-09 11:35:21 +0100 | [diff] [blame] | 1 | CAPI=2: |
| 2 | # Copyright lowRISC contributors. |
| 3 | # Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| 4 | # SPDX-License-Identifier: Apache-2.0 |
| 5 | name: "lowrisc:tool:check_tool_requirements:0.1" |
| 6 | description: "Check tool requirements" |
| 7 | |
| 8 | filesets: |
| 9 | files_check_tool_requirements: |
| 10 | files: |
| 11 | - ./util/check_tool_requirements.py : { copyto: util/check_tool_requirements.py } |
| 12 | - ./tool_requirements.py : { copyto: tool_requirements.py } |
| 13 | |
| 14 | scripts: |
| 15 | check_tool_requirements: |
| 16 | cmd: |
| 17 | - python3 |
| 18 | - util/check_tool_requirements.py |
| 19 | # TODO: Use this syntax once https://github.com/olofk/fusesoc/issues/353 is |
| 20 | # fixed. Remove the filesets from the default target, and also remove the |
| 21 | # copyto. |
| 22 | #filesets: |
| 23 | # - files_check_tool_requirements |
| 24 | |
| 25 | targets: |
| 26 | default: |
| 27 | filesets: |
| 28 | - files_check_tool_requirements |
| 29 | hooks: |
| 30 | pre_build: |
Michael Schaffner | aa193f9 | 2020-12-16 11:16:17 -0800 | [diff] [blame] | 31 | - tool_verilator ? (check_tool_requirements) |
| 32 | - tool_veriblelint ? (check_tool_requirements) |