torch-mlir/build_tools
Dmitry Babokin a980130676
Fix macOS package build (#3562)
Without `--no-build-isolation` pip invokes `setup.py` in fresh
environment, which doesn't have `torch` installed. But `setup.py` does
`import torch` to check PyTorch version, so the build crashes. At the
same time the script creates a disposable virtual environment with all
required dependencies specifically to run wheel build. Note that Linux
package build also runs with this option.


15cf7106c4/setup.py (L230)

This was introduced by this commit:
74f7a0c9d6

And looks like macOS builds were not running in CI ever since.

I also updated Python versions in `install_macos_deps.sh`.
2024-08-22 19:13:20 +05:30
..
ci Re-enable LTC Build (#3261) 2024-04-29 19:02:12 +00:00
cmake Breakup python pytorch deps (#2582) 2023-11-19 12:10:19 -08:00
docker Dockerize CI + Release builds (#1234) 2022-08-30 11:07:25 -07:00
python_deploy Fix macOS package build (#3562) 2024-08-22 19:13:20 +05:30
autogen_ltc_backend.py [NFC reformat] Applies pre-commit formatting to Python files. (#3244) 2024-04-27 14:16:31 -07:00
autogen_ltc_backend.yaml [LTC] Support torch.ones/zeros/arange ops (#2440) 2023-09-21 13:25:14 -04:00
build_libtorch.sh Fix typos in comments (#2539) 2023-10-31 20:10:47 -07:00
build_python_wheels.sh build: improve robustness of cmake and shell scripts (#1018) 2022-07-06 14:39:30 -07:00
build_standalone.sh Re-organize project structure to separate PyTorch dependencies from core project. (#2542) 2023-11-02 19:45:55 -07:00
e2eshark_build.sh Create e2eshark_build.sh (#3062) 2024-03-26 16:37:54 -07:00
scrape_releases.py [NFC] Update black version (#3256) 2024-04-29 11:06:01 +08:00
update_abstract_interp_lib.sh Breakup python pytorch deps (#2582) 2023-11-19 12:10:19 -08:00
update_torch_ods.sh Breakup python pytorch deps (#2582) 2023-11-19 12:10:19 -08:00
write_env_file.sh Update PYTHONPATH in development.md (#2644) 2023-12-18 22:46:55 -08:00