llcache
A read-only mirror of https://git.kyotam.com/sigrid. It updates only from there.
llcache
ccache-like program for llc and opt, mainly to speed up GHC on slow arches (aarch64).
stack
Not exactly sure what stack does to PATH variable, but apparently trying to put llcache
compiled as llc and opt into PATH does NOT work.
Create symlinks (named llc and opt) somewhere, pointing at llcache.
LLCACHE_DIR=~/.llcache stack ... --ghc-options '-pgmlo .../llcache/opt -pgmlc .../llcache/llc'
TODO
- better error handling
- zstd compression of the output files
- handle stdin/stdout processing - llc/opt called without filename(s)
- rebuild when llc/opt changed (look at elf build id? sha256 the entire thing? check mtime?)