Commit bc362cfc authored by Heiko Becker's avatar Heiko Becker

Update coq to 8.8

parent cffe703c
......@@ -15,8 +15,15 @@ RUN opam init --comp=4.05.0 --auto-setup && \
# Install coq and dependencies
RUN opam repo add coq-released && \
opam update && \
opam install coq.8.7.2 coq-flocq
opam update
#Install coq 8.7.2 in a switch
RUN opam switch -A 4.05.0 coq8.7.2
RUN opam install coq.8.7.2 coq-flocq
#Install coq 8.8 in a switch
RUN opam switch -A 4.05.0 coq8.8
RUN opam install coq.8.8.0 coq-flocq
# Install polyml from git
RUN git clone polyml && \
......@@ -25,6 +25,7 @@ fi
coq_ver=$(${COQBIN}coqc -v 2>/dev/null | sed -n -e 's/The Coq Proof Assistant, version \([^ ]*\).*$/\1/p')
case "$coq_ver" in
echo "Error: Need 8.7.2"
eval `opam config env`
cd ./coq
opam switch coq8.7.2
eval `opam config env`
make -j
make clean
opam switch coq8.8
eval `opam config env`
make -j
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment