Last active
September 4, 2022 18:09
-
-
Save lakshanthad/c971a0ceb1a702b5f694f0f0314d3bcb to your computer and use it in GitHub Desktop.
Add TensorRT and CUDA path
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo -e '\n# set environment variable for TensorRT' >> ~/.bashrc | |
echo 'export TENSORRT_DIR=/usr/include/aarch64-linux-gnu' >> ~/.bashrc | |
echo -e '\n# set environment variable for CUDA' >> ~/.bashrc | |
echo 'export PATH=$PATH:/usr/local/cuda/bin' >> ~/.bashrc | |
echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64' >> ~/.bashrc | |
source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment