Skip to content

smgl: add 0.11.0-rc.1#20

Closed
csparker247 wants to merge 2 commits into
mainfrom
add-smgl-formula
Closed

smgl: add 0.11.0-rc.1#20
csparker247 wants to merge 2 commits into
mainfrom
add-smgl-formula

Conversation

@csparker247

@csparker247 csparker247 commented Jun 28, 2026

Copy link
Copy Markdown
Member

Summary

Add a new formula for educelab/smgl — "Structured Metadata Engine and Graph Object Library" — at the latest prerelease tag, v0.11.0-rc.1.

External dependencies

Following the dependency-handling pattern established in registration-toolkit.rb: upstream's CMake uses FetchContent for nlohmann/json, which Homebrew traps. Unlike registration-toolkit's transitive deps, smgl exposes a build switch (SMGL_BUILD_JSON) to use a system package, so rather than vendoring the source as a resource we build with -DSMGL_BUILD_JSON=OFF and depends_on "nlohmann-json". std::filesystem is used by default, so no Boost dependency is needed.

CI

  • tests.yml (brew test-bot) picks up the new formula automatically across the Linux/macOS matrix — no changes required.
  • bump.yml: added both libcore and smgl to the scheduled bump formula list (now libcore openabf registration-toolkit smgl).

Verification

Built and tested locally from the tap on macOS (arm64):

  • brew install --build-from-source educelab/code/smgl
  • brew test educelab/code/smgl
  • brew style / brew audit --new clean ✅

Bottles will be built by CI; add the pr-pull label once green to publish and merge.

🤖 Generated with Claude Code

csparker247 and others added 2 commits June 27, 2026 21:51
Add a formula for educelab/smgl (Structured Metadata Engine and Graph
Object Library).

Upstream's only FetchContent dependency is nlohmann/json, which it gates
behind SMGL_BUILD_JSON. Homebrew traps live FetchContent, so we build with
-DSMGL_BUILD_JSON=OFF and depend on the nlohmann-json formula instead of
vendoring the source as a resource. std::filesystem is used by default, so
no Boost dependency is needed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@csparker247 csparker247 added the pr-pull Mark a formula ready for merge label Jun 28, 2026
@github-actions github-actions Bot closed this in c66610e Jun 28, 2026
@github-actions github-actions Bot deleted the add-smgl-formula branch June 28, 2026 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-pull Mark a formula ready for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant