Skip to content

Commit

Permalink
Move CUDA cache to XDG_CACHE_HOME
Browse files Browse the repository at this point in the history
Addresses #17
 - Adds `CUDA_CACHE_PATH` environment variable to `.zshenv` and points
   it to `XDG_CACHE_HOME`

Since the directory is a cache, there are generally two options how to
migrate:
 - Simply drop the `~/.nv` directory
 - Reload shell and move/rename it: `mv ~/.nv $CUDA_CACHE_PATH`
  • Loading branch information
matyama committed Apr 14, 2022
1 parent b0b181b commit 2459931
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .config/zsh/.zshenv
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ export VIMRC=${XDG_CONFIG_HOME}/nvim/init.vim
export NAME="Martin Matyášek"
export EMAIL=martin.matyasek@gmail.com

# CUDA
export CUDA_CACHE_PATH=${XDG_CACHE_HOME}/nv

# Binenv
export BINENV_HOME=${HOME}/.binenv

Expand Down

0 comments on commit 2459931

Please sign in to comment.