Skip to content

chore(build): drop the pool-allocator dependency and its build options - #8

Merged
aajll merged 1 commit into
5-fix-pid-fxpfrom
5-chore-drop-pool
Oct 14, 2026
Merged

aajll merged 1 commit into
5-fix-pid-fxpfrom
5-chore-drop-pool

Conversation

@aajll

@aajll aajll commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Refs #5

Layer 3 of 4. Removes the build-side pool machinery now that no component uses it.

Changes

  • Removes subprojects/pool-allocator.wrap, include/fpc_config.h, config/fpc_conf.h.in, config/fpc_conf_template.h, the fpc_max_instances and fpc_filter_max_order options, and the generated fpc_conf.h install.
  • Removes FPC_STATUS_POOL_FULL and FPC_STATUS_OVERFLOW; the other status values keep their numbers.
  • CI drops the filter-order matrix and the pool wrap from cppcheck, and raises the gcovr gate to --fail-under-line 100 --fail-under-branch 100.

Acceptance criteria evidence

  • Pool dependency gone — no pool reference remains in src/, include/, tests/, the Meson files or CI.
  • Gate at 100/100 — the CI gcovr command with the new thresholds passes locally: 266/266 lines, 136/136 branches.

Checks

  • gcc ASan+UBSan -Werror, clang -Werror, release build: pass.
  • cppcheck with the new CI flags: clean. Valgrind memcheck: 0 errors.
  • TI C2000 CGT 22.6.2 and 25.11.1, COFF and EABI, -Dwerror=true (the CI step run locally on a clean export): 0 diagnostics.

Stack

  1. filters — FIR and biquad on fxp, caller-owned, saturating; TI C2000 CI gate
  2. pid — PID on fxp: wide integral, dt per term, caller-owned
  3. build — drop pool-allocator, its options and headers; coverage gate 100/100
  4. docs — README, CONTRIBUTING, AGENTS and CHANGELOG for 0.4.0

Review bottom first. Each layer builds and passes the full suite on its own. The whole-change narrative and limitations are in the top pull request (layer 4).

@aajll
aajll added this pull request to stack #10 October 14, 2026 16:16
@aajll
aajll force-pushed the 5-chore-drop-pool branch from aef35c6 to 22c0d94 Compare October 14, 2026 16:53
All three components now live in caller-owned storage, so the pool-allocator wrap, fpc_config.h, the generated fpc_conf.h, the fpc_max_instances and fpc_filter_max_order options and the pool-only status codes go. CI loses the filter-order matrix, and the coverage gate rises to 100% lines and branches.

FPC_STATUS_POOL_FULL and FPC_STATUS_OVERFLOW are removed; the remaining status values keep their numbers.
@aajll
aajll force-pushed the 5-chore-drop-pool branch from 22c0d94 to 4201c1e Compare October 14, 2026 16:56
@aajll
aajll merged commit c3e3955 into master Oct 14, 2026
16 checks passed
@aajll
aajll deleted the 5-chore-drop-pool branch October 14, 2026 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant