Skip to content

Expand LLVM native output targets - #280

Merged
ctate merged 9 commits into
mainfrom
ctate/expand-hosts
Sep 1, 2026
Merged

Expand LLVM native output targets#280
ctate merged 9 commits into
mainfrom
ctate/expand-hosts

Conversation

@ctate

@ctate ctate commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator
  • Add owned helper and runtime-pack contracts for macOS x64, Linux glibc/musl, Windows x64, and WASI.
  • Generalize LLVM target selection, package validation, linker plans, and release/CI matrices.
  • Document linker boundaries and add focused native-output and runtime-pack coverage.

- Add owned helper and runtime-pack contracts for macOS x64, Linux glibc/musl, Windows x64, and WASI.
- Generalize LLVM target selection, package validation, linker plans, and release/CI matrices.
- Document linker boundaries and add focused native-output and runtime-pack coverage.
@vercel

vercel Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
scriptc Ready Ready Preview, v0 Sep 1, 2026 6:19pm UTC

@socket-security

socket-security Bot commented Sep 1, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedgithub/​actions/​download-artifact@​d3f86a106a0bac45b974a628896c90dbdf5c809310010010010060
Addedgithub/​actions/​upload-artifact@​ea165f8d65b6e75b540449e92b4886f43607fa028610010010080

View full report

The official LLVM archive needs the Visual Studio 2022 CMake generator, which is not guaranteed by windows-latest.

@vercel vercel Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional Suggestion:

A stray 0-byte a.o object file is tracked in packages/runtime-wasm32-wasi/, polluting the repository.

Fix on Vercel

Use the same target-specific helper and linker identity before and after compiler loading so routed executable cache hits remain lightweight.
windows-2022 includes Visual Studio but not winget; use its available Chocolatey bootstrap for CMake and Ninja.
Run runtime-pack compiler version probes in a private temporary directory and remove the accidental tracked WASI a.o file.
Extract the official LLVM development archive with two-stage 7-Zip instead of Windows tar.exe, which timed out while materializing the toolchain tree.
Clang's MSVC target does not expose POSIX ssize_t through sys/types.h; define the pointer-sized runtime type without affecting MinGW.
Use the MinGW-compatible Windows sysroot required by the runtime while retaining COFF helper output and installing Zig in the Windows native CI lane.
Shard 1 passed its setup and focused contracts but was cancelled during its cold LLVM differential slice at the 20-minute job limit.
@ctate
ctate merged commit c41f1a8 into main Sep 1, 2026
20 checks passed
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