aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/02-apt.sh
diff options
context:
space:
mode:
authorHeikki Halmet <heikki.halmet@qt.io>2020-09-25 15:19:13 +0300
committerHeikki Halmet <heikki.halmet@qt.io>2020-11-03 08:29:44 +0300
commit9de232ba6691a577a450f1904d20acaf7447774e (patch)
tree09b166d937652c01a041e5977b927bfc0f3667fe /coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/02-apt.sh
parenta7b8f5abd8019b4533fa98536e7ad970a4e94db5 (diff)
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 dff15e0a716caf5510521daa9e9f0df4c17f9cad)
Diffstat (limited to 'coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/02-apt.sh')
-rwxr-xr-xcoin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/02-apt.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/02-apt.sh b/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/02-apt.sh
index 226b1ebf..c0773280 100755
--- a/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/02-apt.sh
+++ b/coin/provisioning/qtci-linux-Ubuntu-16.04-x86_64/02-apt.sh
@@ -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.
@@ -186,3 +186,6 @@ pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/sh
# shellcheck source=../common/unix/SetEnvVar.sh
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
+
+gccVersion="$(gcc --version |grep gcc |cut -b 13-17)"
+echo "GCC = $gccVersion" >> versions.txt