Skip to content

Enable IJW interop test native projects on Arm64 - #130076

Merged
AaronRobinsonMSFT merged 7 commits into
mainfrom
copilot/enable-ijw-tests-on-arm64
Jul 2, 2026
Merged

AaronRobinsonMSFT merged 7 commits into
mainfrom
copilot/enable-ijw-tests-on-arm64

Conversation

Copilot AI commented Jul 1, 2026 •

Copy link
Copy Markdown
Contributor

IJW tests were incorrectly excluded for Arm64 in src/tests/Interop/CMakeLists.txt. This change removes that stale architecture gate so IJW native test projects are included for Arm64 builds.

Copilot AI requested review from Copilot and removed request for Copilot July 1, 2026 11:54
Copilot AI changed the title Enable IJW interop test native projects on ARM64 Enable IJW interop test native projects on Arm64 Jul 1, 2026
Copilot AI requested a review from jkotas July 1, 2026 11:55
Copilot finished work on behalf of jkotas July 1, 2026 11:55
@github-actions github-actions Bot added the area-Infrastructure-coreclr Only use for closed issues label Jul 1, 2026
@jkotas jkotas added area-Interop-coreclr and removed area-Infrastructure-coreclr Only use for closed issues labels Jul 1, 2026
@jkotas
jkotas marked this pull request as ready for review July 1, 2026 16:14
Copilot AI review requested due to automatic review settings July 1, 2026 16:14
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

Copilot AI 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.

Pull request overview

This PR changes the Interop native test CMake configuration so that IJW native subprojects are no longer conditionally excluded based on the host being ARM64, and are instead always included for Windows target builds.

Changes:

  • Removes the CLR_CMAKE_HOST_ARCH_ARM64 gate around adding IJW native subdirectories under CLR_CMAKE_TARGET_WIN32.
  • Causes IJW native test projects (e.g., IjwNativeDll, IjwNativeCallingManagedDll, etc.) to be included in the native test build graph on Windows regardless of host architecture.

Comment thread src/tests/Interop/CMakeLists.txt Resolved
@AaronRobinsonMSFT

Copy link
Copy Markdown
Member

@jkotas This is a test failure. It is the classic issue of floating point error and expecting == to evaluate true. x64 seems to be okay, but there is some error on arm64.

The IJW NativeVarargs test compared accumulated floating-point sums with
exact equality. The managed expected path and the native summation round
intermediate results in a different order, so single-precision HFA sums
differ in the low-order bits on Arm64, failing the == check. Compare the
floating-point results with a small relative tolerance instead.

Co-authored-by: Copilot <[email protected]>
Copilot AI review requested due to automatic review settings July 2, 2026 03:45

Copilot AI 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.

Copilot's findings

  • Files reviewed: 3/3 changed files
  • Comments generated: 4

Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Copilot AI review requested due to automatic review settings July 2, 2026 04:39

Copilot AI 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.

Copilot's findings

  • Files reviewed: 3/3 changed files
  • Comments generated: 2

Co-authored-by: Aaron R Robinson <[email protected]>
Copilot AI review requested due to automatic review settings July 2, 2026 04:53

Copilot AI 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.

Copilot's findings

  • Files reviewed: 3/3 changed files
  • Comments generated: 0 new

Co-authored-by: Aaron R Robinson <[email protected]>
Copilot AI review requested due to automatic review settings July 2, 2026 04:56

Copilot AI 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.

Copilot's findings

  • Files reviewed: 3/3 changed files
  • Comments generated: 0 new

@AaronRobinsonMSFT

Copy link
Copy Markdown
Member

@jkotas PTAL

@AaronRobinsonMSFT
AaronRobinsonMSFT enabled auto-merge (squash) July 2, 2026 13:17
@AaronRobinsonMSFT AaronRobinsonMSFT added this to the 11.0.0 milestone Jul 2, 2026

@jkotas jkotas 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.

Thanks!

@jkotas

jkotas commented Jul 2, 2026

Copy link
Copy Markdown
Member

@elinor-fung Could you please approve this PR? Neither me nor Aaron can approve.

@AaronRobinsonMSFT
AaronRobinsonMSFT merged commit 901aedd into main Jul 2, 2026
88 checks passed
@AaronRobinsonMSFT
AaronRobinsonMSFT deleted the copilot/enable-ijw-tests-on-arm64 branch July 2, 2026 17:21
@dotnet-milestone-bot dotnet-milestone-bot Bot modified the milestones: 11.0.0, 11.0-preview7 Jul 3, 2026
eiriktsarpalis pushed a commit that referenced this pull request Jul 15, 2026
IJW tests were incorrectly excluded for Arm64 in
`src/tests/Interop/CMakeLists.txt`. This change removes that stale
architecture gate so IJW native test projects are included for Arm64
builds.

---------

Co-authored-by: jkotas <[email protected]>
Co-authored-by: AaronRobinsonMSFT <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants