Merge pull request #1658 from akv-platform/al-cheb/ubuntu-gcc10

[Ubuntu] Add GCC 10
This commit is contained in:
Maxim Lobanov
2020-09-28 10:37:08 +03:00
committed by GitHub
2 changed files with 13 additions and 7 deletions

View File

@@ -4,6 +4,10 @@
## Desc: Installs GNU C++
################################################################################
set -e
# Source the helpers for use with the script
source $HELPER_SCRIPTS/os.sh
function InstallGcc {
version=$1
@@ -29,7 +33,10 @@ versions=(
"g++-9"
)
for version in ${versions[*]}
do
if ! isUbuntu16; then
versions+=("g++-10")
fi
for version in ${versions[*]}; do
InstallGcc $version
done