ABC_DIR="$DEPS_DIR/abc"
commit=3d7034bf619aada30b0ba1e8afcb151d304ab556
-check_dep_dir "$ABC_DIR"
setup_dep "https://github.com/berkeley-abc/abc/archive/$commit.tar.gz" "$ABC_DIR"
cd "$ABC_DIR"
CADICAL_DIR="$DEPS_DIR/cadical"
version="rel-1.2.1"
-check_dep_dir "$CADICAL_DIR"
setup_dep \
"https://github.com/arminbiere/cadical/archive/$version.tar.gz" "$CADICAL_DIR"
cd "$CADICAL_DIR"
CMS_DIR="$DEPS_DIR/cryptominisat5"
version="5.8.0"
-check_dep_dir "$CMS_DIR"
setup_dep \
"https://github.com/msoos/cryptominisat/archive/$version.tar.gz" \
"$CMS_DIR"
DRAT2ER_DIR="$DEPS_DIR/drat2er"
commit=521caf16149df3dfa46f700ec1fab56f8cc12a18
-check_dep_dir "$DRAT2ER_DIR"
setup_dep \
"https://github.com/alex-ozdemir/drat2er/archive/$commit.tar.gz" \
"$DRAT2ER_DIR"
GLPK_DIR="$DEPS_DIR/glpk-cut-log"
version="4.52"
-check_dep_dir "$GLPK_DIR"
setup_dep \
"https://ftp.gnu.org/gnu/glpk/glpk-${version}.tar.gz" \
"$GLPK_DIR"
GMP_DIR="$DEPS_DIR/gmp-$GMPVERSION"
-check_dep_dir "$GMP_DIR"
-
echo =============================================================================
echo
echo "This script should only be used if your distribution does not ship with the"
KISSAT_DIR="${DEPS_DIR}/kissat"
version="sc2020-039805f2"
-check_dep_dir "${KISSAT_DIR}"
-
# Download and build Kissat
setup_dep \
"http://fmv.jku.at/kissat/kissat-$version.tar.xz" "$KISSAT_DIR"
LFSC_DIR="$DEPS_DIR/lfsc-checker"
version="master"
-check_dep_dir "$LFSC_DIR"
setup_dep "https://github.com/CVC4/LFSC/archive/$version.tar.gz" "$LFSC_DIR"
cd "$LFSC_DIR"
POLY_DIR="$DEPS_DIR/poly"
version="v0.1.8"
-check_dep_dir "$POLY_DIR"
setup_dep \
"https://github.com/SRI-CSL/libpoly/archive/master.tar.gz" "$POLY_DIR"
# TODO(Gereon, #4706): Go back to fixed version with the next release
url="$1"
directory="$2"
echo "Setting up $directory ..."
+ rm -rf "$directory"
mkdir -p "$directory"
cd "$directory"
webget "$url" archive
rm archive
}
-function check_dep_dir
-{
- if [ -e "$1" ]; then
- echo "error: file or directory '$1' exists; please move it out of the way." >&2
- exit 1
- fi
-}
-
-
# Some of our dependencies do not provide a make install rule. Use the
# following helper functions to copy libraries/headers/binaries into the
# corresponding directories in deps/install.
SYMFPU_DIR="$DEPS_DIR/symfpu-CVC4"
commit="8fbe139bf0071cbe0758d2f6690a546c69ff0053"
-check_dep_dir "$SYMFPU_DIR"
setup_dep \
"https://github.com/martin-cs/symfpu/archive/$commit.tar.gz" "$SYMFPU_DIR"
cd "$SYMFPU_DIR"