Skip to content

Commit cc53cbc

Browse files
committed
use gfortran 11
1 parent 2f333bd commit cc53cbc

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

tools/build_steps.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,16 @@ function before_build {
3939
# get_macpython_environment ${MB_PYTHON_VERSION} venv
4040
python3.9 -m venv venv
4141
source venv/bin/activate
42-
alias gfortran=gfortran-15
42+
# Since install_fortran uses `uname -a` to determine arch,
43+
# force the architecture
44+
arch -${PLAT} bash -s << " EOF"
45+
set -ex
46+
source tools/gfortran_utils.sh
47+
install_gfortran
48+
EOF
49+
which gfortran
50+
gfortran --version
51+
4352
# Deployment target set by gfortran_utils
4453
echo "Deployment target $MACOSX_DEPLOYMENT_TARGET"
4554

0 commit comments

Comments
 (0)