Repository navigation
Docs: building with mingw-w64 on macOS and running under CrossOver - #2442
Ahmet-Dedeler wants to merge 2 commits into
Conversation
main builds for x86_64-pc-windows-gnu without a change. docs/macos.md says how to build xcl.exe on an Apple Silicon Mac, run it under CrossOver with D3DMetal, run the tests and scripts/smoke.ps1 there, and what works on main today; README points to it under Building and usage. Part of xcl-dev#258. Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
The lowered program is missing an expected group barrier (or emits one where none is expected). Needs a fix before merge. — Devin |
|
Followed Tested
Notes
Not tested: the AI use: Claude Code with Claude Opus 5.5 ( |
|
Tested the Cargo runner in Documentation candidate uses the working directory for relative inputs, quotes the shared bottle setting, and forwards trailing arguments with POSIX I also replayed the Run command with the recorder. For the cleanup example, a separate stand-in received the selected bottle prefix and |
Set the CrossOver bin directory and bottle name once for the shell examples. Build an absolute Wine path for the test executable and forward remaining Cargo arguments with POSIX shell syntax. Assisted-by: OpenAI Codex (GPT-6)
|
@RavenCurseBurg good catch, thanks. Anyone who runs the runner by hand with a relative path, or gets one from Cargo, would have hit that Ran your runner on the Mac side too, macOS 27.3, with a stand-in |
The first piece of the macOS work in #258, as asked there: the mingw cross-build.
mainbuilds forx86_64-pc-windows-gnuwith no source change, so this is documentation only: a page on buildingxcl.exewith mingw-w64 on a Mac, running it under CrossOver with D3DMetal, running the tests andscripts/smoke.ps1there, and what works onmaintoday. Part of #258.The CI side (a macOS runner that cross-builds) is #783; this page does not depend on it.
What is in it
docs/macos.md: state onmain, what the host does differently (adapter name, no commit charge, no system XGameRuntime, Wine's debugger holding a crashed process), requirements, build, a bottle, running a title, running the tests under Wine through a cargo runner,scripts/smoke.ps1through a small-Xclwrapper, cleaning up a bottle.README.md: one bullet under Building and usage pointing to the page, saying macOS is not a supported platform.Tested
AMD Compatibility Mode(32-lane waves). Rust 1.100.0, targetx86_64-pc-windows-gnu(mingw-w64 14.0.0), DXC 1.9.2609.5. Debug build.CIworkflow (Windows runner, no GPU) on this head, run on my fork because it waits for approval here: Build and test passed on the second attempt. The first failed insparse::tests::flush_parked_does_not_free_or_reuse_tiles_while_unmap_is_in_flight("completed unmap batch should drain after fence completion"), a timing test; this PR changes no code.cargo build --workspace --target x86_64-pc-windows-gnuonmain3ceb550: builds, no source change.cargo test --workspace -- --test-threads=4onmain3ceb550under Wine (debug; a binary with no output for 240 s ended and its remaining tests run one process each, 120 s limit): 1280 passed, 59 failed, 46 ignored, 6 hung, 2 ended without a result. SKIPPED GPU tests: the wave64 ones (no wave64),no WARP,no GPU UMA,no heap windows,no D3D12 debug layer, and the driver-cache one (needs Windows Developer Mode). This PR changes no code, so these aremain's counts on this host, which the page quotes.xcl inspecton the workspace's test title, under Wine, on3ceb550: reads it as on Windows.508a0c7).Regression run
Not tested
3ceb550: the page's Titles line is from508a0c7and says so.AI use
508a0c7; Claude Opus 5.5 brought it up to3ceb550, ran the build, the suite andxcl inspectthere, and wrote this description.