Skip to content

Commit

Permalink
Update Kind 2 and Z3 versions
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-larraz committed Dec 6, 2023
1 parent f279fbf commit 3525a79
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions configure.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

Z3_VERSION=4.12.1
KIND2_VERSION=2.0.0
Z3_VERSION=4.12.4
KIND2_VERSION=2.1.0
SERVER_VERSION=0.1.6

ARCH=$(uname -m)
Expand Down Expand Up @@ -33,8 +33,8 @@ case "$OSTYPE" in
darwin*)
case "$ARCH" in
x86_64)
Z3_OS_VERSION=x64-osx-10.16
KIND2_OS_VERSION=macos-11-x86_64
Z3_OS_VERSION=x64-osx-11.7.10
KIND2_OS_VERSION=macos-12-x86_64
;;
arm64)
Z3_OS_VERSION=arm64-osx-11.0
Expand All @@ -47,7 +47,7 @@ case "$OSTYPE" in
linux*)
case "$ARCH" in
x86_64)
Z3_OS_VERSION=x64-glibc-2.35
Z3_OS_VERSION=x64-glibc-2.31
KIND2_OS_VERSION=linux-x86_64
;;
*)
Expand All @@ -71,20 +71,20 @@ rm -f kind2-language-server.zip

# Install Z3
case "$2" in
z3-static)
wget https://github.com/Z3Prover/z3/archive/refs/tags/z3-$Z3_VERSION.tar.gz
tar xvf z3-$Z3_VERSION.tar.gz
rm z3-$Z3_VERSION.tar.gz
pushd z3-z3-$Z3_VERSION/
python3 scripts/mk_make.py --staticbin
pushd build/
make -j4
popd
popd
cp z3-z3-$Z3_VERSION/build/z3 .
strip z3
rm -r z3-z3-$Z3_VERSION/
;;
# z3-static)
# wget https://github.com/Z3Prover/z3/archive/refs/tags/z3-$Z3_VERSION.tar.gz
# tar xvf z3-$Z3_VERSION.tar.gz
# rm z3-$Z3_VERSION.tar.gz
# pushd z3-z3-$Z3_VERSION/
# python3 scripts/mk_make.py --staticbin
# pushd build/
# make -j4
# popd
# popd
# cp z3-z3-$Z3_VERSION/build/z3 .
# strip z3
# rm -r z3-z3-$Z3_VERSION/
# ;;
*)
wget https://github.com/Z3Prover/z3/releases/download/z3-$Z3_VERSION/$Z3_ZIP_NAME.zip
unzip -o $Z3_ZIP_NAME.zip
Expand Down

0 comments on commit 3525a79

Please sign in to comment.