Files
runner-images/images/ubuntu/scripts/build/install-gfortran.sh
T

21 lines
580 B
Bash
Raw Normal View History

2020-10-07 13:49:40 +05:00
#!/bin/bash -e
2020-02-04 17:14:16 +03:00
################################################################################
2023-11-22 21:49:23 +01:00
## File: install-gfortran.sh
## Desc: Install GNU Fortran
2020-02-04 17:14:16 +03:00
################################################################################
2023-12-29 12:36:27 +01:00
# Source the helpers for use with the script
source $HELPER_SCRIPTS/install.sh
2020-02-04 17:14:16 +03:00
versions=$(get_toolset_value '.gfortran.versions[]')
2020-11-25 11:13:17 +04:00
2023-12-26 12:50:52 +01:00
for version in ${versions[*]}; do
echo "Installing $version..."
2024-05-29 13:43:07 +02:00
apt-get install $version
2020-02-04 17:14:16 +03:00
done
2024-06-16 17:56:46 +02:00
echo "Install versionless gfortran (latest)"
apt-get install gfortran
2023-11-22 21:49:23 +01:00
invoke_tests "Tools" "gfortran"