[build] remove cmake cache and reconfigure again if it is invalid#156958
[build] remove cmake cache and reconfigure again if it is invalid#156958XuehaiPan wants to merge 25 commits intogh/XuehaiPan/335/basefrom
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
|
This kind of stuff is why we should switch to scikit-build. |
ghstack-source-id: 967655e Pull-Request: pytorch#156958
ghstack-source-id: 90af777 Pull-Request: pytorch#156958
ghstack-source-id: 90af777 Pull-Request: pytorch#156958
| import warnings | ||
|
|
||
|
|
||
| def which(thefile: str) -> str | None: |
There was a problem hiding this comment.
Should we just wrap this with typing_extensions.deprecated?
There was a problem hiding this comment.
I tried this, but typing-extensions is not installed in CI environment because build isolation is disabled.
There was a problem hiding this comment.
Really? It's in the build_requires? sigh...
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/ninjawith 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.tomlconsistency #156017setuptools.build_meta:__legacy__->setuptools.build_meta#155998cc @malfet @seemethere