Files
runner-images/images/ubuntu/scripts/build/install-gfortran.sh
2024-06-16 17:56:46 +02:00

21 lines
580 B
Bash

#!/bin/bash -e
################################################################################
## File: install-gfortran.sh
## Desc: Install GNU Fortran
################################################################################
# Source the helpers for use with the script
source $HELPER_SCRIPTS/install.sh
versions=$(get_toolset_value '.gfortran.versions[]')
for version in ${versions[*]}; do
echo "Installing $version..."
apt-get install $version
done
echo "Install versionless gfortran (latest)"
apt-get install gfortran
invoke_tests "Tools" "gfortran"