Skip to content

Configure through shipyard-cmake, not the CMake user package registry - #2

Open
schmonz wants to merge 1 commit into
mainfrom
shipyard-cmake-flagday
Open

schmonz wants to merge 1 commit into
mainfrom
shipyard-cmake-flagday

Conversation

@schmonz

@schmonz schmonz commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Part of the 14-repo shipyard CMake flag day. Do not merge until shipyard has landed bc3082a.

After the cutover shipyard's pkg postinstall neither writes nor reads the CMake user package
registry; only shipyard-cmake (from the shipyard pkg, on PATH via install@v1's default mode)
may configure against shipyard.

  • build/msc.sh resynced byte-for-byte from shipyard's canonical scripts/templates/msc.sh
    (blob 43c2af0). It now probes shipyard-cmake instead of reading ~/.cmake/packages/.
  • .github/workflows/ci.yml: the cmake-10_9-gate job's cmake --preset cross,
    cmake --build build-cross and ctest --preset cross converted to
    shipyard-cmake/shipyard-ctest, and the comment claiming shipyard "self-registers in the user
    package registry" corrected.

No workflow step was added: install@v1's default mode already puts shipyard-cmake on PATH.

Conventions gate (from shipyard bc3082a): 5 failures -> ok, exit 0.

Pre-existing, NOT fixed here

cmake-10_9-gate is already red on main. d2e2707 ("Convert 1Password to a Porthole preset")
deleted this repo's CMakeLists.txt and CMakePresets.json; the job was left behind and there is
no cross preset for it to configure. Converting its commands keeps the conventions gate green and
changes nothing about that failure. The job is orphaned and probably wants deleting, but that is a
separate decision.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GTxFde2TJMmp5p64DhvDSK

…egistry

shipyard's pkg postinstall no longer writes the CMake user package registry
and nothing reads it. build/msc.sh is resynced from shipyard's canonical
template, which asks shipyard-cmake where find_package(MavericksShipyard)
lands instead of reading ~/.cmake/packages.

ci.yml's cmake-10_9-gate job is converted to shipyard-cmake/shipyard-ctest so
conventions check 18 passes. That job is ALREADY failing on main for an
unrelated reason -- d2e2707 ("Convert 1Password to a Porthole preset") deleted
this repo's CMakeLists.txt and CMakePresets.json and left the job behind, so
there is no `cross` preset for it to configure. This change does not repair
that and does not make it worse; repairing it is out of scope here.

BREAKING CHANGE: needs shipyard's shipyard-cmake on PATH (install@v1 provides
it). Do not merge until shipyard has landed bc3082a.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GTxFde2TJMmp5p64DhvDSK
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