CMake dependency of Fortran library results in invalid compiler call? #11898
Unanswered
golmschenk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I'm running into an issue where during a CMake-based Fortran dependency build, the compiler (gfortran) ends up being called in an invalid way (with multiple -J options). When run directly through CMake, there are no issues. I'm not sure if Meson is calling CMake incorrectly in some way, if the CMake configuration is incompatible with Meson's CMake module in some way, or if I'm just making some mistake.
I set up a minimal example of this issue, which is just two small files (the
meson.build
and the.wrap
file for the Fortran dependency). The repository of the example can be found here: https://github.com/golmschenk/meson_fortran_stdlib. The Fortran dependency is the Fortran stdlib.The
meson.build
looks like:And the
.wrap
file, which appears as:The resulting error during the build looks like:
Any suggestions on how to resolve this, and where the root of the issue is, would be greatly appreciated. Thank you for your time!
Beta Was this translation helpful? Give feedback.
All reactions