AdaCore / e3-core

Core framework for developing portable automated build systems
26 stars 36 forks source link

Detect cycles during DAG iteration when "enable_busy_state" is set #718

Closed Jicquel closed 5 months ago

Jicquel commented 5 months ago

When "enable_busy_state" is set, iterate over the DAG made all non-visited nodes wait for predecessors as if the latter were in the busy state.

Cycles are now always checked, no matter the enable_busy_state value.

Fix issue #717

CLAassistant commented 5 months ago

CLA assistant check
All committers have signed the CLA.

Jicquel commented 5 months ago

Checks are implicitly done during vertices insertion and modification. I will close this PR, as the checks are made before iterating over the DAG.