Skip to content
pi-c Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5d7a34aa44e2ca5dacc1067accc86f11138c259e593919ef2bb48fb6015ede9c
Ticket: e81260df5ec1c0f8a34f4ab3949606f950e7b64b
amalgam: ship pic as an SQLite-style amalgamation
User & Date: dmestas on 2026-11-21 17:16:23
Changes

  1. comment changed to:
    Plan after research (SQLite mksqlite3c.tcl, libfossil make-amalgamation.bash): tools/amalgamate.sh in POSIX sh+awk, one pass; hand-ordered list with a check that every src/*.c is listed; internal headers inlined once at the top, #include "..." dropped; file banners; PIC_AMALGAMATION defined; optional -l for #line. Collisions fixed by per-file prefixes, enforced by a check that fails on any top-level static defined in two files. make test-amal builds pic.c plus deps and runs the suite against it. The release is a tarball of pic.c, deps and SHA256SUMS, verified with cc -O2 *.c -lm -lpthread.