-
Notifications
You must be signed in to change notification settings - Fork 5
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
Meson doesn't work with the clang+gfortran combo on arm64 macOS #48
Comments
I'd like to give that go - can look at it tomorrow (Wednesday 27th July). If anyone else would prefer to get a clear shot at it instead - please let me know. |
that |
Yes indeed, that's a typo. It reproduces the error, so I didn't notice. There's no change with
|
This sure looks like a bug either in gfortran, or the way gfortran is being compiled. this works perfectly fine for me with gfortran and clang on Linux (no gcc installed). |
Was indeed a gfortran issue, fixed in conda-forge now. There are other issues for macOS that are due to using build flags or options that aren't portable:
Those don't really need an open issue, they simply need to be fixed by using more portable code in |
An attempted build will immediately fail with:
Related issue: conda-forge/gfortran_osx-64-feedstock#11. Trying that "fake
cc1
" workaround does not make a difference. The issue is that Meson expects that if you're usinggfortran
, you are also usinggcc
. It tries to executegfortran -E -dm -
at https://github.com/mesonbuild/meson/blob/61993f893bbdc2415155e28ee70e6ea806725e64/mesonbuild/environment.py#L668-L671. And that just does not result in a valid call toclang
. Trying that with verbose output:Looks like that needs a fix in Meson.
The text was updated successfully, but these errors were encountered: