Skip to content

Fix intel compiler installation when "assume yes" is not set as an apt default #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

timdawborn
Copy link
Contributor

Currently, if you attempt to use setup-fortran.sh on a base Ubuntu image, installing the Intel compilers will currently die as apt-get install is run without the -y argument (assume yes). All other instances of apt-get install in setup-fortran.sh have the -y. It looks to have been accidentally missed here.

This PR adds in the missing -y to allow the intel compiler to be installed in all cases.

Note that it works when running on GitHub Actions' ubuntu-latest docker image as that has apt configured to always assume yes by default: https://github.com/actions/runner-images/blob/2a8403091c994d6b63e292facecd23b7212c6ccb/images/ubuntu/scripts/build/configure-apt.sh#L20-L21

Copy link
Contributor

@wpbonelli wpbonelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @timdawborn

@wpbonelli wpbonelli merged commit e15cd28 into fortran-lang:main Mar 20, 2025
162 checks passed
@timdawborn timdawborn deleted the fix-intel-installation-assume-yes branch March 21, 2025 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants