smgl: add 0.11.0-rc.1#20
Closed
csparker247 wants to merge 2 commits into
Closed
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 usesFetchContentfornlohmann/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 aresourcewe build with-DSMGL_BUILD_JSON=OFFanddepends_on "nlohmann-json".std::filesystemis 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 bothlibcoreandsmglto the scheduled bump formula list (nowlibcore 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 --newclean ✅Bottles will be built by CI; add the
pr-pulllabel once green to publish and merge.🤖 Generated with Claude Code