Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Use ~/.ccache as default ccache directory so is not cache is not eras…
Browse files Browse the repository at this point in the history
…ed on reboot
  • Loading branch information
larroy committed Nov 29, 2018
1 parent dcd8950 commit fd40970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def default_ccache_dir() -> str:
ccache_dir = "/tmp/_mxnet_ccache"
os.makedirs(ccache_dir, exist_ok=True)
return ccache_dir
return os.path.join(tempfile.gettempdir(), "ci_ccache")
return os.path.join(os.path.expanduser("~"), ".ccache")


def trim_container_id(cid):
Expand Down

0 comments on commit fd40970

Please sign in to comment.