Repository navigation
Conversation
This was referenced Sep 29, 2026
…efuses any other .deps SDK, seed-driver holds the workflow pins to it (#1826) The arm64e.x1 backport (#1880) shipped in a republished darwin SDK, but nothing told a checkout to use it: `with build :deps` kept whatever SDK a tree once fetched (it returned early whenever libclang.a existed), and no file named the SDK the tree is verified with. This host still linked a May SDK whose ld64.lld cannot read Xcode 27's .tbd stubs. - sdk.lock: `<asset>.version=` release, `<asset>=` archive sha256, plus the sidecar/manifest digests the nightly pins, for every SDK a workflow reads. - :deps installs the host's pin, checks the download against the lock as well as the release sidecar, and stamps .deps/<sdk>/.with-sdk-pin; a lock bump refetches, an unchanged pin is a no-op. It prints with print_str: the pinned seed's comptime evaluator does not resolve the generic print. - The link-metadata actions refuse a default .deps SDK whose stamp is not the pin, naming both and `with build :deps` (LLVM_PREFIX, which CI sets after checking the workflow pin, is taken as named). - seed-driver refuses while any workflow SDK pin disagrees with sdk.lock. - lock_value is the one key=value reader for seed.lock and sdk.lock, written without trim/index_of so the seed evaluates it at comptime. The lock caught a second break: the linux-x86_64 SDK asset was replaced in place on 2026-09-27 and the nightly's pin (c7747403) failed every linux-x86_64 leg since; the nightly now pins the current asset, which selfhost-linux builds the compiler with. Verified: `src/main build` with SDKROOT=…/MacOSX27.0.sdk links stage and release (-syslibroot MacOSX27.0.sdk) with the pinned SDK (415 s); the stale .deps SDK is refused with the message above; seed-driver passes, and names selfhost-linux.yml:41 when that pin is edited.
Contributor
Author
|
Stack #1928 battery GREEN on the top commit 3b9d06a (win-own-sdk) — covers all five layers.
The previous run (6cd934e) was red on internals-tests and cli-selfhost-build-w-tests; both fixed in the macOS layer (9abc92d file:// downloads, eba9cf2 lld link flags) and the stack re-folded. Layers 1–4 are ready to merge. Layer 5 (#1931, Windows) stays draft until the Windows seed and the windows-gnu SDK are published and pinned (in progress). |
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.
Fixes #1826.
sdk.lockpins every LLVM SDK release + sha256;with build :depsinstalls and stamps the pin; a compiler link refuses a .deps SDK that is not the pin; seed-driver holds the workflow SDK pins to the lock. Also repins the nightly's linux-x86_64 SDK (asset replaced 2026-09-27; every linux-x86_64 leg failed since).Verified: full build with SDKROOT=MacOSX27.0.sdk links stage and release against it with the pinned SDK. Draft until its battery is posted.