Bug 22078 – install.sh: Recognize ARM64 as architecture

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
installer
Product
D
Version
D2
Platform
Other
OS
Mac OS X
Creation time
2021-06-23T05:31:37Z
Last change time
2021-11-28T04:15:30Z
Keywords
pull
Assigned to
No Owner
Creator
Jacob Carlborg

Comments

Comment #0 by doob — 2021-06-23T05:31:37Z
macOS on Apple Silicon reports its architecture, using `uname`, as "arm64". The install.sh script complains that this is not a valid architecture. On Linux, the architecture is reported as "aarch64", which install.sh does recognize. I'm not sure if there are other platforms that are using "arm64" as the identifier for the architecture. It's probably a good idea to recognize both.
Comment #1 by dlang-bot — 2021-11-24T05:51:39Z
@lionello created dlang/installer pull request #488 "Fix for LDC arm64 build" fixing this issue: - fix Issue 22078: Fix for LDC arm64 build https://github.com/dlang/installer/pull/488
Comment #2 by dlang-bot — 2021-11-28T04:15:30Z
dlang/installer pull request #488 "Fix for LDC arm64 build" was merged into master: - 01bd5986a9a8d47dce7a2bb1b8b8f1fb090abc0e by Lionello Lunesu: fix Issue 22078: Fix for LDC arm64 build https://github.com/dlang/installer/pull/488