-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
Mixed source Fortran C project fails to build with 0.57 #8377
Comments
Can you test if the linked MR fixes it for you? Thanks. |
Thanks, fixes the example above. I'm still seeing a failure in the original project (module dependencies are built in wrong order), but this might be unrelated. I'll try to isolate it and report back. |
I get with e2dabe1 into situation where source code is compiled before the dependency scan is done. Trying to build https://github.com/grimme-lab/xtb with the build files generated by the fixed version I get the following compilation order:
All Fortran objects seem to be compiled without any knowledge of module dependencies before step 18 and will therefore fail in a normal build. I'll try to create a reduced example to reproduce this behaviour. |
Describe the bug
Meson 0.57 fails to build mixed source Fortran/C projects.
To Reproduce
Minimal project producing the error: mwe.tar.gz
Meson log file: meson-log.txt
Let me know if you need any additional information.
Expected behavior
Correctly build mixed Fortran/C project.
system parameters
native build
meson --version
ninja --version
if it's a Ninja buildThe text was updated successfully, but these errors were encountered: