Skip to content

fix(packaging): use system nlohmann-json - #924

Open
shiptux wants to merge 1 commit into
flagos-ai:mainfrom
shiptux:fix/packaging-system-json
Open

fix(packaging): use system nlohmann-json#924
shiptux wants to merge 1 commit into
flagos-ai:mainfrom
shiptux:fix/packaging-system-json

Conversation

@shiptux

@shiptux shiptux commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • install distro nlohmann-json headers in Debian and RPM wheel-builder stages
  • pass JSON_SYSPATH=/usr through the existing FlagTree dependency override so setup does not download nlohmann-json
  • retain pinned downloads for backend-specific LLVM and device tools

Verification

  • confirmed JSON_SYSPATH=/usr resolves to CMake JSON_INCLUDE_DIR=/usr/include in the existing setup logic
  • verified Fedora/Rocky use json-devel, while openEuler uses nlohmann-json-devel; the RPM builder handles both
  • git diff --check passes

The full FlagTree wheel build takes 30-50 minutes and is left to repository CI.

@github-actions github-actions Bot added DOC Improvements or additions to documentation CI/CD main labels Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD DOC Improvements or additions to documentation main

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant