You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ma...@apache.org on 2018/11/30 14:50:55 UTC
[incubator-mxnet] branch master updated: Use ~/.ccache as default
ccache directory so is not cache is not erased on reboot (#13431)
This is an automated email from the ASF dual-hosted git repository.
marcoabreu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new f5d131e Use ~/.ccache as default ccache directory so is not cache is not erased on reboot (#13431)
f5d131e is described below
commit f5d131e42f6836bee3ab50c98711b83603d93fe1
Author: Pedro Larroy <92...@users.noreply.github.com>
AuthorDate: Fri Nov 30 15:50:33 2018 +0100
Use ~/.ccache as default ccache directory so is not cache is not erased on reboot (#13431)
---
ci/build.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ci/build.py b/ci/build.py
index acf277d..0069392 100755
--- a/ci/build.py
+++ b/ci/build.py
@@ -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):