build: redirect 26.00 builds to bundle directory

- tools/linux/build_plugin_linux.py: point VERSION_LAYOUT['26.00'].bundle_dir
  to versions/26.00-bundle/ (was versions/26.00/); update module docstring.
- tools/legacy/build_plugin_2600_vs2026.py: point project_dir to
  versions/26.00-bundle/ (was versions/26.00/).
- tools/linux/setup_26_01_bundle_symlinks.py: refactor to use bundle_root /
  vendor_root variables and add C/Asm root-level symlink creation, matching
  the new setup_26_00_bundle_symlinks.py convention.
This commit is contained in:
2026-05-03 01:31:30 +02:00
parent eec05089cf
commit 68f5101c64
3 changed files with 24 additions and 10 deletions
+14 -4
View File
@@ -4,10 +4,20 @@ import os
from pathlib import Path
ROOT = Path(__file__).resolve().parents[2]
bundle_7zip = ROOT / "versions/26.01-bundle/CPP/7zip"
vendor_7zip = ROOT / "versions/26.01/CPP/7zip"
bundle_cpp = ROOT / "versions/26.01-bundle/CPP"
vendor_cpp = ROOT / "versions/26.01/CPP"
bundle_root = ROOT / "versions/26.01-bundle"
vendor_root = ROOT / "versions/26.01"
bundle_7zip = bundle_root / "CPP/7zip"
vendor_7zip = vendor_root / "CPP/7zip"
bundle_cpp = bundle_root / "CPP"
vendor_cpp = vendor_root / "CPP"
# Root-level symlinks: C and Asm
for name in ("C", "Asm"):
target = bundle_root / name
if not target.exists() and not target.is_symlink():
rel = os.path.relpath(vendor_root / name, bundle_root)
os.symlink(rel, target)
print(f" symlink: {target.relative_to(ROOT)} -> {rel}")
for item in vendor_7zip.iterdir():
target = bundle_7zip / item.name