-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump the minimal version of Why to 1.7
This allows us to use more recent versions of the provers.
- Loading branch information
Showing
4 changed files
with
27 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,31 +5,35 @@ MAINTAINER Pierre-Yves Strub <[email protected]> | |
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
RUN \ | ||
sudo apt-get -q -y install wget curl python3 python3-pip && \ | ||
sudo apt-get -q -y clean && \ | ||
sudo pip3 install --no-cache-dir pyyaml | ||
sudo apt-get -q -y install wget curl python3 python3-pip python3-yaml && \ | ||
sudo apt-get -q -y clean | ||
|
||
RUN \ | ||
opam pin add -n easycrypt https://github.com/EasyCrypt/easycrypt.git && \ | ||
opam install depext && opam depext easycrypt && \ | ||
opam install --deps-only easycrypt && \ | ||
opam install --deps-only --confirm-level=unsafe-yes easycrypt && \ | ||
opam clean | ||
|
||
ENV ALTERGO=2.4.2 CVC4V=1.8 Z3V=4.8.10 Z3SV= Z3A=ubuntu-18.04 | ||
ENV ALTERGO=2.4.3 CVC4=1.8 CVC5=1.0.5 Z3=4.12.1 Z3GLIBC=2.35 | ||
|
||
RUN \ | ||
opam pin add -n alt-ergo ${ALTERGO} && \ | ||
opam depext alt-ergo && opam install alt-ergo && opam clean | ||
wget -O z3.zip https://github.com/Z3Prover/z3/releases/download/z3-${Z3}/z3-${Z3}-x64-glibc-${Z3GLIBC}.zip && \ | ||
unzip -j z3.zip z3-${Z3}-x64-glibc-${Z3GLIBC}/bin/z3 && \ | ||
sudo cp z3 /usr/local/bin/ && sudo chmod 755 /usr/local/bin/z3 && \ | ||
rm -rf z3 z3.zip | ||
|
||
RUN \ | ||
wget -O cvc4 https://github.com/cvc5/cvc5/releases/download/${CVC4V}/cvc4-${CVC4V}-x86_64-linux-opt && \ | ||
wget -O cvc4 https://github.com/cvc5/cvc5/releases/download/${CVC4}/cvc4-${CVC4}-x86_64-linux-opt && \ | ||
sudo mv cvc4 /usr/local/bin/ && sudo chmod 755 /usr/local/bin/cvc4 | ||
|
||
RUN \ | ||
wget https://github.com/Z3Prover/z3/releases/download/z3-${Z3V}/z3-${Z3V}${Z3SV}-x64-${Z3A}.zip && \ | ||
unzip -j z3-${Z3V}${Z3SV}-x64-${Z3A}.zip z3-${Z3V}${Z3SV}-x64-${Z3A}/bin/z3 && \ | ||
sudo cp z3 /usr/local/bin/ && sudo chmod 755 /usr/local/bin/z3 && \ | ||
rm -rf z3 z3-${Z3V}${Z3SV}-x64-${Z3A}.zip | ||
wget -O cvc5 https://github.com/cvc5/cvc5/releases/download/cvc5-${CVC5}/cvc5-Linux && \ | ||
sudo mv cvc5 /usr/local/bin/ && sudo chmod 755 /usr/local/bin/cvc5 | ||
|
||
RUN \ | ||
opam pin add -n alt-ergo ${ALTERGO} && \ | ||
opam install --deps-only --confirm-level=unsafe-yes alt-ergo && \ | ||
opam install alt-ergo && \ | ||
opam clean | ||
|
||
RUN \ | ||
opam config exec -- why3 config detect |