Artifact c93ff123f08dc285d72de685e7a23eaceecb2ae166968d58fb336d5c2d9ab9f7:
- File docs/dev/vendoring.md — part of check-in [d66dc3f8af] at 2026-11-21 11:05:58 on branch docs-reorg — docs: short README; manual, reference, dev, design and archive under docs/; AGENTS.md; docs.sh checks docs against code; changelog.inc built at build time (user: dmestas, size: 972) [annotate] [blame] [check-ins using] [more...]
Vendoring
pic's dependencies are vendored and compiled in, each pinned file by file (vendor/*/SHA256SUMS):
SQLite with libfossil, zlib and BearSSL. The binary links only libc, libm and pthread.
libfossil and SQLite
Re-vendor on every libfossil cut:
sh tools/vendor-libfossil.sh [CUT_DIR] # default ~/libfossil-builds/current
It copies the amalgamations, SQLite's shell.c and the license into vendor/libfossil, refuses a cut
whose shell.c and sqlite3.c come from different SQLite check-ins, rewrites SHA256SUMS and the first
line of README.md, and prints what changed. It does not commit: run make test-pic and
Fil-C, then land the branch.
The tests use pic's own build/pic/sqlite3, built from the vendored shell.c, never the host's.
Other generated sources
src/ca_bundle.inc: the built-in CA roots, fromtools/ca-bundle.sh.src/model_catalog.inc: the built-in model catalog snapshot, fromtools/model-catalog.sh.