Skip to content

Broken Ninja builds after reconfiguring with multio 2.7.0 #215

Description

@awnawab

What happened?

If the feature MULTIO_OUTPUT_MANAGER is enabled, then ninja builds fail with the following error after reconfiguring:

[721/964] Generating Fortran dyndep file src/multiom/CMakeFiles/multiom-encoders.dir/Fortran.dd
ninja: build stopped: multiple rules generate module/multiom/grib2_encoder_mod.mod.

Make is unaffected, and clean builds with ninja work fine too. The ninja problem goes away if the output manager is disabled.

What are the steps to reproduce the bug?

Build once with ninja, reconfigure, then build again. Module versions are:

  • cmake 3.25.2
  • ninja 1.10.0
  • ecbuild 3.12.0

The other dependencies are at the versions given in the 50r1 ifs bundle

Version

2.7.0

Platform (OS and architecture)

Atos AC

Relevant log output

Accompanying data

No response

Organisation

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions