Skip to content

Commit

Permalink
[release/6.0] Add more crossgen2 dependencies
Browse files Browse the repository at this point in the history
- backport of dotnet#37374, `cherry-pick` of 64f0642

Add more `crossgen2` dependencies (dotnet#37374)

  * Fix build on an arm64 machine
    * Building ASP.NET Core on an arm64 machine leads to a dependency error
      because `crossgen2` is not listed in eng/Dependencies.props.
  * Add all arm/arm64 variants
  * Add all win variants for `crossgen2`

  Co-authored-by: Doug Bunting <[email protected]>
  • Loading branch information
omajid authored and dougbu committed Oct 8, 2021
1 parent 51b4a16 commit 80bf351
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions eng/Dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,15 @@ and are generated based on the last package release.
<!-- Crossgen2 compiler -->
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.osx-x64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.osx-arm64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.linux-arm" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.linux-arm64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.linux-musl-arm" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.linux-musl-arm64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.linux-musl-x64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.linux-x64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.win-x64" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.win-x86" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.win-arm" />
<LatestPackageReference Include="Microsoft.NETCore.App.Crossgen2.win-arm64" />
</ItemGroup>

Expand Down

0 comments on commit 80bf351

Please sign in to comment.