aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-17 15:17:58 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-17 15:17:58 +0100
commit56f062138547fac7dd26fcf1768fae9134b330fa (patch)
treef3b5f6c8700c7aa584e9838afe489350cae69d58
parent63bbec8a63590d7f743a0b365f77fd4d25aa8a50 (diff)
downloadpaludis-56f062138547fac7dd26fcf1768fae9134b330fa.tar.gz
paludis-56f062138547fac7dd26fcf1768fae9134b330fa.tar.xz
Add some steps
-rw-r--r--paludis/resolver/orderer.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/paludis/resolver/orderer.cc b/paludis/resolver/orderer.cc
index b533b7d..a74c96b 100644
--- a/paludis/resolver/orderer.cc
+++ b/paludis/resolver/orderer.cc
@@ -322,6 +322,8 @@ Orderer::resolve()
r_end(_imp->resolved->resolutions_by_resolvent()->end()) ;
r != r_end ; ++r)
{
+ _imp->env->trigger_notifier_callback(NotifierCallbackResolverStepEvent());
+
DecisionDispatcher decision_dispatcher(
_imp->resolved,
ignore_dependencies_from_resolvents,
@@ -338,6 +340,8 @@ Orderer::resolve()
r_end(_imp->resolved->resolutions_by_resolvent()->end()) ;
r != r_end ; ++r)
{
+ _imp->env->trigger_notifier_callback(NotifierCallbackResolverStepEvent());
+
if (ignore_dependencies_from_resolvents.end() != ignore_edges_from_resolvents.find((*r)->resolvent()))
continue;
@@ -357,6 +361,8 @@ Orderer::resolve()
for (SortedStronglyConnectedComponents::ConstIterator scc(ssccs->begin()), scc_end(ssccs->end()) ;
scc != scc_end ; ++scc)
{
+ _imp->env->trigger_notifier_callback(NotifierCallbackResolverStepEvent());
+
/* some (or none, or all) of the nodes in our SCC are change or remove
* nodes. this matters for cycle resolution. we identify them now, even
* though our scc might just contain a single install, rather than
@@ -428,6 +434,8 @@ Orderer::_order_sub_ssccs(
for (SortedStronglyConnectedComponents::ConstIterator sub_scc(sub_ssccs->begin()), sub_scc_end(sub_ssccs->end()) ;
sub_scc != sub_scc_end ; ++sub_scc)
{
+ _imp->env->trigger_notifier_callback(NotifierCallbackResolverStepEvent());
+
if (sub_scc->nodes()->size() == 1)
{
/* yay. it's all on its own. */