Repository navigation
docs/testing.md: the Windows runtime tests under Wine on a Mac (WineHQ build, ROSETTA_ADVERTISE_AVX) - #2364
Draft
Tauwni wants to merge 2 commits into
Draft
docs/testing.md: the Windows runtime tests under Wine on a Mac (WineHQ build, ROSETTA_ADVERTISE_AVX)#2364Tauwni wants to merge 2 commits into
Tauwni wants to merge 2 commits into
Conversation
…Q build, ROSETTA_ADVERTISE_AVX) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
docs/testing.md's section on the Windows runtime under Wine only covers Linux. On a Mac, two things stop someone who follows it:wine-stable,wine@develandwine@stagingcasks are disabled because they don't pass Gatekeeper, sobrew install --cask wine-stablerefuses. The WineHQ macOS build works: I downloaded the archive at the cask'surland checked it against the cask'ssha256.ROSETTA_ADVERTISE_AVX=1is set. Without it, the 21run_tiny_*loader tests stop with "the game's code needs AVX, and this CPU or OS lacks AVX, OSXSAVE".docs/boot.mdmentions the variable, but only for the #UD emulation work.This adds one paragraph after the xwin note. It gives the Homebrew tools, where the cross tools live, how to point
CMAKE_CROSSCOMPILING_EMULATORat that Wine (a wrapper helps with the space inWine Stable.app), the variable, and what I measured.Measured on an Apple M3 (macOS 26.5.1, Wine 11.0 with its bundled MoltenVK 1.4.1) at
mainfbf100b1b, cross-built with clang-cl/lld-link 23.1.6 and xwin 0.10.0 (SDK 10.0.26100):ctest -j 6 --timeout 120: 440 of 482 pass, and 461 of 482 withROSETTA_ADVERTISE_AVX=1.The 21 left are listed in my comment on #1086, which fixes 4 of them, and #1219 covers
vk_device_filter_tools.tests/test_docs_*.pypass.AI-assisted (Claude Code). No game data.
🤖 Generated with Claude Code