2018-11-11 08:19:04 -08:00
|
|
|
#!/usr/bin/env bash
|
2018-11-07 13:32:48 -08:00
|
|
|
#
|
|
|
|
# Updates the default cuda symlink to the supported version
|
|
|
|
#
|
2018-11-11 09:25:59 -08:00
|
|
|
set -ex
|
2018-11-07 13:32:48 -08:00
|
|
|
|
|
|
|
[[ $(uname) = Linux ]] || exit 1
|
|
|
|
[[ $USER = root ]] || exit 1
|
|
|
|
|
|
|
|
ln -sfT /usr/local/cuda-9.2 /usr/local/cuda
|