Date: Mon, 4 Nov 2024 14:59:25 +0200
Steve Downey <sdowney_at_[hidden]> writes:
> I think we agree, though, that a deterministic dynamic set of files is in
> scope for any serious build system, and non-deterministic is out of scope
> and not something we need to worry about letting C++ do?
That depends on how you define "non-deterministic". If it's "anything
that is difficult/impossible for a meta-build system", then no, we do
not agree ;-).
Concrete example: Apache Thrift generates a dynamic set of C++ source
files, one for each service defined in the input file (plus I think for
some other language constructs). This is impossible to handle cleanly
in a meta-build system unless the underlying build system can handle
it natively. Is this case considered deterministic on not?
> I think we agree, though, that a deterministic dynamic set of files is in
> scope for any serious build system, and non-deterministic is out of scope
> and not something we need to worry about letting C++ do?
That depends on how you define "non-deterministic". If it's "anything
that is difficult/impossible for a meta-build system", then no, we do
not agree ;-).
Concrete example: Apache Thrift generates a dynamic set of C++ source
files, one for each service defined in the input file (plus I think for
some other language constructs). This is impossible to handle cleanly
in a meta-build system unless the underlying build system can handle
it natively. Is this case considered deterministic on not?
Received on 2024-11-04 12:58:26