Repository navigation
Enable IJW interop test native projects on Arm64 - #130076
Merged
Merged
Conversation
Co-authored-by: jkotas <[email protected]>
Copilot
AI
changed the title
Enable IJW interop test native projects on ARM64
Enable IJW interop test native projects on Arm64
Jul 1, 2026
jkotas
marked this pull request as ready for review
July 1, 2026 16:14
Contributor
|
Tagging subscribers to this area: @dotnet/interop-contrib |
Contributor
There was a problem hiding this comment.
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_ARM64gate around adding IJW native subdirectories underCLR_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.
Co-authored-by: AaronRobinsonMSFT <[email protected]>
Member
|
@jkotas This is a test failure. It is the classic issue of floating point error and expecting |
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]>
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Co-authored-by: AaronRobinsonMSFT <[email protected]>
Co-authored-by: Aaron R Robinson <[email protected]>
Co-authored-by: Aaron R Robinson <[email protected]>
Member
|
@jkotas PTAL |
AaronRobinsonMSFT
enabled auto-merge (squash)
July 2, 2026 13:17
Member
|
@elinor-fung Could you please approve this PR? Neither me nor Aaron can approve. |
elinor-fung
approved these changes
Jul 2, 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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.