Skip to content

build: add Afterglow's phosphor-libs through CPM like the other apps - #77

Merged
fuddlesworth merged 2 commits into
mainfrom
build/private-library-bundles
Nov 27, 2026
Merged

fuddlesworth merged 2 commits into
mainfrom
build/private-library-bundles

Conversation

@fuddlesworth

@fuddlesworth fuddlesworth commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Afterglow now adds phosphor-libs with CPM and the CPM__SOURCE
override, so the superbuild's AFTERGLOW_PHOSPHOR_LIBS_DIR special case
goes. The build skills and Afterglow's review notes describe the CPM
override, PHOSPHOR_DEPS_ARCHIVES and PHOSPHOR_DEPS_FETCH (Afterglow's own
names go), the embedded install of only the libraries its programs link,
and the include of PhosphorSuite.cmake in Afterglow's scope.

Verified: tools/sync --check passes, the plasmazones and lambent presets
build and pass, and Afterglow builds and passes on its own with
-DCPM_phosphor-libs_SOURCE.

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Change set

This pull request is part of the change set build/private-library-bundles. Merge them in this order, and move each app's pin to a library's merged commit before the app merges:

Afterglow now adds phosphor-libs with CPM and the CPM_<library>_SOURCE
override, so the superbuild's AFTERGLOW_PHOSPHOR_LIBS_DIR special case
goes. The build skills and Afterglow's review notes describe the CPM
override, PHOSPHOR_DEPS_ARCHIVES and PHOSPHOR_DEPS_FETCH (Afterglow's own
names go), the embedded install of only the libraries its programs link,
and the include of PhosphorSuite.cmake in Afterglow's scope.

Verified: tools/sync --check passes, the plasmazones and lambent presets
build and pass, and Afterglow builds and passes on its own with
-DCPM_phosphor-libs_SOURCE.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each repository builds and runs only its own tests, in its own build and
CI. The superbuild built and ran every repository's tests again, and the
apps ran the libraries' tests too: the same work three times.

The superbuild sets BUILD_TESTING off for every repository it adds. The
presets lose BUILD_TESTING, the test presets and the test steps of the
workflows, and the nightly CI loses its ctest step. The conventions say
the rule, and the README, CLAUDE.md and the build and debug skills say
where the tests run instead.

Verified: a fresh configure of the plasmazones preset registers no
test, and tools/sync --check passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fuddlesworth
fuddlesworth merged commit 3575e35 into main Nov 27, 2026
2 checks passed
@fuddlesworth
fuddlesworth deleted the build/private-library-bundles branch November 27, 2026 21:08
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