C++ Logo


Advanced search

Re: [SG15] [isocpp-modules] Reuse of the built modules (BMI) paper

From: Ben Boeckel <ben.boeckel_at_[hidden]>
Date: Tue, 18 Jun 2019 13:04:28 -0400
On Mon, Jun 17, 2019 at 14:48:18 -0400, Matthew Woehlke wrote:
> that a.cpp depends on, whereas I *always*¹ need to rebuild the BMI for
> a.cpp with or without reusable BMI's.
> (¹ Pedantically, it depends on if what was changed affects the BMI or
> not. I'm not sure if IDE's will become "smart enough" to make this
> determination.)

The compiler can decide to say the BMI that is there is sufficient and
leave it alone (either by hash or mtime). At least ninja (with `restat =
1`) will see that and prune the subgraph that no longer needs scheduled
because it is up-to-date with the output.


Received on 2019-06-18 12:06:47