mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:35:53 +01:00
[PR #2364] docs/testing.md: the Windows runtime tests under Wine on a Mac (WineHQ build, ROSETTA_ADVERTISE_AVX) #2367
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#2367
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/2364
Author: @Tauwni
Created: 11/26/2026
Status: 🔄 Open
Base:
main← Head:docs/testing-wine-macos📝 Commits (1)
e3ee01ddocs/testing.md: the Windows runtime tests under Wine on a Mac (WineHQ build, ROSETTA_ADVERTISE_AVX)📊 Changes
1 file changed (+12 additions, -0 deletions)
View changed files
📝
docs/testing.md(+12 -0)📄 Description
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
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.