mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Require libz3-dev for ubuntu PPA builds.
This commit is contained in:
parent
8af6f193bc
commit
6dd7f6284b
@ -54,14 +54,24 @@ keyid=703F83D0
|
|||||||
email=builds@ethereum.org
|
email=builds@ethereum.org
|
||||||
packagename=solc
|
packagename=solc
|
||||||
|
|
||||||
for distribution in trusty vivid xenial yakkety zesty
|
for distribution in trusty vivid xenial zesty
|
||||||
do
|
do
|
||||||
cd /tmp/
|
cd /tmp/
|
||||||
|
rm -rf $distribution
|
||||||
mkdir $distribution
|
mkdir $distribution
|
||||||
cd $distribution
|
cd $distribution
|
||||||
|
|
||||||
|
# Dependency
|
||||||
|
if [ $distribution = trusty -o $distribution = vivid ]
|
||||||
|
then
|
||||||
|
Z3DEPENDENCY=""
|
||||||
|
else
|
||||||
|
Z3DEPENDENCY="libz3-dev,
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
# Fetch source
|
# Fetch source
|
||||||
git clone --recursive https://github.com/ethereum/solidity.git -b "$branch"
|
git clone --depth 2 --recursive https://github.com/ethereum/solidity.git -b "$branch"
|
||||||
mv solidity solc
|
mv solidity solc
|
||||||
|
|
||||||
# Fetch jsoncpp dependency
|
# Fetch jsoncpp dependency
|
||||||
@ -102,7 +112,7 @@ Source: solc
|
|||||||
Section: science
|
Section: science
|
||||||
Priority: extra
|
Priority: extra
|
||||||
Maintainer: Christian (Buildserver key) <builds@ethereum.org>
|
Maintainer: Christian (Buildserver key) <builds@ethereum.org>
|
||||||
Build-Depends: debhelper (>= 9.0.0),
|
Build-Depends: ${Z3DEPENDENCY}debhelper (>= 9.0.0),
|
||||||
cmake,
|
cmake,
|
||||||
g++-4.8,
|
g++-4.8,
|
||||||
git,
|
git,
|
||||||
|
Loading…
Reference in New Issue
Block a user