Browse Source

Add ExtAvy to formal Images

extavy
T. Meissner 2 years ago
parent
commit
519f11a19b
3 changed files with 19 additions and 2 deletions
  1. +2
    -0
      README.md
  2. +3
    -1
      ghdl-formal.Dockerfile
  3. +14
    -1
      symbiyosys.Dockerfile

+ 2
- 0
README.md View File

@ -14,6 +14,7 @@ A collection of Dockerfiles for easy use of various free & open-source tools. Ha
* Boolector * Boolector
* Bitwuzla * Bitwuzla
* Super Prove * Super Prove
* Avy
## ghdl-formal.Dockerfile ## ghdl-formal.Dockerfile
@ -47,6 +48,7 @@ Risc-V toolchain to develop programs for [NEORV32](https://github.com/stnolting/
* [Z3](https://github.com/Z3Prover/z3) * [Z3](https://github.com/Z3Prover/z3)
* [Yices 2](https://yices.csl.sri.com/) * [Yices 2](https://yices.csl.sri.com/)
* [CVC4](https://cvc4.github.io/) * [CVC4](https://cvc4.github.io/)
* [Avy](https://bitbucket.org/arieg/extavy)
* [Boolector](https://boolector.github.io/) * [Boolector](https://boolector.github.io/)
* [Bitwuzla](https://bitwuzla.github.io/) * [Bitwuzla](https://bitwuzla.github.io/)
* [Super Prove](https://github.com/berkeley-abc/super_prove) * [Super Prove](https://github.com/berkeley-abc/super_prove)


+ 3
- 1
ghdl-formal.Dockerfile View File

@ -52,6 +52,8 @@ RUN apt-get update -qq && \
make \ make \
python3 \ python3 \
libssl-dev \ libssl-dev \
libboost-program-options1.67.0 \
strace \
libpython2.7 && \ libpython2.7 && \
apt-get -y upgrade && apt-get autoclean && apt-get clean && apt-get -y autoremove && \ apt-get -y upgrade && apt-get autoclean && apt-get clean && apt-get -y autoremove && \
update-ca-certificates && \ update-ca-certificates && \
@ -61,4 +63,4 @@ RUN apt-get update -qq && \
COPY --from=symbiyosys-ghdlsynth /opt /opt COPY --from=symbiyosys-ghdlsynth /opt /opt
# Enhance path variable # Enhance path variable
ENV PATH "/opt/ghdl/bin:/opt/symbiyosys/bin:/opt/yosys/bin:/opt/z3/bin:/opt/yices2/bin:/opt/cvc4/bin:/opt/boolector/bin:/opt/bitwuzla/bin:/opt/super_prove/bin:$PATH"
ENV PATH "/opt/ghdl/bin:/opt/symbiyosys/bin:/opt/yosys/bin:/opt/z3/bin:/opt/yices2/bin:/opt/avy/bin:/opt/cvc4/bin:/opt/boolector/bin:/opt/bitwuzla/bin:/opt/super_prove/bin:$PATH"

+ 14
- 1
symbiyosys.Dockerfile View File

@ -41,6 +41,7 @@ RUN apt-get update -qq && \
FROM yosys AS symbiyosys FROM yosys AS symbiyosys
COPY packages/suprove /root/suprove COPY packages/suprove /root/suprove
COPY packages/avy.patch /root/avy.patch
RUN apt-get update -qq && \ RUN apt-get update -qq && \
DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \ DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \
@ -53,6 +54,7 @@ RUN apt-get update -qq && \
python-setuptools \ python-setuptools \
python-pip \ python-pip \
python-wheel \ python-wheel \
libboost-program-options-dev \
mercurial && \ mercurial && \
apt-get autoclean && apt-get clean && apt-get -y autoremove && \ apt-get autoclean && apt-get clean && apt-get -y autoremove && \
rm -rf /var/lib/apt/lists/* && \ rm -rf /var/lib/apt/lists/* && \
@ -113,5 +115,16 @@ RUN apt-get update -qq && \
ninja package && \ ninja package && \
tar -C /opt -xzf super_prove*.tar.gz && \ tar -C /opt -xzf super_prove*.tar.gz && \
mv /root/suprove /opt/super_prove/bin/ && \ mv /root/suprove /opt/super_prove/bin/ && \
chmod +x /opt/super_prove/bin/suprove && \
chmod +x /opt/super_prove/bin/suprove
RUN cd /root && \
git clone https://bitbucket.org/arieg/extavy.git && \
cd extavy && \
git checkout new_quip && \
git submodule update --init && \
mkdir build; cd build && \
cmake -DCMAKE_BUILD_TYPE=Debug .. && \
make -j$(nproc) && \
mkdir -p /opt/avy/bin && \
cp -r avy/src/av* /opt/avy/bin/ && \
rm -rf /root/* rm -rf /root/*

Loading…
Cancel
Save