aboutsummaryrefslogtreecommitdiff
path: root/src/evanix.c
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-07-21 15:25:42 +0530
committersinanmohd <sinan@sinanmohd.com>2024-07-21 15:25:42 +0530
commitb6e392ce2d661eaa3adeaed44e133da9d99f95f3 (patch)
tree87c946704ec595fd5e1fc2d8d4fae494ab8e5ade /src/evanix.c
parentc3c983087206a0598b2610eed4dde02f15a0036f (diff)
evanix: don't use fcfs solver with --max_build
Diffstat (limited to 'src/evanix.c')
-rw-r--r--src/evanix.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/evanix.c b/src/evanix.c
index 09fecb3..6721d4e 100644
--- a/src/evanix.c
+++ b/src/evanix.c
@@ -22,7 +22,7 @@ static const char usage[] =
" -p, --pipelined <bool> Use evanix build pipeline.\n"
" -l, --check_cache-status <bool> Perform cache locality check.\n"
" -c, --close-unused-fd <bool> Close stderr on exec.\n"
- " -k, --solver fcfs|greedy Solver to use.\n"
+ " -k, --solver greedy Solver to use.\n"
"\n";
struct evanix_opts_t evanix_opts = {
@@ -34,7 +34,7 @@ struct evanix_opts_t evanix_opts = {
.system = NULL,
.solver_report = false,
.check_cache_status = true,
- .solver = solver_fcfs,
+ .solver = solver_greedy,
};
static int evanix_build_thread_create(struct build_thread *build_thread);
@@ -165,8 +165,6 @@ int main(int argc, char *argv[])
case 'k':
if (!strcmp(optarg, "greedy")) {
evanix_opts.solver = solver_greedy;
- } else if (!strcmp(optarg, "fcfs")) {
- evanix_opts.solver = solver_fcfs;
} else {
fprintf(stderr,
"option -%c has an invalid solver "