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

Support for ARM64 on Windows #6876

Open
marcoancona opened this issue Sep 4, 2024 · 4 comments
Open

Support for ARM64 on Windows #6876

marcoancona opened this issue Sep 4, 2024 · 4 comments

Comments

@marcoancona
Copy link

Problem

As far as I understand, Realm does not yet provide binaries for Windows arm64, is that correct?

With the new Microsoft ARM PCs getting more popular, this starts feeling important. We use Realm on an Electron application, and in the last month, we got several requests for a native ARM build on Windows.

Solution

No response

Alternatives

No response

How important is this improvement for you?

Would be a major improvement

Feature would mainly be used with

Local Database only

Copy link

sync-by-unito bot commented Sep 4, 2024

➤ PM Bot commented:

Jira ticket: RJS-2900

@marcoancona
Copy link
Author

Hey @kraenhansen, I know there must be a lot going on, but I wonder if you could ack this and let me know whether you see this coming or not, so we can plan accordingly.

As far as I can see, your build pipeline has a build matrix on Github Actions. Since Windows on Arm is supported by Github, would it be enough to add one more combination?

@kraenhansen
Copy link
Member

let me know whether you see this coming or not, so we can plan accordingly.

Likely not going to happen.
I don't see a future where we'll plan time to move this forward, given the product is EOL in less than a year from now.
That being said, if the community provides a PR, I'd happily review and merge it.

Since Windows on Arm is supported by Github, would it be enough to add one more combination?

I suspect Realm Core builds for Windows arm64, but I'm not 100% sure (cc @nirinchev can you confirm that?)
If so, it might be as simple as adding a new combination to the matrix.

@nirinchev
Copy link
Member

Yes - we do support windows arm64: https://github.com/realm/realm-dotnet/blob/e24061b6e91dc112142cda2d525cc60460e524fa/wrappers/build.ps1, so should not be impossible to build and test.

The Windows on Arm runners in GHA seem to be paid and rather limited in terms of preinstalled software, so might be a pain to actually run tests on those. My recommendation would be to build the arm library on x64 runners (that's fully supported by msvc) and then manually test that it works if you have access to arm hardware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants