Add dotfiles for cgminer and AMDSDK for crypto mining

This commit is contained in:
2013-12-28 11:29:33 +00:00
parent 616dead175
commit 88ab582f3d
3 changed files with 18 additions and 0 deletions

View File

@@ -31,9 +31,11 @@ source "$DOTSHELL/nodejs.sh"
source "$DOTSHELL/python.sh"
source "$DOTSHELL/ruby.sh"
source "$DOTSHELL/sbcl.sh"
source "$DOTSHELL/amdsdk.sh"
# Applications
source "$DOTSHELL/rtorrent.sh"
source "$DOTSHELL/cgminer.sh"
# Services
source "$DOTSHELL/services.sh"

9
shell/amdsdk.sh Normal file
View File

@@ -0,0 +1,9 @@
if [ -d "/opt/AMDAPP" ]; then
export AMDAPPSDKROOT="/opt/AMDAPP"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"/opt/AMDAPP/lib/x86_64":"/opt/AMDAPP/lib/x86"
export DISPLAY=:0
export GPU_MAX_ALLOC_PERCENT=100
export GPU_USE_SYNC_OBJECTS=1
# export XAUTHORITY=/.Xauthority
fi

7
shell/cgminer.sh Normal file
View File

@@ -0,0 +1,7 @@
#
# cgminer
#
if [ -d "/opt/cgminer/bin" ]; then
path_prepend "/opt/cgminer/bin"
fi