Skip to content

Commit

Permalink
source-build: don't use crossgen when building for mono runtime. (#44977
Browse files Browse the repository at this point in the history
)

Co-authored-by: Tom Deseyn <tom.deseyn@gmail.com>
  • Loading branch information
github-actions[bot] and tmds authored Nov 10, 2022
1 parent 66bba56 commit 7b02f8c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .azure/pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ stages:
--all
--no-build-nodejs
--no-build-java
--binarylog
-p:OnlyPackPlatformSpecificPackages=true
-p:AssetManifestFileName=aspnetcore-MacOS_arm64.xml
$(_BuildArgs)
Expand Down Expand Up @@ -447,6 +448,7 @@ stages:
--all
--no-build-nodejs
--no-build-java
--binarylog
-p:OnlyPackPlatformSpecificPackages=true
-p:AssetManifestFileName=aspnetcore-MacOS_x64.xml
$(_BuildArgs)
Expand Down Expand Up @@ -481,6 +483,7 @@ stages:
--all
--no-build-nodejs
--no-build-java
--binarylog
-p:OnlyPackPlatformSpecificPackages=true
$(_BuildArgs)
$(_InternalRuntimeDownloadArgs)
Expand Down Expand Up @@ -525,6 +528,7 @@ stages:
--all
--no-build-nodejs
--no-build-java
--binarylog
-p:OnlyPackPlatformSpecificPackages=true
-p:AssetManifestFileName=aspnetcore-Linux_arm.xml
$(_BuildArgs)
Expand Down Expand Up @@ -558,6 +562,7 @@ stages:
--all
--no-build-nodejs
--no-build-java
--binarylog
-p:OnlyPackPlatformSpecificPackages=true
$(_BuildArgs)
$(_InternalRuntimeDownloadArgs)
Expand Down Expand Up @@ -598,6 +603,7 @@ stages:
--all
--no-build-nodejs
--no-build-java
--binarylog
-p:OnlyPackPlatformSpecificPackages=true
-p:AssetManifestFileName=aspnetcore-Linux_musl_x64.xml
$(_BuildArgs)
Expand Down Expand Up @@ -633,6 +639,7 @@ stages:
--all
--no-build-nodejs
--no-build-java
--binarylog
-p:OnlyPackPlatformSpecificPackages=true
-p:AssetManifestFileName=aspnetcore-Linux_musl_arm.xml
$(_BuildArgs)
Expand Down Expand Up @@ -667,6 +674,7 @@ stages:
--all
--no-build-nodejs
--no-build-java
--binarylog
-p:OnlyPackPlatformSpecificPackages=true
-p:AssetManifestFileName=aspnetcore-Linux_musl_arm64.xml
$(_BuildArgs)
Expand Down
1 change: 1 addition & 0 deletions eng/SourceBuild.props
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@

<PropertyGroup>
<InnerBuildArgs>$(InnerBuildArgs) /p:SourceBuildRuntimeIdentifier=$(TargetRuntimeIdentifier)</InnerBuildArgs>
<InnerBuildArgs Condition="'$(SourceBuildUseMonoRuntime)' == 'true'">$(InnerBuildArgs) /p:CrossgenOutput=false</InnerBuildArgs>
</PropertyGroup>
</Target>

Expand Down

0 comments on commit 7b02f8c

Please sign in to comment.