mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:45:54 +01:00
[PR #378] [MERGED] OLD-7067: build scripts refuse a folder with % in its path up front #432
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#432
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/378
Author: @lines9686-rgb
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/24/2026
Merged by: @QemmHD
Base:
main← Head:build-refuse-percent-path📝 Commits (2)
5dbd92bbuild scripts: refuse a folder with % in its path up front2a4f650build_llvm_mc.ps1: a relative -Temp is checked as the full path it resolves to📊 Changes
4 files changed (+80 additions, -0 deletions)
View changed files
📝
docs/testing.md(+1 -0)📝
scripts/build_llvm_mc.ps1(+7 -0)📝
scripts/build_runtime.ps1(+5 -0)➕
tests/test_build_percent_path.py(+67 -0)📄 Description
Claimed in the coordination issue as:
OLD-7067(carried over from the original repository, same author)What and why
A checkout with
%in its path fails late and confusingly:cmd.exeexpands%...%in the generated_build.cmd, andcl.exerejects a%in the path-valued/Ddefinitions of the runtime's test targets (D8038) however it is quoted (@ezbyDev's measurements in the original repository).build_runtime.ps1now stops before looking for Visual Studio when the checkout path has a%, andbuild_llvm_mc.ps1when-Temphas one, each naming the folder; docs/testing.md gets a Known-problems row.Tested
python tests/test_build_percent_path.py(runs both scripts with such a path, with git, python and vswhere hidden so a missing check cannot start a real build): OK on Windows 11.GPUs tested: n/a
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly.scripts/check_no_game_data.pyover every changed file: clean).docs/design.md: n/a🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.