mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-10 00:46:41 +08:00
SLES 15 SP6: Install gcc11 instead of gcc10
gcc10 was removed from official and SUSE community repositories for SP6.
The missing gcc10 is blocking provisioning so install gcc11 instead. SP5
still has gcc10 and it is active in dev branch.
Task-number: QTQAINFRA-7187
Change-Id: Ie7c9f2175553c29654cf5b358ead6dd76e635d60
Reviewed-by: Tero Heikkinen <tero.heikkinen@qt.io>
(cherry picked from commit 10f0d1443c)
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
This commit is contained in:
committed by
Tero Heikkinen
parent
24009d854a
commit
fc4ab56529
@@ -8,15 +8,15 @@ sudo zypper -nq install elfutils binutils
|
||||
|
||||
sudo zypper addrepo --no-gpgcheck http://repo-clones.ci.qt.io/repos/opensuse/repositories/devel/gcc/SLE-15/devel:gcc.repo
|
||||
sudo zypper refresh
|
||||
sudo zypper -nq install --force-resolution gcc10 gcc10-c++
|
||||
sudo zypper -nq install --force-resolution gcc11 gcc11-c++
|
||||
|
||||
# Make sure needed ca-certificates are available
|
||||
sudo zypper -nq install ca-certificates
|
||||
|
||||
sudo /usr/sbin/update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 1 \
|
||||
--slave /usr/bin/g++ g++ /usr/bin/g++-10 \
|
||||
--slave /usr/bin/cc cc /usr/bin/gcc-10 \
|
||||
--slave /usr/bin/c++ c++ /usr/bin/g++-10
|
||||
sudo /usr/sbin/update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 1 \
|
||||
--slave /usr/bin/g++ g++ /usr/bin/g++-11 \
|
||||
--slave /usr/bin/cc cc /usr/bin/gcc-11 \
|
||||
--slave /usr/bin/c++ c++ /usr/bin/g++-11
|
||||
|
||||
sudo zypper -nq install git ninja make patch wget tar
|
||||
|
||||
|
||||
Reference in New Issue
Block a user