Skip to content

Clean build: a pinned clang-format, and inkwell without warnings - #116

Merged
mcereal merged 2 commits into
mainfrom
fix/clean-build
Nov 14, 2026
Merged

mcereal merged 2 commits into
mainfrom
fix/clean-build

Conversation

@mcereal

@mcereal mcereal commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

Companion to mcereal/inkwell#73. Merge that first: the inkwell pin here is 330558f, the head of that PR.

  • Formatter. requirements-dev.txt pins clang-format==23.1.5 from PyPI, the same binary on macOS and Linux, plus jinja2/jsonschema. make venv installs them into build/venv. make format and a new make format-check use it over one file list, which still excludes src/generated/. CI's format job runs make format-check instead of apt's clang-format-18, which moved with the runner image (24.04's 18.1.3 and 26.04's 18.1.8 disagree on theme.c's tables). The job no longer needs to pin ubuntu-24.04.
  • Reformat. 4 files change under 23: theme.c's brace-initialiser macros, the ones the two 18s fought over, now fit on one line, and uint8_t (*p)[4] gains a space.
  • Clean Mac build. make debug points CMake at the venv's Python. A fresh checkout used to fail in Mbed TLS's generator (No module named 'jsonschema').
  • inkwell bump, 46 commits forward to the warning-free build.

Verified: make test (5/5) and make format-check on macOS, with zero compiler or CMake warnings.

🤖 Generated with Claude Code

mcereal and others added 2 commits November 14, 2026 07:06
requirements-dev.txt pins clang-format==23.1.5 from PyPI, the same wheel on macOS
and Linux, with jinja2 and jsonschema for inkwell's Mbed TLS generator. make venv
installs them into build/venv; make debug points CMake's Python at it, and make
format / the new format-check use its clang-format over one file list. CI's
format job runs make format-check instead of apt's clang-format-18, whose layout
moved with the runner image's point release (18.1.3 vs 18.1.8).

Four files reformat under 23: the brace-initialiser macros in theme.c (the ones
the two 18s disagreed about) and the pointer-to-array declarations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
46 commits forward, to the inkwell that builds without warnings and pins the same
clang-format.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-14T11:06:33.682852Z
We couldn’t complete this review. Comment @codex review to try again.
4653c61 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@mcereal
mcereal merged commit d107a0f into main Nov 14, 2026
12 checks passed
@mcereal
mcereal deleted the fix/clean-build branch November 14, 2026 11:09
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