File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
src/Installer/redist-installer/targets Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ echo %* | findstr /C:"-pack" >nul
44if %errorlevel% == 0 (
55 set PackInstaller =
66) else (
7+ REM disable crossgen for inner-loop builds to save a ton of time
78 set PackInstaller = /p:PackInstaller=false
9+ set DISABLE_CROSSGEN = true
810)
911powershell -NoLogo -NoProfile -ExecutionPolicy ByPass -command " & " " " %~dp0 eng\common\build.ps1" " " -restore -build -nativeToolsOnMachine -msbuildEngine dotnet %PackInstaller% %* "
1012exit /b %ErrorLevel%
Original file line number Diff line number Diff line change 99ScriptRoot=" $( cd -P " $( dirname " $SOURCE " ) " && pwd ) "
1010
1111if [[ " $@ " != * " -pack" * ]]; then
12+ # disable crossgen for inner-loop builds to save a ton of time
13+ export DISABLE_CROSSGEN=true
1214 packInstallerFlag=" /p:PackInstaller=false"
1315else
1416 packInstallerFlag=
Original file line number Diff line number Diff line change 623623
624624 <Target Name =" GenerateInternalLayout"
625625 DependsOnTargets =" GenerateLayout"
626- BeforeTargets =" AfterBuild" >
626+ BeforeTargets =" AfterBuild" >
627627 <RemoveDir Directories =" $(SdkInternalLayoutPath)" />
628628 <MakeDir Directories =" $(SdkInternalLayoutPath)" />
629629
You can’t perform that action at this time.
0 commit comments