summaryrefslogtreecommitdiff
path: root/getDecuda
diff options
context:
space:
mode:
authorJimmy Kwa <[email protected]>2010-11-09 12:18:30 -0800
committerJimmy Kwa <[email protected]>2010-11-09 12:18:30 -0800
commitbf981f1c32f6248b5e3f0f5b3585fcb0e1daca61 (patch)
tree5bc846e0893851894e0473f39125b0c82d15ea19 /getDecuda
parentd7809cae28dd28ac86555e53cb2d125656aa3ec0 (diff)
Added modifications to Makefile to build decuda_to_ptxplus and download/patch Decuda. Modified config file for ptxplus regression so it runs the converted ptxplus.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 8002]
Diffstat (limited to 'getDecuda')
-rwxr-xr-xgetDecuda/getDecuda.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/getDecuda/getDecuda.sh b/getDecuda/getDecuda.sh
index a4a7db9..381724b 100755
--- a/getDecuda/getDecuda.sh
+++ b/getDecuda/getDecuda.sh
@@ -1,10 +1,13 @@
# This script downloads the latest version of decuda from http://github.com/laanwj/decuda, untars it and patches it.
-# Currently hardcoded to work with only decuda 0.4.2.
+# Only works with decuda 0.4.2.
# decuda.patch must be in the same folder as getDecuda.sh
-wget -q http://github.com/laanwj/decuda/tarball/master
+cd ./getDecuda
+wget --no-check-certificate http://github.com/laanwj/decuda/tarball/master
tar -xf ./laanwj-decuda-c30bd17.tar.gz
-mv laanwj-decuda-c30bd17 ../decuda
-patch -s -d ../decuda < ./decuda.patch
+mv laanwj-decuda-c30bd17 decuda
+patch -d ./decuda < ./decuda.patch
rm ./laanwj-decuda-c30bd17.tar.gz
+mv decuda ../decuda
+cd ..