solana/net/scripts/update-default-cuda.sh

10 lines
188 B
Bash
Raw Normal View History

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