Linux: Add GCC versions visible in versions.txt

Currently only SLES and openSUSE has GCC in versions.txt.
Will also make GCC versions visible in Tools and Versions pages.

Task-number: QTQAINFRA-5901
Pick-to: 6.8 6.5
Change-Id: I9742c3151e074c503947018a0c7f7c2e0c1077bd
Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
(cherry picked from commit 5f627786ef)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Tero Heikkinen
2025-01-10 09:39:34 +02:00
committed by Qt Cherry-pick Bot
parent b8778d4e63
commit 207ba9b605
19 changed files with 43 additions and 7 deletions

View File

@@ -99,5 +99,5 @@ sudo zypper -nq install nodejs16
# OpenSSL 3
sudo zypper -nq install openssl-3
gccVersion="$(gcc --version |grep gcc |cut -b 17-23)"
gccVersion="$(gcc --version |grep -Eo '[0-9]+\.[0-9]+(\.[0-9]+)?' |head -n 1)"
echo "GCC = $gccVersion" >> versions.txt