docs/linux.md: add root-free micromamba setup section (DOC-LINUX-FEDORA-NOROOT) #659
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!659
Loading…
Reference in a new issue
No description provided.
Delete branch "docs-linux-fedora-noroot"
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 successfully merged and closed
Claimed in the coordination issue as: DOC-LINUX-FEDORA-NOROOT (#14)
What and why
docs/linux.mdassumesaptand root. This adds a short "Without root (micromamba)" section for people who cannot install distribution packages: it installsllvm-tools(llvm-mc with the AMDGPU target) andspirv-toolsfrom conda-forge into a user-owned folder, lets CMake fetch its pinned, hash-checked Vulkan headers (LEONIDA_VULKAN_HEADERS_FETCH=ON,runtime/CMakeLists.txt), then builds the Vulkan tools and runsrun_gpu_tests.py. It also says what is still needed from the system (Vulkan driver,cmake,ninja, a C++ compiler,python3,curl,tar,bzip2), how to keep it offnoexec, how to select the GPU instead ofllvmpipe, and how to clean up. The download of micromambalatestis unsigned and unpinned; the section says so and links the official guide.Section only, no new file. One line is added to the
FOREIGNlist intests/test_docs_cli_flags.pyfor the two micromamba flags the section uses (--strip-components,--override-channels).Tested
python3 -I tests/test_docs_cli_flags.py: 4 passed.python3 -I tests/test_docs_links.py: 16 passed.python3 -I tests/test_docs_repo_paths.py: 3 passed.run_gpu_tests.pysteps ran with this toolchain on a GTX 1660 SUPER (result identical to #646, not submitted separately).GPUs tested: NVIDIA GeForce GTX 1660 SUPER, NVIDIA 620.70.06, Fedora Linux 44.
AI-assisted: yes (Claude Code), the section was drafted and checked with tools; reviewed before opening.
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a)Thanks @KernelSmoker for the independent run and the header observation. Pushed
22b8d28: the section now says CMake fetches the pinned, hash-checked Vulkan headers only if the system does not provide them. The 12 docs tests pass (47/47). Happy to adjust again if #491 changes the fetch order.AI-assisted; no game data.
Thanks for clarifying the fallback behavior. I verified the updated head
22b8d285242ce9f0dc90e4c6ccc307cb659bb659: all 12tests/test_docs*.pymodules passed, 47/47 total, andgit diff --checkpassed. The new “if the system does not provide them” wording matches the configure behavior I observed, so my original documentation finding is resolved by this update. I had not rerun the updated head when I first reviewed it; these are the follow-up results. AI-assisted verification.Merged, thanks! Docs only; the docs tests pass with it merged onto
main.main70a3d519f+22b8d2852: the semantic suite passes (491 files, 6,312 tests, 0 files failed);test_docs_cli_flagspass; the 15 docs and writer tests pass;check_no_game_data.pyis clean on the 2 changed files.AI-assisted (Claude Code, Claude Opus 5.5).