Skip to content

Fix C++ standard selection for ExecuTorch tests - #22615

Merged
rascani merged 1 commit into
pytorch:mainfrom
rascani:fix-aten-buck
Sep 8, 2026
Merged

Fix C++ standard selection for ExecuTorch tests#22615
rascani merged 1 commit into
pytorch:mainfrom
rascani:fix-aten-buck

Conversation

@rascani

@rascani rascani commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Resolve ATen dependencies returned through selects so affected targets compile with C++20. Keep embedded tests on C++17 while overriding Apple tests to C++20 because generated XPlugins sources use std::span and std::ranges.

Test Plan:

  • Built representative Apple and fbcode test targets
  • Passed ATen detection unit tests
  • Passed lint

Authored with assistance from Codex.

Resolve ATen dependencies returned through selects so affected targets
compile with C++20. Keep embedded tests on C++17 while overriding Apple
tests to C++20 because generated XPlugins sources use `std::span` and
`std::ranges`.

Test Plan:
- Built representative Apple and fbcode test targets
- Passed ATen detection unit tests
- Passed lint

Authored with assistance from Codex.
@rascani
rascani requested a review from shoumikhin September 8, 2026 18:32
@pytorch-bot

pytorch-bot Bot commented Sep 8, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/22615

Note: Links to docs will display an error until the docs builds have been completed.

⏳ No Failures, 18 Pending

As of commit bf7bd6e with merge base 8dc72ce (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 8, 2026
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@rascani
rascani merged commit faf73b9 into pytorch:main Sep 8, 2026
208 of 210 checks passed
@rascani
rascani deleted the fix-aten-buck branch September 8, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants