diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-03-22 10:23:12 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-03-22 18:58:22 +0100 |
commit | df07927f2837986fe7d9c6a9313fa8b759870b1b (patch) | |
tree | d4a151b5fff555ab5cb9adc71d03bf9e43c73c22 /src/buildtool/build_engine/expression/target_node.hpp | |
parent | 833dc67563c01442eebb246a5f4316685d2eb17c (diff) | |
download | justbuild-df07927f2837986fe7d9c6a9313fa8b759870b1b.tar.gz |
Avoid unnecessary calls to serve for export targets
For export targets, we know ahead of time the effective configuration;
so, if the current configuration is not the effective anyway, we
can simply analyse the effective configuration and take that result.
In this way, we can avoid calls to serve if a target is analysed
in two configurations that coincide on the flexible variables.
Diffstat (limited to 'src/buildtool/build_engine/expression/target_node.hpp')
0 files changed, 0 insertions, 0 deletions