بنقرة واحدة
port-upgrade
// Upgrade cmake-toolset ports to newer upstream versions. Use when: checking releases, resolving dependency pins, validating patches, handling cross-compiling host tools, or reviewing CI impact.
// Upgrade cmake-toolset ports to newer upstream versions. Use when: checking releases, resolving dependency pins, validating patches, handling cross-compiling host tools, or reviewing CI impact.
| name | port-upgrade |
| description | Upgrade cmake-toolset ports to newer upstream versions. Use when: checking releases, resolving dependency pins, validating patches, handling cross-compiling host tools, or reviewing CI impact. |
| argument-hint | ports=<names|all>; mode=analyze|update; validate=patch|build|ci|full |
Use this skill to upgrade one or more ports while preserving dependency compatibility, patch behavior, and repository-specific guards.
ports/Configure.cmaketest/CMakeLists.txt.github/workflows/build.yaml and ci/do_ci.*MODULE.bazel, WORKSPACE, bazel/*_deps.bzl,
CMakeLists.txt, and cmake/*.cmake.test/CMakeLists.txt for repository include
order and local compatibility guards.import.cmake under ports/ is an aggregator.
Known aggregators: compression/, algorithm/,
grpc/, ngtcp2/, telemetry/, test/, web/.crosscompiling-host/, hosted tools, or
.cross.patch, follow
cross-compilation.md.ssl/port.cmake, grpc/import.cmake, and
protobuf/protobuf.cmake as custom logic..cross.patch separately when relevant.--depth 1 for patch testing and clean up
test/third_party/packages/ afterward.test/CMakeLists.txt,
.github/workflows/build.yaml, and ci/do_ci.* for
impacted combinations.cmake-format -i on every modified
.cmake, .cmake.in, and CMakeLists.txt file
(excluding test/third_party/ and
test/build_jobs_*/). Alternatively run
bash ci/format.sh to format the entire tree.
CI will reject unformatted files.test/CMakeLists.txt.v1.9.4 will match v1.9.5
automatically. Only create a new patch if the content
actually differs.crosscompiling-host/ assets or hosted
tools require host-side validation..cross.patch) are
separate from regular patches and must be tested
independently.Fetch CI build failure logs from GitHub Actions or PRs, diagnose the root cause, and fix the failing port or patch. Use when: a CI job fails after a port upgrade, a patch no longer applies, or a build option changed upstream.
Fetch CI build failure logs from GitHub Actions or PRs, diagnose the root cause, and fix the failing port or patch. Use when: a CI job fails after a port upgrade, a patch no longer applies, or a build option changed upstream.