Skip to content

Published LLVM SDK assets cannot bootstrap sdk-ninja: dangling bin/clang links, cmake without share/, aarch64 assets without cmake/ninja #1259

Closed

Description

@ehartford

Since #1210 added .github/actions/source-sdk, every PR's linux x86_64, linux aarch64, windows x86_64 and windows aarch64 lanes fail in sdk-ninja (e.g. #1258, run 35614097023; main run 35633742287):

  • linux x86_64 (v0.15.1 with-llvm-sdk-22.1.6-linux-x86_64.tar.zst): bin/clang -> clang-22 and bin/clang++ -> clang are symlinks and clang-22 is not in the archive; there is no share/ (cmake's modules). missing bootstrap SDK clang: .deps/llvm-22.1.6-linux-x86_64/bin/clang.
  • windows x86_64 (v0.15.1): cmake.exe without share/cmake-* → CMake Error: Could not find CMAKE_ROOT.
  • linux aarch64 / windows aarch64 (sdk-linux-aarch64, sdk-windows-aarch64 releases): older builds, bin/clang present, no cmake/ninja.

None of these was produced by build/sdk.w's packager (no With code or workflow writes .tar.zst; the tarball owner is lazarus, 2026-06-08) — they predate it, and the packager itself would have refused two of them (it requires the CMake modules) but did not select the driver the clang links point to either.

Fix branch sdk-package-bootstraps: the packager selects bin/clang-<major> and refuses an archive that cannot bootstrap; the CI action seeds generation zero from the runner's toolchain (loudly) until an asset produced by this action is published on every platform. Remaining: republish the SDK assets on all five platforms from a packager-produced archive and bump WITH_SDK_VERSION pins (release runbook). Related: #1156 (linux-aarch64 seed runtime), #1074.

Activity

  1. ehartford commented on Sep 21, 2026

    @ehartford
    ContributorAuthor

    Plan, per Eric: the SDK contains only binaries we built, built by a toolchain we built.

    Fact for the record: the published windows x86_64 v0.15.1 asset has bin/cmake.exe, clang.exe, clang++.exe, ninja.exe and no share/ at all (473 entries, bin/ and lib/ only); the binary looks for share/cmake-4.2, which the packager selects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions