Closed sgherbst closed 5 years ago
Not sure why GarnetFlow is failing -- does anyone know what these errors mean? It doesn't look like the check is getting to the point that it can run fault tests.
error: patch failed: CMakeLists.txt:20
error: CMakeLists.txt: patch does not apply
error: patch failed: src/passes/analysis/verilog.cpp:2
error: src/passes/analysis/verilog.cpp: patch does not apply
./install.sh: line 13: cd: coreir/build: No such file or directory
python: can't open file 'python_repo.py': [Errno 2] No such file or directory
CoreIR just merged a major update to the verilog backend/toolchain, it looks like this broke a downstream tool flow, we will investigate, but this is not your fault.
Just re-ran the tests after updates to GarnetFlow and it looks like everything is passing now.
shell=True
is used to make it easier to pass through shell commands. Typically, you need to pass the commands as a list of strings rather than a single command string. There are various reason fo this being the standard interface (programmatically building commands, preventing shell injection) but usually shell=True
is simpler (re: quicker) to use. It's likely that we can't remove shell=True because there's some part of the command construction process that isn't properly splitting the command line arguments into separate strings.
These commits span updates to the ncsim, vcs, and iverilog simulators in SystemVerilogTarget to make it easier to work with external files: