mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:30:52 +01:00
[PR #1978] run_gpu_tests: find a versioned llvm-mc when --llvm-mc and LLVM_MC are unset (TEST-RUN-GPU-TESTS-VERSIONED-LLVM-MC) #1984
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#1984
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/1978
Author: @vinceychu
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:fix/run-gpu-tests-versioned-llvm-mc📝 Commits (2)
aa3e217run_gpu_tests: find a versioned llvm-mc when --llvm-mc and LLVM_MC are unset (TEST-RUN-GPU-TESTS-VERSIONED-LLVM-MC)b1c1ae9run_address_guard_gpu_test: find a versioned llvm-mc when --llvm-mc and LLVM_MC are unset📊 Changes
4 files changed (+30 additions, -7 deletions)
View changed files
📝
scripts/bench_wave64.py(+2 -1)📝
scripts/run_address_guard_gpu_test.py(+7 -3)📝
scripts/run_gpu_tests.py(+6 -3)📝
tests/test_mc_command.py(+15 -0)📄 Description
Claimed in the coordination issue as: TEST-RUN-GPU-TESTS-VERSIONED-LLVM-MC (#1608)
What and why
run_gpu_tests.pyandbench_wave64.pydefaulted--llvm-mctoos.environ.get("LLVM_MC", "llvm-mc"), somc_command.mc_command()never reachedversioned_llvm_mc(). With only Ubuntu'sllvm-21installed (llvm-mc-21and/usr/lib/llvm-21/bin/llvm-mc, no plainllvm-mc) the suite stops with the message that says that install "is found without further setup". The default is now left tomc_command();bench_wave64.pypasses an emptyLLVM_MC, whichmc_command()treats as unset.tests/test_mc_command.pygains a check that no tool pins the plain name (it fails on main for both scripts).Tested
python -I tests/test_mc_command.py,test_run_gpu_tests.py,test_run_gpu_tests_paths.py,test_run_gpu_tests_python_assembler.py,test_bench_wave64.py: OK.llvm-21from apt,LLVM_MCunset:run_gpu_tests.py --filter cs_imgatomic3dfails with the not-found message on main and passes (1/1) with this change.GPUs tested: NVIDIA GeForce RTX 5090, driver 595.99.02, Ubuntu 26.04.1
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly.docs/design.md(n/a)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.