build: warn when fixture Python is missing #147
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/148"
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?
Imported from R0Y00/Xbox2Windows. Originally posted by Neygen8 on 2026-11-21T17:16:51Z.
Change
CMake now warns at configure time when the path in
INTAKE_PYTHONis missing. The warning names the disabled Python-driven tests, shows the configured path and points to the setup instructions. The first-build guide explains the warning.Refs #132 (configure check).
Verification
Tested commit
4607f00on macOS with CMake 4.4.2. Usingcmake -DINTAKE_PYTHON:FILEPATH="<path>" -P out/configure-warning-check/check.cmakeon the extracted fixture guard, the base commit printed no warning for a missing path. The patch printed the warning and exited with code 0 for the missing path. With an existing interpreter, it exited with code 0 without the warning. The script returned before the Windows-only build commands.The six platform-independent checks passed with Python 3.11. The import-path check used
pefile==2024.8.26.Evidence and follow-up
To check the warning in a Windows developer shell, run the first command with a path that does not exist. It should configure successfully and print the warning. The second command should list no CPU tests. Run the Python setup and configure with the valid interpreter to register those tests.
The full build ran in GitHub Actions. The Windows build and tests, standalone GPU check smoke test, Linux Python checks, and gfx1013 fixture checks passed. Workflow run
Checklist
AI-assisted.