From 3f6bc6d750eca057249c64b3e2629f2d5ef4c29e Mon Sep 17 00:00:00 2001 From: John Luo Date: Fri, 26 Feb 2016 15:45:15 -0800 Subject: [PATCH] Remove mac limit for open files --- KoreBuild-dotnet/build/KoreBuild.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/KoreBuild-dotnet/build/KoreBuild.sh b/KoreBuild-dotnet/build/KoreBuild.sh index 80217f404b..541d244d42 100755 --- a/KoreBuild-dotnet/build/KoreBuild.sh +++ b/KoreBuild-dotnet/build/KoreBuild.sh @@ -84,5 +84,10 @@ if [ -z "$DOTNET_REFERENCE_ASSEMBLIES_PATH" ]; then export DOTNET_REFERENCE_ASSEMBLIES_PATH="/usr/lib/mono/xbuild-frameworks" fi fi + +if [ "$(uname)" == "Darwin" ]; then + ulimit -n 2048 +fi + echo "Using Reference Assemblies from: $DOTNET_REFERENCE_ASSEMBLIES_PATH" mono $sakeFolder/tools/Sake.exe -I $thisDir -f $makeFilePath $targets