aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-07-11 22:19:59 +0530
committersinanmohd <sinan@sinanmohd.com>2024-07-11 22:19:59 +0530
commit456460cd243cfc49423373cd8c0035ecc523bf7e (patch)
tree2e1cbef1647f8b434baa089ee4494421f6acd282 /src
parent7d8a77e59dd18e3cdca1f3c5175693f7c19d07eb (diff)
solver_greedy/solver_report: remove redundant data
Diffstat (limited to 'src')
-rw-r--r--src/solver_greedy.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/solver_greedy.c b/src/solver_greedy.c
index 9b3e150..7b7ccaa 100644
--- a/src/solver_greedy.c
+++ b/src/solver_greedy.c
@@ -83,17 +83,13 @@ int solver_greedy(struct job_clist *q, int32_t *max_build, struct job **job)
if (!evanix_opts.solver_report)
continue;
- printf("ℹ️ cost: %2d, conformity: %.2f <-> %s -> %s\n",
- job_cost(j), conformity_cur, j->name, j->drv_path);
+ printf("ℹ️ cost: %2d, conformity: %.2f -> %s\n",
+ job_cost(j), conformity_cur, j->drv_path);
}
if (selected == NULL)
return -ESRCH;
- if (evanix_opts.solver_report)
- printf("✅ cost: %2d, conformity: %.2f <-> %s -> %s\n",
- job_cost(selected), conformity_max, selected->name,
- selected->drv_path);
*max_build -= job_cost(selected);
*job = selected;
return 0;