Skip to content

Commit e800147

Browse files
authored
Bump Z3 version to 4.8.11 (#322)
* Bump Z3 version to 4.8.11 * Update instructions for Z3
1 parent 5f1f8ea commit e800147

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

Dockerfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ RUN apt update \
2929
python3-pip \
3030
zlib1g-dev
3131

32+
RUN git clone 'https://github.com/z3prover/z3' --branch=z3-4.8.11 \
33+
&& cd z3 \
34+
&& python scripts/mk_make.py \
35+
&& cd build \
36+
&& make -j8 \
37+
&& make install \
38+
&& cd ../.. \
39+
&& rm -rf z3
40+
3241
RUN curl -sSL https://get.haskellstack.org/ | sh
3342

3443
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -

INSTALL.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,24 @@ see instructions here: https://github.com/kframework/k/releases/tag/<k_release>.
142142

143143
## System Dependencies
144144

145+
### Z3
146+
147+
KIELE requires Z3 version 4.8.11, which you may need to install from a source
148+
build if your package manager supplies a different version. To do so, follow the
149+
instructions
150+
[here](https://github.com/Z3Prover/z3#building-z3-using-make-and-gccclang) after
151+
checking out the correct tag in the Z3 repository:
152+
153+
```sh
154+
git clone https://github.com/Z3Prover/z3.git
155+
cd z3
156+
git checkout z3-4.8.11
157+
python scripts/mk_make.py
158+
cd build
159+
make
160+
sudo make install
161+
```
162+
145163
### Ubuntu Bionic
146164

147165
The following packages are needed for running KIELE on Ubuntu:

0 commit comments

Comments
 (0)