Summary: | bazel.eclass: dev-util/bazel builds fail when CCACHE enabled | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Susan Wilson <susanw> |
Component: | Eclasses | Assignee: | Jason Zaman <perfinion> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | chn, dan, jstein, kfm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Susan Wilson
2021-07-27 23:53:19 UTC
I have found a solution: set `cache_dir` in `/etc/ccache.conf`, like this: ``` cache_dir=/var/cache/ccache max_size=300G umask=002 compiler_check=%compiler% -v compress=false ``` I am not familiar with bazel too and I have tried to pass `CCACHE_DIR` and `-d $CCACHE_DIR` into bazel but all get failed, only this method works. |