提交 66d0e157 编写于 作者: J Julien

Applying ulimit workaround on Mac and Linux (#10955)

上级 cd7b6032
......@@ -6,13 +6,9 @@ DOTNET_PATH=$ROSLYN_TOOLSET_PATH/dotnet-cli/dotnet
# Workaround, see https://github.com/dotnet/roslyn/issues/10210
export HOME=$(cd ~ && pwd)
# NuGet often exceeds the limit of open files on Mac
# NuGet often exceeds the limit of open files on Mac and Linux
# https://github.com/NuGet/Home/issues/2163
OS=$(uname -s)
if [ "$OS" == "Darwin" || "$OS" == "Linux" ]
then
ulimit -n 6500
fi
ulimit -n 6500
echo "Restoring toolset packages"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册