Skip to content

Commit e15cd28

Browse files
authored
Fix intel compiler installation when "assume yes" is not set as an apt default. (#121)
1 parent 2bbdcb3 commit e15cd28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: setup-fortran.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -350,11 +350,11 @@ install_intel_apt()
350350
# c/cpp compiler package names changed with 2024+
351351
case $version in
352352
2024* | 2025*)
353-
sudo apt-get install \
353+
sudo apt-get install -y \
354354
intel-oneapi-compiler-{fortran,dpcpp-cpp}-$version
355355
;;
356356
*)
357-
sudo apt-get install \
357+
sudo apt-get install -y \
358358
intel-oneapi-compiler-{fortran,dpcpp-cpp-and-cpp-classic}-$version
359359
;;
360360
esac

0 commit comments

Comments
 (0)