Closed Munken closed 4 years ago
The synth:formal image ships with the Z3 solver, but it is not in the PATH
docker run -it ghdl/synth:formal bash root@7be5976e3a3a:/# z3 bash: z3: command not found
The location of the binary is /opt/z3/z3/bin/z3, but this is not in the PATH:
/opt/z3/z3/bin/z3
root@7be5976e3a3a:/# echo $PATH /opt/ghdl/bin:/opt/yosys/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
This PR adds the Z3 bin dir to the path.
Also not sure it is opt/z3/z3 when ghdl is simply placed in /opt/ghdl.
opt/z3/z3
/opt/ghdl
Actually, the COPY command is not correct. It should be COPY --from=ghdl/cache:formal ./z3 /opt/z3. Would you find fixing it and modifying the PATH accordingly?
COPY --from=ghdl/cache:formal ./z3 /opt/z3
COPY command and PATH adjusted.
Thanks!
The synth:formal image ships with the Z3 solver, but it is not in the PATH
The location of the binary is
/opt/z3/z3/bin/z3
, but this is not in the PATH:This PR adds the Z3 bin dir to the path.
Also not sure it is
opt/z3/z3
when ghdl is simply placed in/opt/ghdl
.