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

ARM64 now has x64 emulation #2172

Open
TheCakeIsNaOH opened this issue Jan 11, 2021 · 3 comments
Open

ARM64 now has x64 emulation #2172

TheCakeIsNaOH opened this issue Jan 11, 2021 · 3 comments

Comments

@TheCakeIsNaOH
Copy link
Member

TheCakeIsNaOH commented Jan 11, 2021

Microsoft has released x64 emulation for ARM64 in preview builds.
https://blogs.windows.com/windows-insider/2020/12/10/introducing-x64-emulation-in-preview-for-windows-10-on-arm-pcs-to-the-windows-insider-program/

Thus, it is no longer always correct for Get-OSArchitectureWidth to always return 32 bit on an ARM64 system.

As of 0.10.14+, ARM64 architecture will automatically select 32bit width as
there is an emulator for 32 bit and there are no current plans by Microsoft to
ship 64 bit x86 emulation for ARM64. For more details, see
https://github.com/chocolatey/choco/issues/1800#issuecomment-484293844.

Previous issue: #1800

@riverar
Copy link

riverar commented Jan 25, 2023

I had questions about how to deploy natively on arm64 and was pointed to the repository. Found this issue. Am a little surprised at the issue age.

ping @snickler

@TheCakeIsNaOH
Copy link
Member Author

@riverar Currently, the Chocolatey CLI PowerShell helpers do not have any built in support for native ARM/ARM64 software. This issue is about adding support for amd64 running emulated on arm64, now that emulation has been added. You want issue #1803 instead.

@riverar
Copy link

riverar commented Jan 25, 2023

Both really. If I don't choose to package arm64 binaries, I think Chocolatey should at least use the x64 executables not the x86 ones.

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

No branches or pull requests

2 participants