Update dependencies list
This commit is contained in:
parent
07501f1d3a
commit
17a274b670
26
build.psm1
26
build.psm1
|
@ -445,14 +445,30 @@ function Start-PSBootstrap {
|
|||
|
||||
try {
|
||||
# Install ours and .NET's dependencies
|
||||
$Deps = @()
|
||||
if ($IsUbuntu) {
|
||||
sudo apt-get install -y -qq curl make g++ cmake libc6 libgcc1 libstdc++6 libcurl3 libgssapi-krb5-2 libicu52 liblldb-3.6 liblttng-ust0 libssl1.0.0 libunwind8 libuuid1 zlib1g clang-3.5
|
||||
# Build tools
|
||||
$Deps += "curl", "g++", "cmake", "make"
|
||||
# .NET Core required runtime libraries
|
||||
$Deps += "libicu52", "libunwind8"
|
||||
# Install dependencies
|
||||
sudo apt-get install -y -qq $Deps
|
||||
} elseif ($IsCentos) {
|
||||
sudo yum install -y -q curl make gcc-c++ cmake glibc libgcc libstdc++ libcurl krb5-libs libicu lldb openssl-libs libunwind libuuid zlib clang
|
||||
# Build tools
|
||||
$Deps += "curl", "gcc-c++", "cmake", "make"
|
||||
# .NET Core required runtime libraries
|
||||
$Deps += "libicu", "libunwind"
|
||||
# Install dependencies
|
||||
sudo yum install -y -q $Deps
|
||||
} elseif ($IsOSX) {
|
||||
precheck 'brew' "Bootstrap dependency 'brew' not found, must install Homebrew! See http://brew.sh/"
|
||||
|
||||
brew install curl cmake openssl
|
||||
# Build tools
|
||||
$Deps += "curl", "cmake"
|
||||
# .NET Core required runtime libraries
|
||||
$Deps += "openssl"
|
||||
# Install dependencies
|
||||
brew install $Deps
|
||||
# OpenSSL libraries must be updated
|
||||
brew link --force openssl
|
||||
} else {
|
||||
Write-Warning "This script only supports Ubuntu 14.04, CentOS 7, and OS X, you must install dependencies manually!"
|
||||
|
@ -1757,4 +1773,4 @@ $script:RESX_TEMPLATE = @'
|
|||
</resheader>
|
||||
{0}
|
||||
</root>
|
||||
'@
|
||||
'@
|
||||
|
|
Loading…
Reference in a new issue