Skip to content

Commit

Permalink
Fix the coreclr outerloop build (#34223)
Browse files Browse the repository at this point in the history
Revert the warn as error as it's causing the coreclr outerloop build to
break. Investigated fixing the warnings but there are a mix of C# and IL
warnings. The latter I'm less sure of the fix. Reverting to unblock and
will investigate the warnings in parallel.

closes #34220
  • Loading branch information
jaredpar authored Mar 28, 2020
1 parent e35a19c commit fa70639
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/coreclr/build-test.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ set __MsbuildErr=/flp2:ErrorsOnly;LogFile="%__BuildErr%"
set __Logging='!__MsbuildLog!' '!__MsbuildWrn!' '!__MsbuildErr!'

powershell -NoProfile -ExecutionPolicy ByPass -NoLogo -Command "%__RepoRootDir%\eng\common\msbuild.ps1" %__ArcadeScriptArgs%^
%__ProjectDir%\tests\build.proj -warnAsError:1 /t:BatchRestorePackages /nodeReuse:false^
%__ProjectDir%\tests\build.proj -warnAsError:0 /t:BatchRestorePackages /nodeReuse:false^
/p:RestoreDefaultOptimizationDataPackage=false /p:PortableBuild=true^
/p:UsePartialNGENOptimization=false /maxcpucount^
%__SkipFXRestoreArg%^
Expand Down Expand Up @@ -355,7 +355,7 @@ for /l %%G in (1, 1, %__NumberOfTestGroups%) do (

if not "%__CopyNativeTestBinaries%" == "1" (
set __MSBuildBuildArgs=!__ProjectDir!\tests\build.proj
set __MSBuildBuildArgs=!__MSBuildBuildArgs! -warnAsError:1
set __MSBuildBuildArgs=!__MSBuildBuildArgs! -warnAsError:0
set __MSBuildBuildArgs=!__MSBuildBuildArgs! /nodeReuse:false
set __MSBuildBuildArgs=!__MSBuildBuildArgs! !__Logging!
set __MSBuildBuildArgs=!__MSBuildBuildArgs! !TargetsWindowsMsbuildArg!
Expand All @@ -379,7 +379,7 @@ for /l %%G in (1, 1, %__NumberOfTestGroups%) do (
goto :Exit_Failure
)
) else (
set __MSBuildBuildArgs=!__ProjectDir!\tests\build.proj -warnAsError:1 /nodeReuse:false !__Logging! !TargetsWindowsMsbuildArg! !__msbuildArgs! !__PriorityArg! !__SkipFXRestoreArg! !__UnprocessedBuildArgs! "/t:CopyAllNativeProjectReferenceBinaries"
set __MSBuildBuildArgs=!__ProjectDir!\tests\build.proj -warnAsError:0 /nodeReuse:false !__Logging! !TargetsWindowsMsbuildArg! !__msbuildArgs! !__PriorityArg! !__SkipFXRestoreArg! !__UnprocessedBuildArgs! "/t:CopyAllNativeProjectReferenceBinaries"
echo Running: msbuild !__MSBuildBuildArgs!
!__CommonMSBuildCmdPrefix! !__MSBuildBuildArgs!

Expand Down

0 comments on commit fa70639

Please sign in to comment.