From 2aee9c324042d38e973459cf201f3772e3c0e117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Wed, 20 Mar 2024 21:52:44 +0100 Subject: [PATCH] disable cook on demand --- engine/joint/v4k.h | 2 +- engine/split/v4k_cook.c | 2 +- engine/v4k.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/joint/v4k.h b/engine/joint/v4k.h index d08feca..36d1cb0 100644 --- a/engine/joint/v4k.h +++ b/engine/joint/v4k.h @@ -359459,7 +359459,7 @@ static cook_worker jobs[JOBS_MAX] = {0}; static volatile bool cook_cancelable = false, cook_cancelling = false, cook_debug = false; #ifndef COOK_ON_DEMAND -#define COOK_ON_DEMAND ifdef(cook, optioni("--cook-on-demand", 1), false) +#define COOK_ON_DEMAND ifdef(cook, optioni("--cook-on-demand", 0), false) #endif static diff --git a/engine/split/v4k_cook.c b/engine/split/v4k_cook.c index 38eb9b4..8d59bb4 100644 --- a/engine/split/v4k_cook.c +++ b/engine/split/v4k_cook.c @@ -459,7 +459,7 @@ static cook_worker jobs[JOBS_MAX] = {0}; static volatile bool cook_cancelable = false, cook_cancelling = false, cook_debug = false; #ifndef COOK_ON_DEMAND -#define COOK_ON_DEMAND ifdef(cook, optioni("--cook-on-demand", 1), false) +#define COOK_ON_DEMAND ifdef(cook, optioni("--cook-on-demand", 0), false) #endif static diff --git a/engine/v4k.c b/engine/v4k.c index d0f263f..77e622d 100644 --- a/engine/v4k.c +++ b/engine/v4k.c @@ -6606,7 +6606,7 @@ static cook_worker jobs[JOBS_MAX] = {0}; static volatile bool cook_cancelable = false, cook_cancelling = false, cook_debug = false; #ifndef COOK_ON_DEMAND -#define COOK_ON_DEMAND ifdef(cook, optioni("--cook-on-demand", 1), false) +#define COOK_ON_DEMAND ifdef(cook, optioni("--cook-on-demand", 0), false) #endif static