From 406509dc549cb58d788a3dbd5572f28008c84546 Mon Sep 17 00:00:00 2001 From: Vika Date: Wed, 4 Sep 2024 22:15:32 +0300 Subject: Make LLM enhancements optional --- src/meson.build | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/meson.build') diff --git a/src/meson.build b/src/meson.build index 350b911..3bc0c3f 100644 --- a/src/meson.build +++ b/src/meson.build @@ -10,6 +10,12 @@ else message('Building in debug mode') endif +cargo_options += [ '--no-default-features' ] + +if get_option('llm') + cargo_options += [ '--features=smart-summary' ] +endif + cargo_env = [ 'CARGO_HOME=' + meson.project_build_root() / 'cargo-home', 'PKGDATADIR=' + pkgdatadir, -- cgit 1.4.1