Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[main] Enable dedup only when targeting arm64 #20953

Merged
merged 2 commits into from
Jul 30, 2024
Merged

[main] Enable dedup only when targeting arm64 #20953

merged 2 commits into from
Jul 30, 2024

Conversation

dalexsoto
Copy link
Member

Backport of #20952


Description

Previous fix #20945 did not take into account that when we target non arm64 apple mobile platforms we are using MONO_AOT_MODE_INTERP_ONLY which cannot use dedup optimization as it discards AOT images during runtime.

Changes

  • Enable dedup only when targeting ARM64
  • Fix tests to cover builds for both ARM64 and X64 builds

Finally, the change was tested against MAUI iossimulator-x64 template app

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@dalexsoto dalexsoto merged commit 76769f1 into main Jul 30, 2024
7 of 15 checks passed
@dalexsoto dalexsoto deleted the alex/dev/dedup branch July 30, 2024 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants