Open TheCakeIsNaOH opened 3 years ago
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
@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.
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.
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. https://github.com/chocolatey/choco/blob/f924d47fb4177a9a34ff0c2bf995938b5c12800b/src/chocolatey.resources/helpers/functions/Get-OSArchitectureWidth.ps1#L34-L37Previous issue: #1800