mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Add dotfiles for cgminer and AMDSDK for crypto mining
This commit is contained in:
@@ -31,9 +31,11 @@ source "$DOTSHELL/nodejs.sh"
|
|||||||
source "$DOTSHELL/python.sh"
|
source "$DOTSHELL/python.sh"
|
||||||
source "$DOTSHELL/ruby.sh"
|
source "$DOTSHELL/ruby.sh"
|
||||||
source "$DOTSHELL/sbcl.sh"
|
source "$DOTSHELL/sbcl.sh"
|
||||||
|
source "$DOTSHELL/amdsdk.sh"
|
||||||
|
|
||||||
# Applications
|
# Applications
|
||||||
source "$DOTSHELL/rtorrent.sh"
|
source "$DOTSHELL/rtorrent.sh"
|
||||||
|
source "$DOTSHELL/cgminer.sh"
|
||||||
|
|
||||||
# Services
|
# Services
|
||||||
source "$DOTSHELL/services.sh"
|
source "$DOTSHELL/services.sh"
|
||||||
|
|||||||
9
shell/amdsdk.sh
Normal file
9
shell/amdsdk.sh
Normal 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
7
shell/cgminer.sh
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
#
|
||||||
|
# cgminer
|
||||||
|
#
|
||||||
|
|
||||||
|
if [ -d "/opt/cgminer/bin" ]; then
|
||||||
|
path_prepend "/opt/cgminer/bin"
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user