2020-10-07 13:49:40 +05:00
|
|
|
#!/bin/bash -e
|
2019-12-13 09:48:00 -05:00
|
|
|
################################################################################
|
2023-11-22 21:49:23 +01:00
|
|
|
## File: install-gcc-compilers.sh
|
|
|
|
|
## Desc: Install GNU C++ compilers
|
2019-12-13 09:48:00 -05:00
|
|
|
################################################################################
|
|
|
|
|
|
2020-09-24 20:49:22 +03:00
|
|
|
# Source the helpers for use with the script
|
2021-01-15 21:12:26 +07:00
|
|
|
source $HELPER_SCRIPTS/install.sh
|
2020-09-24 20:49:22 +03:00
|
|
|
|
2021-01-15 21:12:26 +07:00
|
|
|
versions=$(get_toolset_value '.gcc.versions[]')
|
2020-09-24 20:49:22 +03:00
|
|
|
|
|
|
|
|
for version in ${versions[*]}; do
|
2023-12-26 12:50:52 +01:00
|
|
|
echo "Installing $version..."
|
2024-05-29 13:43:07 +02:00
|
|
|
apt-get install $version
|
2020-02-04 17:14:16 +03:00
|
|
|
done
|
2020-12-23 10:25:52 +03:00
|
|
|
|
2023-11-22 21:49:23 +01:00
|
|
|
invoke_tests "Tools" "gcc"
|