fix(tools): Windows builds when paths contain spaces (prefix_map, ldgen, CI)

- Harden prefix_map.cmake for paths with spaces on Windows

- ldgen: fragments-list-file, list normalization, CMake integration (tools/cmake + cmakev2)

- CI exclude list for check_tools; test_spaces bundle tweak

Made-with: Cursor
This commit is contained in:
Jakub Kocka
2026-06-04 14:45:05 +08:00
parent 424a685692
commit 2e5d930e6b
8 changed files with 80 additions and 21 deletions
+8
View File
@@ -144,6 +144,12 @@ def main():
'--fragments-list', help='Input fragment files as a semicolon-separated list', type=str
)
fragments_group.add_argument(
'--fragments-list-file',
type=argparse.FileType('r'),
help='File containing fragment file paths, one per line',
)
argparser.add_argument(
'--libraries-file', type=argparse.FileType('r'), help='File that contains the list of libraries in the build'
)
@@ -201,6 +207,8 @@ def main():
fragment_files = []
if args.fragments_list:
fragment_files = args.fragments_list.split(';')
elif args.fragments_list_file:
fragment_files = [line.strip() for line in args.fragments_list_file if line.strip()]
elif args.fragments:
fragment_files = args.fragments