25 lines
966 B
Markdown
25 lines
966 B
Markdown
# Pinned llama.cpp source dependency
|
|
|
|
This directory keeps the llama.cpp fork boundary explicit and auditable.
|
|
|
|
Layout:
|
|
|
|
- `UPSTREAM_COMMIT` - the exact pinned commit.
|
|
- `UPSTREAM_REPOSITORY` - the reproducible source dependency URL.
|
|
- `UPSTREAM_ASSUMPTIONS.md` - the file/ABI assumptions that the build scripts
|
|
validate.
|
|
- `patches/` - numbered patch files applied on top of the pinned checkout.
|
|
|
|
The intended flow is:
|
|
|
|
1. Fetch or clone the pinned upstream checkout.
|
|
2. Verify the checkout commit matches `UPSTREAM_COMMIT`.
|
|
3. Check and apply the numbered patch stack.
|
|
4. Build the worker scaffold from `examples/meshnet-worker/`.
|
|
5. Copy the upstream `LICENSE` and `AUTHORS` files into the worker build tree so
|
|
the attribution notices remain attached to the built artifact.
|
|
|
|
The patch stack in this story is intentionally minimal. It creates the project
|
|
worker scaffold and the smoke-test CMake target without pulling Meshnet
|
|
networking code into llama.cpp.
|