Skip to content

release: windows-aarch64 is cross-built and published from the release host - #2933

Merged
ehartford merged 1 commit into
mainfrom
windows-aarch64-cross-leg
Nov 2, 2026
Merged

ehartford merged 1 commit into
mainfrom
windows-aarch64-cross-leg

Conversation

@ehartford

Copy link
Copy Markdown
Contributor

The one platform only CI could build made every release wait on a GitHub
arm runner. The cross-seed job already proved the recipe: the rebuilt
native compiler emits every unit for aarch64-pc-windows-msvc and links
against the pinned windows-aarch64 SDK. The release tool now does the same
for the release asset, and the arm CI lane runs the battery on the
platform itself post hoc (D137); the asset and its SDK ship with every
release from here (D180).

  • build.w: cross-winarm-runtime-producer, cross-winarm-link-compiler and
    cross-winarm-compiler (stamped, out/cross/windows_aarch64/bin/with.exe)
    mirror add_cross_rt_targets' compiler maker for windows_aarch64;
    package-windows-aarch64 is the native packaging on an arm Windows host
    and package_cross_platform_target everywhere else, so the digest file
    has one producer. The link metadata regenerates when the SDK changes: a
    stale MSVC-layout extraction beside the pinned mingw-layout SDK listed
    .lib archives that did not exist.
  • build/package.w: a fifth argument cross finalizes an asset the host
    cannot run: the version is read from the binary's stamp, the import
    audit and the msvcp needle apply to every Windows platform, the libclang
    symbol check is skipped for Windows as before, the host SDK runs
    llvm-readobj and llvm-strip, the target SDK supplies the notice.
  • sdk.lock: the windows-aarch64 SDK's sidecar and manifest digests, so the
    leg republishes them verified.
  • tools/release_local.w: the windows-aarch64 leg (the pinned SDK is fetched,
    verified and extracted into .deps when its C runtime is missing; the
    cross compiler, its packaging, the SDK and its sidecars and the notice
    are published), --skip-windows-aarch64.
  • The runbook's local-first section covers three platforms.

Verified on the release host: a 114 MB COFF-ARM64 image, stamped,
audited, stripped and digested, with the notice beside it.

…e host

The one platform only CI could build made every release wait on a GitHub
arm runner. The cross-seed job already proved the recipe: the rebuilt
native compiler emits every unit for aarch64-pc-windows-msvc and links
against the pinned windows-aarch64 SDK. The release tool now does the same
for the release asset, and the arm CI lane runs the battery on the
platform itself post hoc (D137); the asset and its SDK ship with every
release from here (D180).

- build.w: cross-winarm-runtime-producer, cross-winarm-link-compiler and
  cross-winarm-compiler (stamped, out/cross/windows_aarch64/bin/with.exe)
  mirror add_cross_rt_targets' compiler maker for windows_aarch64;
  package-windows-aarch64 is the native packaging on an arm Windows host
  and package_cross_platform_target everywhere else, so the digest file
  has one producer. The link metadata regenerates when the SDK changes: a
  stale MSVC-layout extraction beside the pinned mingw-layout SDK listed
  .lib archives that did not exist.
- build/package.w: a fifth argument `cross` finalizes an asset the host
  cannot run: the version is read from the binary's stamp, the import
  audit and the msvcp needle apply to every Windows platform, the libclang
  symbol check is skipped for Windows as before, the host SDK runs
  llvm-readobj and llvm-strip, the target SDK supplies the notice.
- sdk.lock: the windows-aarch64 SDK's sidecar and manifest digests, so the
  leg republishes them verified.
- tools/release_local.w: the windows-aarch64 leg (the pinned SDK is fetched,
  verified and extracted into .deps when its C runtime is missing; the
  cross compiler, its packaging, the SDK and its sidecars and the notice
  are published), `--skip-windows-aarch64`.
- The runbook's local-first section covers three platforms.

Verified on the release host: a 114 MB COFF-ARM64 image, stamped,
audited, stripped and digested, with the notice beside it.
@ehartford
ehartford marked this pull request as ready for review November 2, 2026 11:43
@ehartford

Copy link
Copy Markdown
Contributor Author

Battery GREEN on e8d4c0b (seed-driven, tools/battery.w); gate green before it. On this host :cross-winarm-compiler produced a stamped COFF-ARM64 compiler and :package-windows-aarch64 (cross mode) audited, stripped and digested it with the notice beside it.

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