Skip to content

[build] remove cmake cache and reconfigure again if it is invalid #156958

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 25 commits into from

Conversation

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Jun 26, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 27845be with merge base 3df6360 (image):
💚 Looks good so far! There are no failures yet. 💚

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

XuehaiPan added a commit that referenced this pull request Jun 26, 2025
@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Jun 26, 2025
@XuehaiPan XuehaiPan added module: build Build system issues release notes: build release notes category topic: build labels Jun 26, 2025
@XuehaiPan XuehaiPan requested review from rgommers and Skylion007 June 26, 2025 14:22
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Jun 26, 2025
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Jun 26, 2025
@XuehaiPan XuehaiPan added the ciflow/binaries Trigger all binary build and upload jobs on the PR label Jun 26, 2025
[ghstack-poisoned]
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jun 27, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jun 28, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jun 28, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jun 28, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jun 28, 2025
[ghstack-poisoned]
XuehaiPan added a commit that referenced this pull request Jun 28, 2025
[ghstack-poisoned]
@Skylion007
Copy link
Collaborator

This kind of stuff is why we should switch to scikit-build.

[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 1, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 1, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 1, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 1, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 1, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 1, 2025
[ghstack-poisoned]
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 2, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 2, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 2, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 2, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 2, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 2, 2025
@@ -2,9 +2,17 @@

import os
import sys
import warnings


def which(thefile: str) -> str | None:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we just wrap this with typing_extensions.deprecated?

Copy link
Collaborator Author

@XuehaiPan XuehaiPan Jul 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried this, but typing-extensions is not installed in CI environment because build isolation is disabled.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really? It's in the build_requires? sigh...

@XuehaiPan XuehaiPan added the ciflow/trunk Trigger trunk jobs on your pull request label Jul 2, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 2, 2025
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Jul 2, 2025
@XuehaiPan
Copy link
Collaborator Author

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

@github-actions github-actions bot deleted the gh/XuehaiPan/335/head branch August 2, 2025 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/binaries Trigger all binary build and upload jobs on the PR ciflow/trunk Trigger trunk jobs on your pull request Merged module: build Build system issues open source release notes: build release notes category topic: build topic: not user facing topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants