torch-mlir/build_tools
Stella Laurenzo c39a90e6e9 Fixes a few issues found when debugging powderluv's setup.
* It is optional to link against Python3_LIBRARIES. Check that and don't do it if they don't exist for this config.
* Clean and auditwheel need to operate on sanitized package names. So "torch_mlir" vs "torch-mlir".
* Adds a pyproject.toml file that pins the build dependencies needed to detect both Torch and Python (the MLIR Python build was failing to detect because Numpy wasn't in the pip venv).
* Commented out auditwheel: These wheels are not PyPi compliant since they weak link to libtorch at runtime. However, they should be fine to deploy to users.
* Adds the --extra-index-url to the pip wheel command, allowing PyTorch to be found.
* Hack setup.py to remove the _mlir_libs dir before building. This keeps back-to-back versions from accumulating in the wheels for subsequent versions. IREE has a more principled way of doing this, but what I have here should work.
2022-04-20 22:28:25 -07:00
..
python_deploy Fixes a few issues found when debugging powderluv's setup. 2022-04-20 22:28:25 -07:00
torchscript_e2e_heavydep_tests Centralize all test serialization logic. 2022-03-28 10:17:13 -07:00
build_python_wheels.sh Pin the Python package to the exact PyTorch nightly. 2022-04-20 16:47:38 -07:00
build_standalone.sh [NFC] Rename external -> externals (#699) 2022-03-26 09:12:27 -07:00
update_shape_lib.sh Introduce new shape library design. 2022-03-15 12:41:58 -07:00
update_torch_ods.sh Reduce compilation time for TorchOps.cpp.inc 2022-03-21 14:42:26 -07:00
write_env_file.sh Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00