Provisioning: Add system GCC versions to versions.txt

Currently GCC versions which comes with the system are missing from
versions.txt. This change will add those

Task-number: QTQAINFRA-3933
Change-Id: I1934e6257acf92d72dcb382884aad60503b7b32f
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit dff15e0a71)
This commit is contained in:
Heikki Halmet
2020-09-25 15:19:13 +03:00
parent a7b8f5abd8
commit 9de232ba66
7 changed files with 30 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
#############################################################################
##
## Copyright (C) 2017 The Qt Company Ltd.
## Copyright (C) 2020 The Qt Company Ltd.
## Contact: http://www.qt.io/licensing/
##
## This file is part of the provisioning scripts of the Qt Toolkit.
@@ -56,3 +56,5 @@ sudo apt-get update
echo "Installing packages"
sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y install "${installPackages[@]}"
gccVersion="$(gcc --version |grep gcc |cut -b 13-17)"
echo "GCC = $gccVersion" >> versions.txt