[automated] Merge branch 'release/6.0.1xx' => 'main' (#12602)
* Set ulimit * Run build under sudo so that we can set ulimit * Update Versions.props * Update GenerateBundledVersions.targets * Set ulimit * Run build under sudo so that we can set ulimit * Add comments about sudo and ulimit Co-authored-by: Daniel Plaisted <daplaist@microsoft.com> Co-authored-by: Marc Paine <marcpop@microsoft.com> Co-authored-by: Daniel Plaisted <dsplaisted@gmail.com> Co-authored-by: Jason Zhai <v-wuzhai@microsoft.com> Co-authored-by: Matt Mitchell <mmitche@microsoft.com>
This commit is contained in:
commit
ea215d5a45
2 changed files with 3 additions and 0 deletions
2
build.sh
2
build.sh
|
@ -53,5 +53,7 @@ dockerbuild()
|
|||
if [ ! -z "$BUILD_IN_DOCKER" ]; then
|
||||
dockerbuild $args
|
||||
else
|
||||
# Run under sudo so we can set ulimit
|
||||
# See https://github.com/dotnet/core-eng/issues/14808
|
||||
sudo $DIR/run-build.sh $args
|
||||
fi
|
||||
|
|
|
@ -26,6 +26,7 @@ CUSTOM_BUILD_ARGS=
|
|||
[ -z $NUGET_PACKAGES ] && export NUGET_PACKAGES="$REPOROOT/.nuget/packages"
|
||||
|
||||
# Set max number of files open, helps avoid errors during NuGet restore
|
||||
# See https://github.com/dotnet/core-eng/issues/14808
|
||||
ulimit -n 16384
|
||||
|
||||
args=( )
|
||||
|
|
Loading…
Reference in a new issue