#!/bin/bash
#
-set -e
-
-commit=53f39c11b58d
-
-cd "$(dirname "$0")/.."
-
-if ! [ -e src/parser/cvc/Cvc.g ]; then
- echo "$(basename $0): I expect to be in the contrib/ of a CVC4 source tree," >&2
- echo "but apparently:" >&2
- echo >&2
- echo " $(pwd)" >&2
- echo >&2
- echo "is not a CVC4 source tree ?!" >&2
- exit 1
-fi
-
-function webget {
- if which wget &>/dev/null; then
- wget -c -O "$2" "$1"
- elif which curl &>/dev/null; then
- curl "$1" >"$2"
- else
- echo "Can't figure out how to download from web. Please install wget or curl." >&2
- exit 1
- fi
-}
+source "$(dirname "$0")/get-script-header.sh"
if [ -e abc ]; then
echo 'error: file or directory "abc" exists; please move it out of the way.' >&2
exit 1
fi
+commit=53f39c11b58d
+
mkdir abc
cd abc
webget https://bitbucket.org/alanmi/abc/get/$commit.tar.gz abc-$commit.tar.gz
#!/bin/bash
#
-set -e
-
-cd "$(dirname "$0")/.."
+source "$(dirname "$0")/get-script-header.sh"
if [ -z "${BUILD_TYPE}" ]; then
BUILD_TYPE="--disable-shared --enable-static"
fi
-if ! [ -e src/parser/cvc/Cvc.g ]; then
- echo "$(basename $0): I expect to be in the contrib/ of a CVC4 source tree," >&2
- echo "but apparently:" >&2
- echo >&2
- echo " $(pwd)" >&2
- echo >&2
- echo "is not a CVC4 source tree ?!" >&2
- exit 1
-fi
-
-function webget {
- if which curl &>/dev/null; then
- curl "$1" >"$2"
- elif which wget &>/dev/null; then
- wget -c -O "$2" "$1"
- else
- echo "Can't figure out how to download from web. Please install wget or curl." >&2
- exit 1
- fi
-}
-
if [ -z "${MACHINE_TYPE}" ]; then
if ! [ -e config/config.guess ]; then
# Attempt to download once
#!/bin/bash
#
-set -e
-
-version="4.2.0"
-
-cd "$(dirname "$0")/.."
-
-if ! [ -e src/parser/cvc/Cvc.g ]; then
- echo "$(basename $0): I expect to be in the contrib/ of a CVC4 source tree," >&2
- echo "but apparently:" >&2
- echo >&2
- echo " $(pwd)" >&2
- echo >&2
- echo "is not a CVC4 source tree ?!" >&2
- exit 1
-fi
-
-function webget {
- if which wget &>/dev/null; then
- wget -c -O "$2" "$1"
- elif which curl &>/dev/null; then
- curl "$1" >"$2"
- else
- echo "Can't figure out how to download from web. Please install wget or curl." >&2
- exit 1
- fi
-}
+source "$(dirname "$0")/get-script-header.sh"
if [ -e cryptominisat4 ]; then
echo 'error: file or directory "cryptominisat4" exists; please move it out of the way.' >&2
exit 1
fi
+version="4.2.0"
+
mkdir cryptominisat4
cd cryptominisat4
CRYPTOMINISAT_PATH=`pwd`
#!/bin/bash
#
-set -e
+source "$(dirname "$0")/get-script-header.sh"
commit=b420454e732f4b3d229c552ef7cd46fec75fe65c
-cd "$(dirname "$0")/.."
-
-if ! [ -e src/parser/cvc/Cvc.g ]; then
- echo "$(basename $0): I expect to be in the contrib/ of a CVC4 source tree," >&2
- echo "but apparently:" >&2
- echo >&2
- echo " $(pwd)" >&2
- echo >&2
- echo "is not a CVC4 source tree ?!" >&2
- exit 1
-fi
-
-function webget {
- if which wget &>/dev/null; then
- wget -c -O "$2" "$1"
- elif which curl &>/dev/null; then
- curl "$1" >"$2"
- else
- echo "Can't figure out how to download from web. Please install wget or curl." >&2
- exit 1
- fi
-}
-
if [ -e glpk-cut-log ]; then
echo 'error: file or directory "glpk-cut-log" exists; please move it out of the way.' >&2
exit 1
#!/bin/bash
#
-set -e
+source "$(dirname "$0")/get-script-header.sh"
lfscrepo="https://github.com/CVC4/LFSC.git"
dirname="lfsc-checker"
-
-cd "$(dirname "$0")/.."
-
-if ! [ -e src/parser/cvc/Cvc.g ]; then
- echo "$(basename $0): I expect to be in the contrib/ of a CVC4 source tree," >&2
- echo "but apparently:" >&2
- echo >&2
- echo " $(pwd)" >&2
- echo >&2
- echo "is not a CVC4 source tree ?!" >&2
- exit 1
-fi
-
function gitclone {
if which git &> /dev/null
then
--- /dev/null
+#!/bin/bash
+#
+set -e
+
+cd "$(dirname "$0")/.."
+
+if ! [ -e src/parser/cvc/Cvc.g ]; then
+ echo "$(basename $0): I expect to be in the contrib/ of a CVC4 source tree," >&2
+ echo "but apparently:" >&2
+ echo >&2
+ echo " $(pwd)" >&2
+ echo >&2
+ echo "is not a CVC4 source tree ?!" >&2
+ exit 1
+fi
+
+function webget {
+ if which wget &>/dev/null; then
+ wget -c -O "$2" "$1"
+ elif which curl &>/dev/null; then
+ curl "$1" >"$2"
+ else
+ echo "Can't figure out how to download from web. Please install wget or curl." >&2
+ exit 1
+ fi
+}