Add CUDA_HOME env var to permit overriding the CUDA install location

This commit is contained in:
Michael Vines
2018-11-10 18:03:38 -08:00
parent b670b9bcde
commit cf6f344ccc
4 changed files with 18 additions and 8 deletions

View File

@@ -13,10 +13,11 @@ if ! ci/version-check.sh stable; then
fi
export RUST_BACKTRACE=1
export RUSTFLAGS="-D warnings"
export CUDA_HOME=/usr/local/cuda
./fetch-perf-libs.sh
export LD_LIBRARY_PATH=$PWD/target/perf-libs:/usr/local/cuda/lib64:$LD_LIBRARY_PATH
export PATH=$PATH:/usr/local/cuda/bin
export LD_LIBRARY_PATH=$PWD/target/perf-libs:$CUDA_HOME/lib64:$LD_LIBRARY_PATH
export PATH=$PATH:$CUDA_HOME/bin
_() {
echo "--- $*"