about summary refs log tree commit diff homepage
path: root/scripts/build/p-z3-osx.inc
blob: bce11aabadc8990d76f2713589b761362a0bf54d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
install_binary_artifact_z3 () {
  set +e
  brew install python@2
  if [[ "X$?" != "X0" ]]; then
     brew link --overwrite python@2
  fi
  set -e
  brew install z3
}

is_installed_z3() {
    [[ -f "/usr/local/opt/z3/bin/z3" ]]
}