Created
May 8, 2024 09:43
-
-
Save trinhtuanvubk/d051f6816fcb6dfd10b52caccdfe806a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| MAX_GCC_VERSION=8 | |
| sudo apt install gcc-$MAX_GCC_VERSION g++-$MAX_GCC_VERSION | |
| sudo ln -s /usr/bin/gcc-$MAX_GCC_VERSION /usr/local/cuda/bin/gcc | |
| sudo ln -s /usr/bin/g++-$MAX_GCC_VERSION /usr/local/cuda/bin/g++ | |
| ln -s /usr/bin/gcc-8 /home/user/miniconda3/envs/your_env/bin/gcc | |
| ln -s /usr/bin/g++-8 /home/user/miniconda3/envs/your_env/bin/g++ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment