summary refs log tree commit diff
path: root/src/meson.build
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-09-04 22:15:32 +0300
committerVika <vika@fireburn.ru>2024-09-04 22:15:32 +0300
commit406509dc549cb58d788a3dbd5572f28008c84546 (patch)
treeaff6115c0bfbd12ca447503d6d850feccfd9ad89 /src/meson.build
parentf16cac2d35487b1772d1c2524ed223c779f45f23 (diff)
downloadbowl-406509dc549cb58d788a3dbd5572f28008c84546.tar.zst
Make LLM enhancements optional
Diffstat (limited to 'src/meson.build')
-rw-r--r--src/meson.build6
1 files changed, 6 insertions, 0 deletions
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,