diff options
author | Vika <vika@fireburn.ru> | 2024-09-04 22:15:32 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2024-09-04 22:15:32 +0300 |
commit | 406509dc549cb58d788a3dbd5572f28008c84546 (patch) | |
tree | aff6115c0bfbd12ca447503d6d850feccfd9ad89 /src/meson.build | |
parent | f16cac2d35487b1772d1c2524ed223c779f45f23 (diff) | |
download | bowl-406509dc549cb58d788a3dbd5572f28008c84546.tar.zst |
Make LLM enhancements optional
Diffstat (limited to 'src/meson.build')
-rw-r--r-- | src/meson.build | 6 |
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, |