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
4
4
if %errorlevel% == 0 (
5
5
set PackInstaller =
6
6
) else (
7
+ REM disable crossgen for inner-loop builds to save a ton of time
7
8
set PackInstaller = /p:PackInstaller=false
9
+ set DISABLE_CROSSGEN = true
8
10
)
9
11
powershell -NoLogo -NoProfile -ExecutionPolicy ByPass -command " & " " " %~dp0 eng\common\build.ps1" " " -restore -build -nativeToolsOnMachine -msbuildEngine dotnet %PackInstaller% %* "
10
12
exit /b %ErrorLevel%
Original file line number Diff line number Diff line change 9
9
ScriptRoot=" $( cd -P " $( dirname " $SOURCE " ) " && pwd ) "
10
10
11
11
if [[ " $@ " != * " -pack" * ]]; then
12
+ # disable crossgen for inner-loop builds to save a ton of time
13
+ export DISABLE_CROSSGEN=true
12
14
packInstallerFlag=" /p:PackInstaller=false"
13
15
else
14
16
packInstallerFlag=
Original file line number Diff line number Diff line change 627
627
628
628
<Target Name =" GenerateInternalLayout"
629
629
DependsOnTargets =" GenerateLayout"
630
- BeforeTargets =" AfterBuild" >
630
+ BeforeTargets =" AfterBuild" >
631
631
<RemoveDir Directories =" $(SdkInternalLayoutPath)" />
632
632
<MakeDir Directories =" $(SdkInternalLayoutPath)" />
633
633
You can’t perform that action at this time.
0 commit comments