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

David Truby via Phabricator via flang-commits flang-commits at lists.llvm.org
Thu May 11 07:57:18 PDT 2023


DavidTruby added a comment.

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.


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