Install windows/amd64 binaries on windows/arm64 #2514
-
Feature OverviewWindows 11 on arm64 is able to run binaries natively compiled for amd64. So Aqua should install amd64 binaries on arm64 platform if no arm64 binary is available. Why is the feature needed?There are not so many tools that are compiled natively for windows/arm64. Supporting tools for windows/amd64 would significantly increase the visibility and usability of Aqua on windows/arm64. Same as Rosetta2. EDIT: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 17 replies
-
Thank you for your report. https://learn.microsoft.com/en-us/windows/arm/arm64ec I don't have Windows arm64 machine so I can't verify aqua on that, but as you said maybe a feature like rosetta2 for Windows is useful. windows_x64_emulation: true |
Beta Was this translation helpful? Give feedback.
-
There is just one really strange behavior: I would say if someone uses the $ aqua info # installed using aqua-installer
{
"version": "2.20.0",
"commit_hash": "61aaaa971b1fc06ff782b458e4ff85886fb61f39",
"os": "windows",
"arch": "amd64",
"pwd": "C:\\Users\\...\\.local\\share\\chezmoi",
"root_dir": "C:/Users/.../AppData/Local/aquaproj-aqua/",
"env": {
"AQUA_GLOBAL_CONFIG": "C:/Users/.../.config/aqua/aqua.yaml",
"AQUA_POLICY_CONFIG": "C:/Users/.../.config/aqua/aqua-policy.yaml",
"AQUA_ROOT_DIR": "C:/Users/.../AppData/Local/aquaproj-aqua/"
},
"config_files": []
} While the manually downloaded pre-release correctly reports $ aqua info # manually download aqua for arm64
{
"version": "2.20.0-1",
"commit_hash": "1a20f34a0560d5e07147745376c251b2257cfed4",
"os": "windows",
"arch": "arm64",
"pwd": "C:\\Users\\...\\.local\\share\\chezmoi",
"root_dir": "C:/Users/.../AppData/Local/aquaproj-aqua/",
"env": {
"AQUA_GLOBAL_CONFIG": "C:/Users/.../.config/aqua/aqua.yaml",
"AQUA_POLICY_CONFIG": "C:/Users/.../.config/aqua/aqua-policy.yaml",
"AQUA_ROOT_DIR": "C:/Users/.../AppData/Local/aquaproj-aqua/"
},
"config_files": []
} I can also ask $ scoop install aqua --arch <32bit|64bit|arm64> But AFAIK $ scoop install aqua will install the arm64 binary even if started from msys2. Could it be a solution to modify $ curl -sSfL https://raw.githubusercontent.com/aquaproj/aqua-installer/v2.2.0/aqua-installer | bash -s -- -v v2.20.0 -a arm64 |
Beta Was this translation helpful? Give feedback.
-
Here is an open issue regarding Yes, with export AQUA_GOARCH=arm64 I get |
Beta Was this translation helpful? Give feedback.
aqua v2.20.0 is out 🎉
https://github.com/aquaproj/aqua/releases/tag/v2.20.0
A field
windows_arm_emulation
was added.