Skip to content

SDK: the Unix package carries every tool the release lanes check - #1808

Merged
ehartford merged 1 commit into
mainfrom
sdk-package-lane-tools
Sep 27, 2026
Merged

ehartford merged 1 commit into
mainfrom
sdk-package-lane-tools

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

nightly-release.yml checks every fetched SDK for these tools:

clang clang++ cmake ninja lld llvm-ar llvm-config llvm-dwarfdump llvm-nm llvm-objcopy llvm-ranlib llvm-readobj llvm-strip

The LLVM build installs all of them, but build/sdk.w's package selection keeps only some. So a package built from main's own recipe fails that job: llvm-ar, llvm-config, llvm-objcopy and llvm-ranlib are missing, as they are from the SDKs nightly-20260926-local-1-2e8defaa18ef carries. This keeps them and requires them when validating a Linux or macOS SDK, so the recipe and the lanes agree on one list.

Verified (linux-x86_64): :sdk-package with this build/sdk.w produces a package that passes the release job's check verbatim: libclang.a, clang's stddef.h, share/cmake-4.2/Modules/CMake.cmake, and all 13 tools executable. It keeps the 6 LLVMWebAssembly libraries. The packager stores symlinked tools as regular files (as it already does for llvm-strip), so llvm-ranlib is a copy of llvm-ar and runs as ranlib.

Next: sdk-release dispatched on this branch rebuilds every platform's SDK from source, darwin included (that one is missing the WebAssembly backend #1210 requires, the failure in #1801's macOS battery), into its own release. A follow-up PR pins the lanes and nightly-release to those SDKs and their digests.

🤖 Generated with Claude Code

nightly-release.yml verifies each fetched SDK has clang, clang++, cmake,
ninja, lld, llvm-ar, llvm-config, llvm-dwarfdump, llvm-nm, llvm-objcopy,
llvm-ranlib, llvm-readobj and llvm-strip. The LLVM build installs all of
them, but the package's bin/ selection kept only some, so a package built
from this recipe fails that job: llvm-ar, llvm-config, llvm-objcopy and
llvm-ranlib were missing. Keep them, and require them when validating an
SDK on Linux and macOS, so the recipe and the lanes agree on one list.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@ehartford
ehartford merged commit 9aba585 into main Sep 27, 2026
3 of 5 checks passed
@ehartford
ehartford deleted the sdk-package-lane-tools branch September 27, 2026 23:44
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