-
Notifications
You must be signed in to change notification settings - Fork 14
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
Apple Silicon support #78
Comments
DMD is unsupported on arm, on ARM your only compiler choices are LDC and GDC (and on mac really only LDC) |
We should at least make the default on arm be LDC. |
the default should be ldc if not set and not x86, but I'll make a PR to add an explicit |
Since there is the transparent Rosetta translation layer, shouldn't DMD generally work just fine? It won't output native ARM executables, of course, but that may not be necessary anyway. |
It looks like install.sh allows dmd to be installed on arm64 macs so I see no reason why the action should hard fail on macos-latest: I'll go and remove the checks and everything should just work. The action also (tries to) default to ldc-latest on non-x86 and dmd-latest on x86. I think it's fine to leave this as is even if dmd would work on arm64 macs. |
There is already code in the action that picks between dmd-latest and ldc-latest based on the CPU architecture when a D compiler is not specified. Having the default value in action.yml prevented this code from ever running. This leads to users receiving an error message and having to specify `dc: ldc` manually. Bug: dlang-community#78 Signed-off-by: Andrei Horodniceanu <[email protected]>
There is already code in the action that picks between dmd-latest and ldc-latest based on the CPU architecture when a D compiler is not specified. Having the default value in action.yml prevented this code from ever running. This leads to users receiving an error message and having to specify `dc: ldc` manually. Bug: dlang-community#78 Signed-off-by: Andrei Horodniceanu <[email protected]>
There is already code in the action that picks between dmd-latest and ldc-latest based on the CPU architecture when a D compiler is not specified. Having the default value in action.yml prevented this code from ever running. This leads to users receiving an error message and having to specify `dc: ldc` manually. Bug: #78 Signed-off-by: Andrei Horodniceanu <[email protected]>
The
macos-latest
runner at GitHub is now an arm64 machine. It looks like this action (or DMD?) does not support it:The text was updated successfully, but these errors were encountered: