Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 30 lines (25 sloc) 0.49 kb
86763f0 cuda: added kcuda
Shinpei Kato authored
1 #!/bin/sh
2
3 # libcuda or kcuda
6a5f06c gdev: fixed configure files
Shinpei Kato authored
4 target='libcuda'
86763f0 cuda: added kcuda
Shinpei Kato authored
5
6 # parse the given options.
7 for option
8 do
9 case "$option" in
10 -*=*) optarg=`echo "$option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
11 *) optarg= ;;
12 esac
13
14 case "$option" in
15 --target=*)
16 target="$optarg" ;;
17 esac
18 done
19
20 if [ $target = 'libcuda' ] ; then
21 cp -f ../libcuda/* .
22 cp -f ../driver_api/* .
23 cp -f ../cudump/* .
24 elif [ $target = 'kcuda' ] ; then
25 cp -f ../kcuda/* .
26 cp -f ../driver_api/* .
27 else
28 echo "Error: invalid target '$target'"
29 fi
Something went wrong with that request. Please try again.