File tree 6 files changed +19
-7
lines changed
6 files changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,13 @@ zip_dist_with_solvers() {
129
129
cp " $BIN /cvc4" dist/bin/
130
130
cp " $BIN /yices" dist/bin/
131
131
cp " $BIN /yices-smt2" dist/bin/
132
+ # Z3 4.8.14 has been known to nondeterministically time out with the AWSLC
133
+ # and BLST proofs, so we include both 4.8.8 and 4.8.14 so that we can fall
134
+ # back to 4.8.8 (a version known to work with the AWSLC and BLST proofs)
135
+ # where necessary. See #1772.
132
136
cp " $BIN /z3" dist/bin/
137
+ cp " $BIN /z3-4.8.8" dist/bin/
138
+ cp " $BIN /z3-4.8.14" dist/bin/
133
139
cp -r dist " $sname "
134
140
tar -cvzf " $sname " .tar.gz " $sname "
135
141
}
Original file line number Diff line number Diff line change 24
24
# ./saw-remote-api/Dockerfile
25
25
# ./s2nTests/scripts/blst-entrypoint.sh
26
26
# ./s2nTests/docker/saw.dockerfile
27
- SOLVER_PKG_VERSION : " snapshot-20220902 "
27
+ SOLVER_PKG_VERSION : " snapshot-20221212 "
28
28
29
29
OCAML_VERSION : 4.09.x
30
30
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ cd /saw-script/aws-lc-verification/SAW
6
6
rm bin/saw
7
7
cp /saw-bin/saw bin/saw
8
8
cp /saw-bin/abc bin/abc
9
+ cp /saw-bin/yices bin/yices
10
+ # Z3 4.8.14 has been known to nondeterministically time out with the BLST
11
+ # proofs, so fall back to 4.8.8 instead. See #1772.
12
+ cp /saw-bin/z3-4.8.8 bin/z3
9
13
10
14
export PATH=/saw-script/aws-lc-verification/SAW/bin:$PATH
11
15
export CRYPTOLPATH=/saw-script/aws-lc-verification/cryptol-specs
Original file line number Diff line number Diff line change @@ -3,11 +3,13 @@ set -xe
3
3
4
4
cd /workdir
5
5
./scripts/install.sh
6
+ cp /saw-bin/cryptol bin/cryptol
6
7
cp /saw-bin/saw bin/saw
7
-
8
- wget --quiet -O solvers.zip " https://github.com/GaloisInc/what4-solvers/releases/download/snapshot-20220902/ubuntu-22.04-bin.zip"
9
- (cd bin && unzip -o ../solvers.zip)
10
- chmod +x bin/*
8
+ cp /saw-bin/abc bin/abc
9
+ cp /saw-bin/yices bin/yices
10
+ # Z3 4.8.14 has been known to nondeterministically time out with the BLST
11
+ # proofs, so fall back to 4.8.8 instead. See #1772.
12
+ cp /saw-bin/z3-4.8.8 bin/z3
11
13
12
14
export PATH=/workdir/bin:$PATH
13
15
export CRYPTOLPATH=/workdir/cryptol-specs:/workdir/spec
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ RUN cabal v2-update && cabal v2-build -j exe:saw-remote-api
28
28
RUN mkdir -p /home/saw/rootfs/usr/local/bin
29
29
RUN cp $(cabal v2-exec which saw-remote-api) /home/saw/rootfs/usr/local/bin/saw-remote-api
30
30
WORKDIR /home/saw//rootfs/usr/local/bin
31
- RUN curl -o solvers.zip -sL "https://github.com/GaloisInc/what4-solvers/releases/download/snapshot-20220902 /ubuntu-22.04-bin.zip"
31
+ RUN curl -o solvers.zip -sL "https://github.com/GaloisInc/what4-solvers/releases/download/snapshot-20221212 /ubuntu-22.04-bin.zip"
32
32
RUN unzip solvers.zip && rm solvers.zip && chmod +x *
33
33
USER root
34
34
RUN chown -R root:root /home/saw/rootfs
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ RUN cabal v2-build
29
29
RUN mkdir -p /home/saw/rootfs/usr/local/bin
30
30
RUN cp $(cabal v2-exec which saw) /home/saw/rootfs/usr/local/bin/saw
31
31
WORKDIR /home/saw//rootfs/usr/local/bin
32
- RUN curl -o solvers.zip -sL "https://github.com/GaloisInc/what4-solvers/releases/download/snapshot-20220902 /ubuntu-22.04-bin.zip"
32
+ RUN curl -o solvers.zip -sL "https://github.com/GaloisInc/what4-solvers/releases/download/snapshot-20221212 /ubuntu-22.04-bin.zip"
33
33
RUN unzip solvers.zip && rm solvers.zip && chmod +x *
34
34
USER root
35
35
RUN chown -R root:root /home/saw/rootfs
You can’t perform that action at this time.
0 commit comments