Skip to content

Fix crossgen2 build - #51349

Merged
davidwrighton merged 7 commits into
dotnet:mainfrom
davidwrighton:fixCrossgen2Build
Apr 16, 2021
Merged

davidwrighton merged 7 commits into
dotnet:mainfrom
davidwrighton:fixCrossgen2Build

Conversation

@davidwrighton

@davidwrighton davidwrighton commented Apr 15, 2021 •

Copy link
Copy Markdown
Member
  • Include osx arm64 jit in package
    • Also use that jit when appropriate
  • build for all rids
  • build cross targeting test scenario variant from separate project file to avoid issue with incorrect app host rid
    • Remove app host from cross targeting x64 crossgen used in test scenarios

Addresses #50514

@ghost ghost added the area-ReadyToRun label Apr 15, 2021
@davidwrighton

Copy link
Copy Markdown
Member Author

@dotnet/crossgen-contrib

@trylek trylek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice, thank you!

@AntonLapounov AntonLapounov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@davidwrighton
davidwrighton merged commit be307a8 into dotnet:main Apr 16, 2021
davidwrighton pushed a commit that referenced this pull request Apr 19, 2021
@omajid

omajid commented Apr 22, 2021

Copy link
Copy Markdown
Member

As far as I can tell, this breaks building runtime on arm64 (like we do on Fedora). On an arm64 machine:

  crossgen2 -> /home/tester/runtime/artifacts/bin/coreclr/Linux.arm64.Release/crossgen2/crossgen2.dll
/home/tester/runtime/.dotnet/sdk/6.0.100-preview.2.21155.3/Microsoft.Common.CurrentVersion.targets(4941,5): error MSB3030: Could not copy the file "/home/tester/runtime/artifacts/bin/coreclr/Linux.arm64.Release/x64/libjitinterface_x64.so" because it was not found. [/home/tester/runtime/src/coreclr/tools/aot/crossgen2/crossgen2_crossarch.csproj]

Comment thread eng/Subsets.props Resolved
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jun 19, 2021
@davidwrighton
davidwrighton deleted the fixCrossgen2Build branch April 13, 2023 18:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants