File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -82,23 +82,11 @@ install_ubuntu() {
82
82
# see: https://github.com/pytorch/pytorch/issues/65931
83
83
apt-get install -y libgnutls30
84
84
85
- # cuda-toolkit does not work with gcc-11.2.0 which is default in Ubunutu 22.04
86
- # see: https://github.com/NVlabs/instant-ngp/issues/119
87
- if [[ " $UBUNTU_VERSION " == " 22.04" * ]]; then
88
- apt-get install -y g++-10
89
- update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 30
90
- update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 30
91
- update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-10 30
92
-
93
- # https://www.spinics.net/lists/libreoffice/msg07549.html
94
- sudo rm -rf /usr/lib/gcc/x86_64-linux-gnu/11
95
- fi
96
-
97
85
# Required to install the fortran after gcc update
98
86
if [[ " $UBUNTU_VERSION " == " 22.04" * ]]; then
99
87
apt autoremove -y gfortran
100
88
apt-get update -y
101
- apt-get install -y gfortran
89
+ apt-get install -y gfortran libopenblas-dev
102
90
fi
103
91
104
92
# Cleanup package manager
You can’t perform that action at this time.
0 commit comments