Skip to content

Commit 3daaa30

Browse files
committed
[UB22.04] Updates to support latest scipy
1 parent a3cf16a commit 3daaa30

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.ci/docker/common/install_base.sh

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -82,23 +82,11 @@ install_ubuntu() {
8282
# see: https://github.com/pytorch/pytorch/issues/65931
8383
apt-get install -y libgnutls30
8484

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-
9785
# Required to install the fortran after gcc update
9886
if [[ "$UBUNTU_VERSION" == "22.04"* ]]; then
9987
apt autoremove -y gfortran
10088
apt-get update -y
101-
apt-get install -y gfortran
89+
apt-get install -y gfortran libopenblas-dev
10290
fi
10391

10492
# Cleanup package manager

0 commit comments

Comments
 (0)