mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:10:51 +01:00
[PR #950] x64_recomp: find qemu through QEMU_AARCH64 or PATH, not a contributor's home folder #988
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#988
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/950
Author: @barkodr
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:fix/x64-recomp-qemu-path📝 Commits (1)
16452e7x64_recomp: find qemu through QEMU_AARCH64 or PATH, not a contributor's home folder📊 Changes
3 files changed (+7 additions, -13 deletions)
View changed files
📝
docs/mobile.md(+1 -1)📝
tests/test_x64_recomp.py(+2 -7)📝
tools/x64_recomp.py(+4 -5)📄 Description
Claimed in the coordination issue as: claiming: tools/x64_recomp.py and tests/test_x64_recomp.py hard-code a contributor's /home/nolan/.nix-profile qemu path; use QEMU_AARCH64 or PATH only, and have the test reuse x64_recomp.QEMU_BIN. Tools only. AI-assisted.
What and why
The default qemu path in
tools/x64_recomp.pyandtests/test_x64_recomp.pywas one contributor's/home/nolan/.nix-profilefolder. The tool now usesQEMU_AARCH64, elseqemu-system-aarch64onPATH, and the test reusesx64_recomp.QEMU_BINinstead of its own copy of the lookup.docs/mobile.mdnow says where the exec tests look for qemu.Tested
On macOS 26.6.2 with Python 3.12.16 and on Ubuntu 26.04 (WSL2) with Python 3.14.4, from the checkout root with
python -I:tests/test_x64_recomp.py,tests/test_text_write_line_endings.pyandtests/test_docs_python_deps.pypass on both. On macOS qemu is not installed, so 26 qemu tests skip (6 run). Not run against a real qemu. The lookup was checked by hand with a stand-in binary, outside the test file:QEMU_AARCH64is used when set (also ahead ofPATH), else the binary onPATH, else the bare name.GPUs tested: none (no GPU code changed)
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.