aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-24 07:27:09 +0800
committerGitHub <noreply@github.com>2017-08-24 07:27:09 +0800
commit957f23a9f4cb181b2dfaf0170816080513bfe786 (patch)
treec1d6de873c54380018f6a88d2fe687b5770c6db7 /scripts
parentee8fa886cc0fa39ae9c41e9685a576166362906c (diff)
parentcf5e1d6120513c757bd5c71f1e3af972a9a63aeb (diff)
downloaddexon-solidity-957f23a9f4cb181b2dfaf0170816080513bfe786.tar.gz
dexon-solidity-957f23a9f4cb181b2dfaf0170816080513bfe786.tar.zst
dexon-solidity-957f23a9f4cb181b2dfaf0170816080513bfe786.zip
Merge pull request #2538 from ethereum/z3Conditions
z3 conditions
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install_deps.sh55
1 files changed, 31 insertions, 24 deletions
diff --git a/scripts/install_deps.sh b/scripts/install_deps.sh
index 24cf49d5..3a1abe10 100755
--- a/scripts/install_deps.sh
+++ b/scripts/install_deps.sh
@@ -115,7 +115,7 @@ case $(uname -s) in
echo "Installing solidity dependencies on FreeBSD."
echo "ERROR - 'install_deps.sh' doesn't have FreeBSD support yet."
echo "Please let us know if you see this error message, and we can work out what is missing."
- echo "Drop us a message at https://gitter.im/ethereum/solidity."
+ echo "Drop us a message at https://gitter.im/ethereum/solidity-dev."
exit 1
;;
@@ -167,6 +167,7 @@ case $(uname -s) in
Debian)
#Debian
+ install_z3=""
case $(lsb_release -cs) in
wheezy)
#wheezy
@@ -174,7 +175,7 @@ case $(uname -s) in
echo "ERROR - 'install_deps.sh' doesn't have Debian Wheezy support yet."
echo "See http://solidity.readthedocs.io/en/latest/installing-solidity.html for manual instructions."
echo "If you would like to get 'install_deps.sh' working for Debian Wheezy, that would be fantastic."
- echo "Drop us a message at https://gitter.im/ethereum/solidity."
+ echo "Drop us a message at https://gitter.im/ethereum/solidity-dev."
echo "See also https://github.com/ethereum/webthree-umbrella/issues/495 where we are working through Alpine support."
exit 1
;;
@@ -185,20 +186,19 @@ case $(uname -s) in
stretch)
#stretch
echo "Installing solidity dependencies on Debian Stretch (9.x)."
- echo "ERROR - 'install_deps.sh' doesn't have Debian Stretch support yet."
- echo "See http://solidity.readthedocs.io/en/latest/installing-solidity.html for manual instructions."
- echo "If you would like to get 'install_deps.sh' working for Debian Stretch, that would be fantastic."
- echo "Drop us a message at https://gitter.im/ethereum/solidity."
- exit 1
+ install_z3="libz3-dev"
+ ;;
+ buster)
+ #buster
+ echo "Installing solidity dependencies on Debian Buster (10.x)."
+ install_z3="libz3-dev"
;;
*)
#other Debian
echo "Installing solidity dependencies on unknown Debian version."
- echo "ERROR - Debian Jessie is the only Debian version which solidity has been tested on."
- echo "If you are using a different release and would like to get 'install_deps.sh'"
- echo "working for that release that would be fantastic."
- echo "Drop us a message at https://gitter.im/ethereum/solidity."
- exit 1
+ echo "ERROR - This might not work, but we are trying anyway."
+ echo "Drop us a message at https://gitter.im/ethereum/solidity-dev"
+ install_z3="libz3-dev"
;;
esac
@@ -211,7 +211,9 @@ case $(uname -s) in
gcc \
git \
libboost-all-dev \
- unzip
+ unzip \
+ "$install_z3"
+
;;
@@ -267,6 +269,7 @@ case $(uname -s) in
Ubuntu)
#Ubuntu
+ install_z3=""
case $(lsb_release -cs) in
trusty)
#trusty
@@ -287,22 +290,25 @@ case $(uname -s) in
xenial)
#xenial
echo "Installing solidity dependencies on Ubuntu Xenial Xerus (16.04)."
+ install_z3="libz3-dev"
;;
yakkety)
#yakkety
echo "Installing solidity dependencies on Ubuntu Yakkety Yak (16.10)."
- echo ""
- echo "NOTE - You are in unknown territory with this preview OS."
- echo "We will need to update the Ethereum PPAs, work through build and runtime breaks, etc."
- echo "See https://github.com/ethereum/webthree-umbrella/issues/624."
- echo "If you would like to partner with us to work through these, that"
- echo "would be fantastic. Please just comment on that issue. Thanks!"
+ install_z3="libz3-dev"
+ ;;
+ zesty)
+ #zesty
+ echo "Installing solidity dependencies on Ubuntu Zesty (17.04)."
+ install_z3="libz3-dev"
;;
*)
#other Ubuntu
echo "ERROR - Unknown or unsupported Ubuntu version (" $(lsb_release -cs) ")"
- echo "We only support Trusty, Utopic, Vivid, Wily and Xenial, with work-in-progress on Yakkety."
- exit 1
+ echo "ERROR - This might not work, but we are trying anyway."
+ echo "Please drop us a message at https://gitter.im/ethereum/solidity-dev."
+ echo "We only support Trusty, Utopic, Vivid, Wily, Xenial and Yakkety."
+ install_z3="libz3-dev"
;;
esac
@@ -311,7 +317,8 @@ case $(uname -s) in
build-essential \
cmake \
git \
- libboost-all-dev
+ libboost-all-dev \
+ "$install_z3"
if [ "$CI" = true ]; then
# Install 'eth', for use in the Solidity Tests-over-IPC.
# We will not use this 'eth', but its dependencies
@@ -375,7 +382,7 @@ case $(uname -s) in
echo "ERROR - Unsupported or unidentified Linux distro."
echo "See http://solidity.readthedocs.io/en/latest/installing-solidity.html for manual instructions."
echo "If you would like to get your distro working, that would be fantastic."
- echo "Drop us a message at https://gitter.im/ethereum/solidity."
+ echo "Drop us a message at https://gitter.im/ethereum/solidity-dev."
exit 1
;;
esac
@@ -392,6 +399,6 @@ case $(uname -s) in
echo "ERROR - Unsupported or unidentified operating system."
echo "See http://solidity.readthedocs.io/en/latest/installing-solidity.html for manual instructions."
echo "If you would like to get your operating system working, that would be fantastic."
- echo "Drop us a message at https://gitter.im/ethereum/solidity."
+ echo "Drop us a message at https://gitter.im/ethereum/solidity-dev."
;;
esac