Skip to content

refactor(build): add isolated multi-platform build configuration - #217

Merged
chamsechan merged 2 commits into
mainfrom
refactor/platform-build-configuration
Oct 26, 2026
Merged

chamsechan merged 2 commits into
mainfrom
refactor/platform-build-configuration

Conversation

@chamsechan

@chamsechan chamsechan commented Oct 26, 2026 •

Copy link
Copy Markdown
Owner

Add native macOS arm64 CPU and GNU/Linux arm64 cross-compilation presets. Validate the target platform before loading dependencies and isolate compiled dependency caches by platform, toolchain, and build configuration.

  • Generate ELF and Mach-O SDK export controls from one symbol manifest while retaining an independent ABI export check. Unchanged configuration preserves the export file timestamp and avoids relinking the SDK.
  • Consolidate verified dependency downloads, cache publication, and Backend target wiring. Report why llama.cpp/Whisper falls back to source builds.
  • Add macOS 15 native build/runtime CI and Linux arm64 SDK cross-compilation checks, and document sysroot and target execution limits.
  • Serialize packed boolean parameters using their declared element type, fixing a libc++ proxy-reference crash; cover nonempty defaults, nested arrays, maps, and round trips.
  • Make test fixtures portable across standard libraries and canonical temporary paths, and pass the selected macOS SDK and architecture flags to direct compiler probes.

Validation:

  • Canonical local Linux arm64 gate: 466 passed, 5 optional asset-dependent skips; all 30 focused C++ and compiler-probe tests passed.
  • Native macOS arm64 gate: 470 passed, 4 optional asset-dependent skips; real GGUF inference through the public Operator passed afterward.
  • Focused script tests with a symlinked temporary root: 55 passed, 2 conditional skips. Checks also verified unchanged configure/build timestamps and neutral llama/Whisper cache behavior.
  • PR CI and main push CI for merge commit 942a6f12ad8317e5b69c66086abade585f222e10 passed, including CMake 3.19, ASan/UBSan, native macOS, x86_64-to-arm64 minimal and Inferlet SDK builds, Backend real-model suites, and exact-SHA acceptance evidence.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T07:49:03.618908Z 10c1f4a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chamsechan
chamsechan merged commit 942a6f1 into main Oct 26, 2026
8 checks passed
@chamsechan
chamsechan deleted the refactor/platform-build-configuration branch October 26, 2026 08:22
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