Revert "Disable crossgen and zip file creation in the local dev build unless -pack is used" (#17873)
This commit is contained in:
commit
c3639b54f7
5 changed files with 4 additions and 13 deletions
|
@ -4,7 +4,6 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<Target Name="PopulateGenerateChecksumItems"
|
||||
Condition="'$(PackInstaller)' == 'true'"
|
||||
AfterTargets="Build"
|
||||
BeforeTargets="GenerateChecksums" >
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@ param(
|
|||
[string]$Configuration="Debug",
|
||||
[string]$Architecture="x64",
|
||||
[switch]$Sign=$false,
|
||||
[switch]$Pack=$false,
|
||||
[switch]$PgoInstrument,
|
||||
[bool]$WarnAsError=$true,
|
||||
[Parameter(ValueFromRemainingArguments=$true)][String[]]$ExtraParameters
|
||||
|
@ -24,11 +23,10 @@ if ($PgoInstrument) {
|
|||
}
|
||||
|
||||
if ($Sign) {
|
||||
$Parameters = "$Parameters -sign"
|
||||
}
|
||||
$Parameters = "$Parameters -sign /p:SignCoreSdk=true"
|
||||
|
||||
if ($Pack) {
|
||||
$Parameters = "$Parameters /p:PackInstaller=true"
|
||||
# Workaround https://github.com/dotnet/arcade/issues/1776
|
||||
$WarnAsError = $false
|
||||
}
|
||||
|
||||
$Parameters = "$Parameters -WarnAsError `$$WarnAsError"
|
||||
|
|
|
@ -45,9 +45,6 @@ while [[ $# > 0 ]]; do
|
|||
--pgoInstrument)
|
||||
args+=("/p:PgoInstrument=true")
|
||||
;;
|
||||
--pack)
|
||||
args+=("/p:PackInstaller=true")
|
||||
;;
|
||||
--help)
|
||||
echo "Usage: $0 [--configuration <CONFIGURATION>] [--architecture <ARCHITECTURE>] [--docker <IMAGENAME>] [--help]"
|
||||
echo ""
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
<Project>
|
||||
<!-- Crossgen is currently not supported on the s390x, ppc64le architecture as using mono instead of CoreCLR. -->
|
||||
<!-- Disable the cross-gen step in the local dev build, only do when -pack is specified to speed up dev builds -->
|
||||
<Target Name="CrossgenLayout"
|
||||
Condition="'$(DISABLE_CROSSGEN)' == '' AND '$(Architecture)' != 's390x' AND '$(Architecture)' != 'ppc64le' AND '$(PackInstaller)' == 'true'"
|
||||
Condition="'$(DISABLE_CROSSGEN)' == '' AND '$(Architecture)' != 's390x' AND '$(Architecture)' != 'ppc64le'"
|
||||
DependsOnTargets="SetSdkBrandingInfo">
|
||||
|
||||
<PropertyGroup>
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
<Project>
|
||||
<!-- Disable the GenerateArchives step in the local dev build, only do when -pack is specified to speed up dev builds -->
|
||||
<Target Name="GenerateArchives"
|
||||
Condition="'$(PackInstaller)' == 'true'"
|
||||
DependsOnTargets="GenerateLayout;GetCurrentRuntimeInformation"
|
||||
BeforeTargets="AfterBuild">
|
||||
|
||||
|
|
Loading…
Reference in a new issue