Unified · Split
| @@ -9,4 +9,11 @@ compiled as `llc` and `opt` into `PATH` does *NOT* work. · 8 unmodified lines | ||
| 9 | 9 | |
| 10 | 10 | Create symlinks (named `llc` and `opt`) somewhere, pointing at `llcache`. |
| 11 | 11 | |
| 12 | − stack ... --ghc-options '-pgmlo .../llcache/opt -pgmlc .../llcache/llc' | |
| 12 | + LLCACHE_DIR=~/.llcache stack ... --ghc-options '-pgmlo .../llcache/opt -pgmlc .../llcache/llc' | |
| 13 | + | |
| 14 | +## TODO | |
| 15 | + | |
| 16 | +* better error handling | |
| 17 | +* zstd compression of the output files | |
| 18 | +* handle stdin/stdout processing - llc/opt called without filename(s) | |
| 19 | +* rebuild when llc/opt changed (look at elf build id? sha256 the entire thing? check mtime?) | |