[PR #659] [MERGED] docs/linux.md: add root-free micromamba setup section (DOC-LINUX-FEDORA-NOROOT) #699

Closed
opened 2026-11-26 20:18:45 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/659
Author: @dpalacios69
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @aslan2142

Base: main ← Head: docs-linux-fedora-noroot


📝 Commits (2)

  • 48cb4bf docs/linux.md: add root-free micromamba setup section (DOC-LINUX-FEDORA-NOROOT)
  • 22b8d28 docs/linux.md: clarify Vulkan header fetch fallback when system headers absent

📊 Changes

2 files changed (+34 additions, -0 deletions)

View changed files

📝 docs/linux.md (+33 -0)
📝 tests/test_docs_cli_flags.py (+1 -0)

📄 Description

Claimed in the coordination issue as: DOC-LINUX-FEDORA-NOROOT (#14)

What and why

docs/linux.md assumes apt and root. This adds a short "Without root (micromamba)" section for people who cannot install distribution packages: it installs llvm-tools (llvm-mc with the AMDGPU target) and spirv-tools from 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 runs run_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 off noexec, how to select the GPU instead of llvmpipe, and how to clean up. The download of micromamba latest is unsigned and unpinned; the section says so and links the official guide.

Section only, no new file. One line is added to the FOREIGN list in tests/test_docs_cli_flags.py for 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.
  • The same build and run_gpu_tests.py steps 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

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (n/a)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/659 **Author:** [@dpalacios69](https://github.com/dpalacios69) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/25/2026 **Merged by:** [@aslan2142](https://github.com/aslan2142) **Base:** `main` ← **Head:** `docs-linux-fedora-noroot` --- ### 📝 Commits (2) - [`48cb4bf`](https://github.com/ubiquitarianism/leonida/commit/48cb4bf039cf84870e2eb020a8b4fd87e508959e) docs/linux.md: add root-free micromamba setup section (DOC-LINUX-FEDORA-NOROOT) - [`22b8d28`](https://github.com/ubiquitarianism/leonida/commit/22b8d285242ce9f0dc90e4c6ccc307cb659bb659) docs/linux.md: clarify Vulkan header fetch fallback when system headers absent ### 📊 Changes **2 files changed** (+34 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/linux.md` (+33 -0) 📝 `tests/test_docs_cli_flags.py` (+1 -0) </details> ### 📄 Description Claimed in the coordination issue as: DOC-LINUX-FEDORA-NOROOT (#14) ### What and why `docs/linux.md` assumes `apt` and root. This adds a short "Without root (micromamba)" section for people who cannot install distribution packages: it installs `llvm-tools` (llvm-mc with the AMDGPU target) and `spirv-tools` from 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 runs `run_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 off `noexec`, how to select the GPU instead of `llvmpipe`, and how to clean up. The download of micromamba `latest` is unsigned and unpinned; the section says so and links the official guide. Section only, no new file. One line is added to the `FOREIGN` list in `tests/test_docs_cli_flags.py` for 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. - The same build and `run_gpu_tests.py` steps 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 - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [x] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed. (n/a) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:18:45 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#699
No description provided.