Skip to content
pi-c History Of Ticket e81260df5ec1c0f8a34f4ab3949606f950e7b64b
Login

History Of Ticket e81260df5ec1c0f8a34f4ab3949606f950e7b64b

Artifacts Associated With Ticket e81260df5ec1c0f8a34f4ab3949606f950e7b64b

  1. Ticket change [0430613463] (rid 2901) by dmestas on 2026-11-21 17:14:28:

    1. comment initialized to:
      Ship pic.c (all of pic's sources, one translation unit) plus the vendored dependency sources (libfossil.c, sqlite3.c, zlib, BearSSL), building with cc -O2 *.c -o pic -lm -lpthread. Work: rename the 55 colliding static names and 29 type/macro names so pic's sources merge cleanly; a POSIX sh+awk generator (tools/amalgamate.sh); a CI target that builds the amalgamation and runs a smoke test; a release bundle. Option A chosen over a single 20 MB file containing BearSSL and zlib. Research on how SQLite, Fossil and libfossil do it is pending.
      
    2. priority initialized to: "High"
    3. status initialized to: "Open"
    4. Untracked field tier: "core"
    5. title initialized to: "amalgam: ship pic as an SQLite-style amalgamation"
    6. type initialized to: "Feature"
  2. Ticket change [5d7a34aa44] (rid 2907) by dmestas on 2026-11-21 17:16:23:

    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.
      
  3. Ticket change [d5f063d350] (rid 2992) by quarry on 2026-11-21 21:18:20:

    1. Untracked field number: "27"
  4. Ticket change [410060693b] (rid 3092) by pi-c-lander on 2026-11-22 12:24:36:

    1. icomment:
      Landed in #83 (make amalgamation: a source bundle that builds with cc -O2 *.c -o pic -lm -lpthread; make test-amal in CI) and #85 (pic and pic-dev compile from the same generated pic.c, #line markers in dev).
      
    2. mimetype: "text/x-markdown"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"