Update to support ARM64 build target#5246
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
❌ Build CefSharp 147.0.100-CI5487 failed (commit 14883d302f by @jamescharters) |
|
❌ Build CefSharp 147.0.100-CI5488 failed (commit da5271272b by @) |
|
@amaitland Hi Alex, this is currently a draft of changes to get this building for ARM64. My team has compiled this locally and is using it on real ARM64 hardware (M4 Macs) without issue. Was wanting to know how to move forward with this, as it looks like the CI/CD environment does not support this architecture. |
|
❌ Build CefSharp 148.0.90-CI5510 failed (commit fd4a1df55e by @jamescharters) |
Fixes: [issue-number]
Summary: [summary of the change and which issue is fixed here]
This change introduces full ARM64 support for CefSharp, covering native C++/CLI projects, managed .NET Framework projects, NuGet packaging, and the build pipeline. It enables CefSharp to be built and distributed for Windows ARM64 devices natively.
Changes: [specify the structures changed]
How Has This Been Tested?
Built the solution targeting ARM64 using build.ps1 with -BuildArches arm64 -Target vs2022 on an AMD64 host (cross-compile). Verified arm64 binaries are produced in bin\arm64\Release for both CefSharp.Core.Runtime and CefSharp.BrowserSubprocess.
Screenshots (if appropriate):
Types of changes
Checklist: