[flang-commits] [PATCH] D146485: Add tests from gfortran test suite [build files]

Tarun Prabhu via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu May 11 09:53:23 PDT 2023


tarunprabhu added a comment.

In D146485#4335063 <https://reviews.llvm.org/D146485#4335063>, @DavidTruby wrote:

> The gfortran tests don't build for me when I use the `Ninja` generator from CMake. It appears that multiple files in the `regression` directory have modules called `m` and so multiple `m.mod` files are generated by the compiler representing these modules, which causes `ninja` to error out.
>
> I think this is actually a legitimate race condition that doesn't get caught by `Make` as it doesn't check the outputs in the same way, but this still may cause issues if one of the compiles generates an `m.mod` file and then tries to use it but it has been replaced by the `m.mod` from another compile.

Do you get a failure at configure time or build time?


Repository:
  rT test-suite

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146485/new/

https://reviews.llvm.org/D146485



More information about the flang-commits mailing list