summaryrefslogtreecommitdiff
path: root/getDecuda/getDecuda.sh
blob: a63a2ec1e3dc35778057eb57784e5010da8dd864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# This script downloads the latest version of decuda from http://github.com/laanwj/decuda, untars it and patches it.
# Only works with decuda 0.4.2.

# decuda.patch must be in the same folder as getDecuda.sh

cd ./getDecuda
wget -O decuda.tgz --no-check-certificate http://github.com/laanwj/decuda/tarball/master
tar -xf ./decuda.tgz
mv laanwj-decuda-c30bd17 decuda  # if this fails, we need to check what has changed in decuda, or get a perminant link to decuda 0.4.2
patch -d ./decuda < ./decuda.patch
rm ./decuda.tgz
mv decuda ../decuda
cd ..