Permalink
Browse files

Add library path for cuda+mac

  • Loading branch information...
1 parent d475029 commit 44cb4ba1d701dab1ad37160d7a0ea168ce2da042 @jvoorhis committed Dec 18, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 .zshrc
View
@@ -59,10 +59,15 @@ esac
# CUDA
if [[ -d /usr/local/cuda ]]; then
export PATH="/usr/local/cuda/bin:$PATH"
+ case $(uname) in
+ Darwin)
+ export DYLD_LIBRARY_PATH="/usr/local/cuda/lib:$DYLD_LIBRARY_PATH"
+ ;;
+ esac
fi
# credentials
-if [ -f ~/.zshrc_private ]; then
+if [[ -f ~/.zshrc_private ]]; then
source ~/.zshrc_private
fi

0 comments on commit 44cb4ba

Please sign in to comment.