lowRISC / lowRISC/opentitan

Edalize warnings: tool_requirements.py has unknown file type ''

Open
#1,734 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component:Tooling Earlgrey-PROD Triaged Good First Issue Help Wanted Priority:P3 Type:Enhancement
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

Fusesoc shows the following warnings:

```
INFO: Setting up project
INFO:edalize.edatool:Setting up project
WARNING: util/check_tool_requirements.py has unknown file type ''
WARNING:edalize.icarus:util/check_tool_requirements.py has unknown file type ''
WARNING: tool_requirements.py has unknown file type ''
WARNING:edalize.icarus:tool_requirements.py has unknown file type ''
```
the warnings persist even if I set the filetype to `python`, `python3`, `py` or `py3`, so it looks like this file type is not known to edalize yet.

_Originally posted by @msfschaffner in https://github.com/lowRISC/opentitan/pull/1679#issuecomment-597902382_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the FuseSoC warnings involving util/check_tool_requirements.py and tool_requirements.py, then inspect how their file types are passed to Edalize. Done means Python files are recognized without the reported unknown-file-type warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.