diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2020-04-28 10:43:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 10:43:48 -0700 |
commit | 5ec4b57ba3f79db76c5544b3ee37b917f7f0b58e (patch) | |
tree | 9d7dbdf20ed1a6be0212681b49a87055b946e1eb /contrib | |
parent | 967332f464f3e26d43f05bb9c68a0be788337ef6 (diff) |
contrib/get-gmp: Rename and update install instructions with a warning. (#4407)
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/get-gmp-dev (renamed from contrib/get-gmp) | 11 | ||||
-rwxr-xr-x | contrib/get-win-dependencies | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/contrib/get-gmp b/contrib/get-gmp-dev index 678103cf4..f8a301a89 100755 --- a/contrib/get-gmp +++ b/contrib/get-gmp-dev @@ -21,6 +21,17 @@ check_dep_dir "$GMP_DIR" echo ============================================================================= echo +echo "This script should only be used if your distribution does not ship with the" +echo "GMP configuration you need. For example, contrib/get-win-dependencies cross-" +echo "compiles GMP for Windows. You can also use the script if your distribution" +echo "does not ship with static GMP libraries (e.g., Arch Linux) and you want to" +echo "build CVC4 statically." +echo +echo "In most of the cases the GMP version installed on your system is the one you" +echo "want and should use." +echo +echo ============================================================================= +echo echo "Setting up GMP $GMPVERSION..." echo setup_dep "https://gmplib.org/download/gmp/gmp-$GMPVERSION.tar.bz2" "$GMP_DIR" diff --git a/contrib/get-win-dependencies b/contrib/get-win-dependencies index 1138e3071..02b1e4054 100755 --- a/contrib/get-win-dependencies +++ b/contrib/get-win-dependencies @@ -84,7 +84,7 @@ MAKE_CFLAGS="$MAKE_CFLAGS" \ MAKE_CXXFLAGS="$MAKE_CXXFLAGS" \ MAKE_LDFLAGS="$MAKE_LDFLAGS" \ GMPVERSION="$GMPVERSION" \ - contrib/get-gmp || reporterror + contrib/get-gmp-dev || reporterror echo echo ============================================================================= |