[BE] parse CMake version from cmake -E capabilities instead of cmake --version#157073
[BE] parse CMake version from cmake -E capabilities instead of cmake --version#157073XuehaiPan wants to merge 8 commits intogh/XuehaiPan/337/basefrom
cmake -E capabilities instead of cmake --version#157073Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/157073
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (1 Unrelated Failure)As of commit c6b0f69 with merge base 2eb744c ( UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…ke --version` ghstack-source-id: db207d1 Pull-Request: pytorch#157073
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@pytorchbot revert -m "break libtorch build on Windows" -c nosignal |
|
@pytorchbot successfully started a revert job. Check the current status here. |
… of `cmake --version` (#157073)" This reverts commit 0c58bdd. Reverted #157073 on behalf of https://github.com/XuehaiPan due to break libtorch build on Windows ([comment](#157073 (comment)))
|
@XuehaiPan your PR has been successfully reverted. |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
Merge failedReason: 4 jobs have failed, first few of them are: windows-binary-libtorch-release / libtorch-cuda12_6-shared-with-deps-release-build, windows-binary-libtorch-release / libtorch-cuda12_8-shared-with-deps-release-build, windows-binary-libtorch-debug / libtorch-cpu-shared-with-deps-debug-build, windows-binary-libtorch-debug / libtorch-cuda12_9-shared-with-deps-debug-build Details for Dev Infra teamRaised by workflow job |
…ke --version` ghstack-source-id: 21e2048 Pull-Request: pytorch#157073
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
cmake -E capabilitiesproduces a JSON format that is more machine-friendly.Stack from ghstack (oldest at bottom):
setuptools<80.0#156049python setup.py develop/install->[uv ]pip install --no-build-isolation [-e ].#156027pyproject.tomlconsistency #156017setuptools.build_meta:__legacy__->setuptools.build_meta#155998pathlib.Pathinstead ofos.path.*insetup.py#156742mypyonsetup.py#156741super().method(...)in command subclasses insetup.py#156044cmake -E capabilitiesinstead ofcmake --version#157073