mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 04:47:25 -04:00
[util] Ignore Verilator stderr in version check
With funny CI environments, the locale might not be set properly, making perl complain. The version check will fail then. I believe it is sufficient to check for the tool version, stderr can be ignored safely, if I am not missing something.
This commit is contained in:
parent
e58a9ff792
commit
443a058f56
1 changed files with 0 additions and 1 deletions
|
@ -199,7 +199,6 @@ class VerilatorToolReq(ToolReq):
|
|||
# relies on perl magic to parse command line arguments.
|
||||
version_str = subprocess.run('verilator --version', shell=True,
|
||||
check=True, stdout=subprocess.PIPE,
|
||||
stderr=subprocess.STDOUT,
|
||||
universal_newlines=True)
|
||||
except subprocess.CalledProcessError as err:
|
||||
raise RuntimeError('Unable to call Verilator to check version: {}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue