mirror of https://github.com/llvm/torch-mlir
805d728194
This patch updates the build_linux_packages.sh script so that when PyTorch needs to be built from source, it is built _before_ building LLVM and before building Torch-MLIR. The rationale behind this change is that previously, when the PyTorch build was triggered through the Torch-MLIR build, the PyTorch compilation added more entries to the ccache artifacts. However, since we cache the PyTorch _binary_ (i.e. the WHL file), there is no need to add the PyTorch compilation to the ccache artifacts. By removing the PyTorch compilation files, we keep the ccache artifact size small, thus reducing the number of evictions when we exceed GitHub's allowed limit. |
||
---|---|---|
.. | ||
.gitignore | ||
build_linux_packages.sh | ||
build_macos_packages.sh | ||
build_upload_m1_snapshot.sh | ||
build_windows.ps1 | ||
build_windows_ci.ps1 | ||
install_macos_deps.sh |