www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22078] New: install.sh: Recognize ARM64 as architecture

https://issues.dlang.org/show_bug.cgi?id=22078

          Issue ID: 22078
           Summary: install.sh: Recognize ARM64 as architecture
           Product: D
           Version: D2
          Hardware: Other
                OS: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: installer
          Assignee: nobody puremagic.com
          Reporter: doob me.com

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.

--
Jun 22 2021