Recipes (Compiled Dependencies)
joy ships a curated recipe index in recipes/ for dependencies that require build/install metadata.
Examples include:
fmtlib/fmtmadler/zlibgabime/spdlogNeargye/magic_enumjarro2783/cxxopts
How Recipes Fit the Build Pipeline
When a dependency is recipe-backed and compiled:
joyresolves dependency graph + recipe metadata.- It computes ABI-sensitive cache keys/hashes.
- It builds dependency artifacts with CMake + Ninja in global cache.
- It installs headers/libs into project-local
.joy/state.
Generic CMake Fallback (Shipped)
If a dependency has no recipe but contains a top-level CMakeLists.txt, joy can run a generic CMake-first compiled fallback path.
This keeps more compiled packages usable without waiting for curated recipe additions.
Validate Recipe Metadata
joy recipe-check
joy --json recipe-check
Use this in local development and CI whenever recipe metadata changes.