-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
openmpi: build fails on aarch64-darwin #127608
Comments
Submitted PR #127694 which disables Fortran support for OpenMPI on aarch64-darwin. Would that fix the issue for you or do you require Fortran? |
This seems to be the build failure:
|
I actually have no idea if I require Fortran. I mean, presumably it's enabled for some reason, so I'm a little wary of disabling it on only one platform/arch combination: that feels like an atypical workaround. |
To reproduce: nix-shell -p gfortran
cat <<EOF > foo.f90
program fsize
external size
CHARACTER :: x(2)
call size(x(1),x(2))
end program
EOF
gfortran foo.f90 foo.o -o foo I wonder if the gcc maintainers can offer any insight? @Synthetica, @vcunat, @Ericson2314 |
could work around that? (no idea what's the real cause though, and I have no Darwin machine at hand) |
You were right! Sent a PR in #128606 |
Describe the bug
I'm on a mission to get
gdal
(and thencepostgis
) compiling on M1 Macs, and having fixedhdf4
, the next stumbling block isopenmpi
4.1.1. Sadly, the build fails withchecking size of Fortran CHARACTER... configure: WARNING: Could not determine size of CHARACTER
, presumably related togfortran
.To Reproduce
Steps to reproduce the behavior:
nix-build --argstr localSystem aarch64-darwin -A openmpi
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Additional context
This works fine when built for x86_64 on the same machine.
Notify maintainers
@markuskowa
Metadata
"x86_64-darwin"
Darwin 20.5.0, macOS 10.16
yes
no
nix-env (Nix) 2.3.10
"darwin, nixpkgs-21.11pre295944.0747387223e"
/Users/steve/.nix-defexpr/channels/nixpkgs
Maintainer information:
The text was updated successfully, but these errors were encountered: