Skip to content

Commit

Permalink
Fix el_docker formatting so the test passes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pocketkid2 authored and olofk committed Oct 7, 2022
1 parent aa1bfa6 commit a061f77
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions scripts/el_docker
Original file line number Diff line number Diff line change
Expand Up @@ -111,20 +111,24 @@ if [c for c in containers if c["tool"] == toolname]:
exit(1)

extra = os.environ["EDALIZE_EXTRA_DOCKER_FLAGS"].split(" ")
prefix = [
"docker",
"run",
"--rm",
"-v",
build_root + ":/src",
# '-e', dockerEnv,
] + extra + [
"-u",
f"{os.getuid()}:{os.getgid()}",
"-w",
"/src/" + work,
image,
]
prefix = (
[
"docker",
"run",
"--rm",
"-v",
build_root + ":/src",
# '-e', dockerEnv,
]
+ extra
+ [
"-u",
f"{os.getuid()}:{os.getgid()}",
"-w",
"/src/" + work,
image,
]
)
if init:
c = init.format(shlex.quote(runtool + " " + shlex.join(sys.argv[2:])))
elif tool == "verilator":
Expand Down

0 comments on commit a061f77

Please sign in to comment.