Last active
August 12, 2016 12:34
-
-
Save rnbguy/0ec49d578abde036f459a0a75d6cedf6 to your computer and use it in GitHub Desktop.
Install CVC4 from GitHub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# script for installing CVC4 SMT solver locally | |
# CVC4 will be installed in $HOME/cvc4pref/bin | |
# exit on error | |
set -e | |
# clone repo from github | |
git clone https://github.com/cvc4/cvc4 | |
# install cvc4 locally | |
mkdir -p cvc4pref | |
CVC4PREF=$HOME/cvc4pref | |
# change directory to checkout | |
cd cvc4/ | |
# to build from github checkout | |
sudo apt-get install make autoconf libtool | |
# to build | |
sudo apt-get install gcc g++ libgmp3-dev libboost-dev g++-multilib gcc-multilib | |
./autogen.sh | |
./contrib/get-antlr-3.4 | |
./configure --with-antlr-dir=`pwd`/antlr-3.4 ANTLR=`pwd`/antlr-3.4/bin/antlr3 --prefix=$CVC4PREF | |
make | |
make check | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment