Skip to content

Commit da84631

Browse files
committed
Change from v11 to v10
1 parent 79e2543 commit da84631

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tools/scripts/lib_install/linux/ubuntu-focal/install-prebuilt-packages.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,23 @@ set -u
99
apt-get update
1010
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
1111
g++ \
12-
g++-11 \
12+
g++-10 \
1313
gcc \
14-
gcc-11
14+
gcc-10
1515

1616
# Add alternatives for cpp-10, gcc-10, and g++-10
1717
# NOTE: We use a low priority to avoid affecting the prioritization of any existing alternatives
1818
# on the user's system.
19-
update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-11 0 \
19+
update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-10 0 \
2020
--slave /usr/share/man/man1/cc.1.gz cc.1.gz /usr/share/man/man1/gcc.1.gz
21-
update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-11 0 \
21+
update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-10 0 \
2222
--slave /usr/share/man/man1/c++.1.gz c++.1.gz /usr/share/man/man1/g++.1.gz
23-
update-alternatives --install /lib/cpp cpp /usr/bin/cpp-11 0
23+
update-alternatives --install /lib/cpp cpp /usr/bin/cpp-10 0
2424

2525
update-alternatives --config cc
2626

27-
update-alternatives --set cc /usr/bin/gcc-11
28-
update-alternatives --set c++ /usr/bin/g++-11
29-
update-alternatives --set cpp /usr/bin/cpp-11
27+
update-alternatives --set cc /usr/bin/gcc-10
28+
update-alternatives --set c++ /usr/bin/g++-10
29+
update-alternatives --set cpp /usr/bin/cpp-10
3030

3131
update-alternatives --config cc

0 commit comments

Comments
 (0)