Skip to content

Conversation

@jkoritzinsky
Copy link
Member

Fixes #123499

@github-actions github-actions bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jan 28, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request fixes issue #123499 where runtime-coreclr crossgen2 TestReadyToRun_Libraries pipelines fail with error NETSDK1095 about ReadyToRun compilation not being supported for the selected target platform or architecture.

Changes:

  • Creates a new tests.readytorun.targets file that overrides the SDK's ResolveReadyToRunCompilers target to use the in-tree crossgen2 compiler instead of relying on SDK-provided crossgen2 packs
  • Integrates this new targets file into the test build process by importing it via AfterMicrosoftNETSdkTargets when TestReadyToRun is enabled

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
eng/testing/tests.singlefile.targets Adds import of tests.readytorun.targets after SDK targets when TestReadyToRun is enabled
eng/testing/tests.readytorun.targets New file that overrides ResolveReadyToRunCompilers target to point to in-tree crossgen2 compiler, with special handling for Android targets

@jkoritzinsky
Copy link
Member Author

/azp run runtime-coreclr crossgen2

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

/azp run runtime-coreclr crossgen2

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copilot AI review requested due to automatic review settings January 30, 2026 20:26
@jkoritzinsky
Copy link
Member Author

/azp run runtime-coreclr crossgen2

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@jkoritzinsky
Copy link
Member Author

/azp run runtime-coreclr crossgen2

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copilot AI review requested due to automatic review settings January 31, 2026 01:31
@jkoritzinsky
Copy link
Member Author

/azp run runtime-coreclr crossgen2

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

…r to handle our live-ref-pack copies (and remove a prior hack that isn't needed any more).
@jkoritzinsky
Copy link
Member Author

/azp run runtime-coreclr crossgen2

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

/azp run runtime-coreclr crossgen2

@jkoritzinsky jkoritzinsky enabled auto-merge (squash) February 3, 2026 20:21
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky jkoritzinsky merged commit 01ff262 into dotnet:main Feb 4, 2026
166 of 175 checks passed
@github-project-automation github-project-automation bot moved this to Done in AppModel Feb 4, 2026
lewing pushed a commit to lewing/runtime that referenced this pull request Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners

Projects

Status: Done

3 participants