blob: d2dd6b2855278cb4f25e4682a9b9aeee314cdb13 [file] [log] [blame]
Pirmin Vogeled097cc2020-03-09 11:35:21 +01001CAPI=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
5name: "lowrisc:tool:check_tool_requirements:0.1"
6description: "Check tool requirements"
7
8filesets:
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
14scripts:
Michael Schaffner6be21b32021-05-12 21:09:44 -070015 check_tool_requirements_verible:
Pirmin Vogeled097cc2020-03-09 11:35:21 +010016 cmd:
17 - python3
18 - util/check_tool_requirements.py
Michael Schaffner6be21b32021-05-12 21:09:44 -070019 - 'verible'
Pirmin Vogeled097cc2020-03-09 11:35:21 +010020 # TODO: Use this syntax once https://github.com/olofk/fusesoc/issues/353 is
21 # fixed. Remove the filesets from the default target, and also remove the
22 # copyto.
23 #filesets:
24 # - files_check_tool_requirements
Michael Schaffner6be21b32021-05-12 21:09:44 -070025 check_tool_requirements_verilator:
26 cmd:
27 - python3
28 - util/check_tool_requirements.py
29 - 'verilator'
Pirmin Vogeled097cc2020-03-09 11:35:21 +010030
31targets:
32 default:
33 filesets:
34 - files_check_tool_requirements
35 hooks:
36 pre_build:
Michael Schaffner6be21b32021-05-12 21:09:44 -070037 - tool_verilator ? (check_tool_requirements_verilator)
38 - tool_veriblelint ? (check_tool_requirements_verible)