-
Notifications
You must be signed in to change notification settings - Fork 24.9k
[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
Conversation
🔗 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 FailuresAs of commit 27845be with merge base 3df6360 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
ghstack-source-id: 999ef3c Pull-Request: pytorch#156958
ghstack-source-id: 028cfc0 Pull-Request: pytorch#156958
ghstack-source-id: 98761f3 Pull-Request: pytorch#156958
ghstack-source-id: 6631f29 Pull-Request: pytorch#156958
ghstack-source-id: 6631f29 Pull-Request: pytorch#156958
This kind of stuff is why we should switch to scikit-build. |
ghstack-source-id: b02628c Pull-Request: pytorch#156958
ghstack-source-id: b02628c Pull-Request: pytorch#156958
ghstack-source-id: b02628c Pull-Request: pytorch#156958
ghstack-source-id: 967655e Pull-Request: pytorch#156958
ghstack-source-id: 967655e Pull-Request: pytorch#156958
ghstack-source-id: 967655e Pull-Request: pytorch#156958
ghstack-source-id: 90af777 Pull-Request: pytorch#156958
ghstack-source-id: 90af777 Pull-Request: pytorch#156958
ghstack-source-id: 90af777 Pull-Request: pytorch#156958
ghstack-source-id: 90af777 Pull-Request: pytorch#156958
ghstack-source-id: 90af777 Pull-Request: pytorch#156958
ghstack-source-id: 90af777 Pull-Request: pytorch#156958
@@ -2,9 +2,17 @@ | |||
|
|||
import os | |||
import sys | |||
import warnings | |||
|
|||
|
|||
def which(thefile: str) -> str | None: |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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...
ghstack-source-id: 90af777 Pull-Request: pytorch#156958
ghstack-source-id: 90af777 Pull-Request: pytorch#156958
@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 |
See also:
uv pip install .
will create PEP-517 venv twice which breaks build-requires (e.g.,cmake
/ninja
with absolute path in first venv) astral-sh/uv#14269Stack from ghstack (oldest at bottom):
setuptools<80.0
#156049python setup.py develop/install
->[uv ]pip install --no-build-isolation [-e ].
#156027pyproject.toml
consistency #156017setuptools.build_meta:__legacy__
->setuptools.build_meta
#155998cc @malfet @seemethere