Skip to content

Commit

Permalink
Disable msbuild node reuse when running benchmarks
Browse files Browse the repository at this point in the history
This is to work around a Linux issue with .NET Core 2.1
https://github.com/dotnet/cli/issues/9397

(So far we haven't seen it hurt the Travis build, which may have it
disabled by default.)
  • Loading branch information
jskeet committed Jun 3, 2018
1 parent c57d10e commit 2c96000
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/runbenchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ set -e

declare -r ROOT=$(realpath $(dirname $0)/..)

# Disable msbuild node reuse, which appears to be slightly
# broken on Linux as of .NET Core 2.1. (At least on our benchmark
# machine.) See https://github.com/dotnet/cli/issues/9397
export MSBUILDDISABLENODEREUSE=1

if [[ "$3" = "" ]]
then
echo "Usage: runbenchmarks.sh <repo-directory> <results-directory> [--upload] <target-framework> [target-framework...]"
Expand Down

0 comments on commit 2c96000

Please sign in to comment.