docs: clarify the DXC timing skip on older SDKs #2508

Merged
nanyoudegege merged 1 commit from upstream-pr/2516 into main 2026-11-25 19:36:19 +00:00
nanyoudegege commented 2026-11-25 19:25:15 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by nanyoudegege on 2026-11-25T19:25:15Z.


Why

The first-build guide describes the historical Windows SDK 10.0.22621/DXC 1.6 failure in #1369, but doesn't tell contributors what to expect on current main. Since #1393, the unsupported -ftime-report diagnostic returns 77 and CTest marks this check as skipped. Keep the SDK recommendation and historical result from #1394; document the current behavior in the same paragraph. No code or tests changed.

Verification

  • Base: bfba03c99c66bf7d14aa875fe3e6b273bf18b897. git diff --check and patch applicability check passed; the diff changes one line in README.md.
  • On cloud Linux, Python 3.12.14: python3 -B tests/dxc_compile_time_check.py /path/to/dxc-diagnostic with a synthetic compiler stand-in returned 77 for the unsupported -ftime-report diagnostic. REJECT_ARG=-Fh python3 -B tests/dxc_compile_time_check.py /path/to/dxc-diagnostic returned 1 for an unrelated unsupported flag, not a skip. Independently repeated the two cases and checked CMake's SKIP_RETURN_CODE 77 registration.
  • No Windows, real DXC, CTest, or GPU run was performed for this PR; #1393 documents a prior native verification.

Refs #1369, #1393, #1394. AI-assisted with Codex; independently reviewed.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6612018784 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2516). Originally posted by [nanyoudegege](https://github.com/nanyoudegege) on 2026-11-25T19:25:15Z. --- ## Why The first-build guide describes the historical Windows SDK 10.0.22621/DXC 1.6 failure in #1369, but doesn't tell contributors what to expect on current main. Since #1393, the unsupported `-ftime-report` diagnostic returns 77 and CTest marks this check as skipped. Keep the SDK recommendation and historical result from #1394; document the current behavior in the same paragraph. No code or tests changed. ## Verification - Base: `bfba03c99c66bf7d14aa875fe3e6b273bf18b897`. `git diff --check` and patch applicability check passed; the diff changes one line in `README.md`. - On cloud Linux, Python 3.12.14: `python3 -B tests/dxc_compile_time_check.py /path/to/dxc-diagnostic` with a synthetic compiler stand-in returned 77 for the unsupported `-ftime-report` diagnostic. `REJECT_ARG=-Fh python3 -B tests/dxc_compile_time_check.py /path/to/dxc-diagnostic` returned 1 for an unrelated unsupported flag, not a skip. Independently repeated the two cases and checked CMake's `SKIP_RETURN_CODE 77` registration. - No Windows, real DXC, CTest, or GPU run was performed for this PR; #1393 documents a prior native verification. Refs #1369, #1393, #1394. AI-assisted with Codex; independently reviewed.
upstream-sync closed this pull request 2026-11-25 20:04:35 +00:00
tedin7 commented 2026-11-25 20:04:35 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T19:32:07Z.

Review: COMMENTED


Comment review of head dd0da219 (README.md only, 1 line, 0 behind main).

Checked:

  • #1393 is merged, and CMakeLists.txt:3787 sets SKIP_RETURN_CODE 77 on dxc_compile_time_gvn, so "CTest reports it as skipped" is accurate.
  • Link to #1393 is correct; the wording now matches AGENTS.md:42.
  • Commands run: git diff --check origin/main...HEAD, python3 tests/docs_links_check.py (19 files, 471 links OK), python3 tests/bidi_controls_check.py (clean). CI on the head: SUCCESS/SKIPPED only.

No code is touched, so no mutation or Windows run applies. Looks sound.

AI-assisted; commands listed were executed locally.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6063770175 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2516#pullrequestreview-6063770175). Originally posted by [tedin7](https://github.com/tedin7) on 2026-11-25T19:32:07Z. **Review:** COMMENTED --- Comment review of head dd0da219 (README.md only, 1 line, 0 behind main). Checked: - #1393 is merged, and `CMakeLists.txt:3787` sets `SKIP_RETURN_CODE 77` on `dxc_compile_time_gvn`, so "CTest reports it as skipped" is accurate. - Link to #1393 is correct; the wording now matches `AGENTS.md:42`. - Commands run: `git diff --check origin/main...HEAD`, `python3 tests/docs_links_check.py` (19 files, 471 links OK), `python3 tests/bidi_controls_check.py` (clean). CI on the head: SUCCESS/SKIPPED only. No code is touched, so no mutation or Windows run applies. Looks sound. AI-assisted; commands listed were executed locally.
chatgpt-codex-connector[bot commented 2026-11-25 20:04:43 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T19:25:30Z.


Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T19:27:05.293275Z dd0da21 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7172277155 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2516#issuecomment-7172277155). Originally posted by [chatgpt-codex-connector[bot]](https://github.com/chatgpt-codex-connector%5Bbot%5D) on 2026-11-25T19:25:30Z. --- <!-- codex-pull-request-review-summary --> <!-- codex-review-state:v1 {"code_review":{"commit_sha":"dd0da21952e36d290ecc62931682ad1ae947d203","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":null,"has_any_findings":null,"has_unresolved_findings":null,"status":null}} --> <details> <summary><strong>Codex Review Summary</strong>: ✅ Completed</summary> This comment shows the latest Codex review activity on this pull request. | Review | Status | Commit | Review trigger | | --- | --- | --- | --- | | 📝 **Code Review** | ✅ **Completed** <relative-time datetime="2026-11-25T19:27:05.293275Z">2026-11-25T19:27:05.293275Z</relative-time> | `dd0da21` | PR opened | <details> <summary>ℹ️ About Codex in GitHub</summary> <br/> [Your team has set up Codex to review pull requests in this repo](https://chatgpt.com/codex/cloud/settings/general). Reviews are triggered when you - Open a pull request for review - Mark a draft as ready - Comment "@codex review" or "@codex security review". Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. </details> </details>
Sign in to join this conversation.
No reviewers
No labels
No milestone
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.

Reference
R0Y00/Xbox2Windows!2508
No description provided.