torch-mlir/build_tools
Ashay Rane 2846776897
ci: enable ccache on Windows (#1548)
This patch makes a few small, but key, changes to enable ccache on
Windows.  First, it replaces the hendrikmuhs/ccache-action action with
command line invocations to the ccache binary, since the action has two
bugs, one of which causes CI to refer to different ccache artifacts
before versus after the build on Windows whereas the other bug can
sometimes cause the action to incorrectly infer that the cache is empty.

Second, this patch slightly alters the cache key, so that our old cache
artifacts, which have grown too big, are eventually discarded in favor
of the new, smaller cache artifacts.  Along the way, this patch also
keeps the RollPyTorch's cache artifact separate from the regular build's
cache artifact so as to keep these artifacts small, and also because the
RollPyTorch action is off the critical path for most contributors.

Finally, this patch makes small changes to the CMake file so that on
Windows, the ccache binary is added as a prefix, as recommended on the
[ccache Wiki](https://github.com/ccache/ccache/wiki/MS-Visual-Studio).
2022-11-03 12:17:22 -05:00
..
docker Dockerize CI + Release builds (#1234) 2022-08-30 11:07:25 -07:00
python_deploy ci: enable ccache on Windows (#1548) 2022-11-03 12:17:22 -05:00
autogen_ltc_backend.py Fix symint ops and blacklist `lift_fresh_copy` (#1373) 2022-09-20 10:16:04 -04:00
autogen_ltc_backend.yaml Remove all but one of valsem ops + move fill.Scalar to elementwise (#1531) 2022-10-28 15:06:11 +00:00
build_libtorch.sh build: make PyTorch caching more robust (#1510) 2022-10-20 08:50:18 -05: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 build: improve robustness of cmake and shell scripts (#1018) 2022-07-06 14:39:30 -07:00
scrape_releases.py Create github action for creating pip-compatible releases index 2022-09-23 15:26:19 -04:00
update_shape_lib.sh Slightly tweak generated file checks 2022-08-31 20:03:25 -07:00
update_torch_ods.sh Slightly tweak generated file checks 2022-08-31 20:03:25 -07:00
write_env_file.sh build: improve robustness of cmake and shell scripts (#1018) 2022-07-06 14:39:30 -07:00