mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-25 22:27:49 +08:00
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.5 Change-Id: I9742c3151e074c503947018a0c7f7c2e0c1077bd Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io> (cherry picked from commit5f627786ef) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit207ba9b605) Reviewed-by: Simo Fält <simo.falt@qt.io>
This commit is contained in:
@@ -110,7 +110,7 @@ sudo zypper -nq install cifs-utils
|
||||
# For tst_license.pl with all the machines generating SBOM
|
||||
sudo zypper -nq install perl-JSON
|
||||
|
||||
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
|
||||
|
||||
OpenSSLVersion="$(openssl-3 version |cut -b 9-14)"
|
||||
|
||||
Reference in New Issue
Block a user