Commit 05a32fb
cmake(common): scope config.cpp/yaml-cpp to tools; add LLAMA_ENABLE_CONFIG_YAML guards
- Wrap --config option definition with LLAMA_ENABLE_CONFIG_YAML in arg.cpp
- Guard all YAML-dependent code sections in config.cpp and config.h
- Ensures yaml-cpp is only compiled when LLAMA_BUILD_TOOLS=ON
- Prevents platform builds that don't need tools from pulling yaml-cpp dependencies
Co-Authored-By: Jaime Mizrachi <[email protected]>1 parent a7759dd commit 05a32fb
3 files changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1341 | 1341 | | |
1342 | 1342 | | |
1343 | 1343 | | |
| 1344 | + | |
1344 | 1345 | | |
1345 | 1346 | | |
1346 | 1347 | | |
1347 | 1348 | | |
1348 | 1349 | | |
1349 | 1350 | | |
1350 | 1351 | | |
| 1352 | + | |
1351 | 1353 | | |
1352 | 1354 | | |
1353 | 1355 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
335 | 339 | | |
336 | 340 | | |
337 | 341 | | |
| 342 | + | |
| 343 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
| 9 | + | |
0 commit comments