From 479528873a5cef386379d31333c36d03fdfd1f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Guillemet?= Date: Sun, 30 Jun 2024 23:17:01 +0200 Subject: [PATCH] Fix gfortran detection --- scipy/cppbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scipy/cppbuild.sh b/scipy/cppbuild.sh index 4e9fad63b6..c9b62868e0 100755 --- a/scipy/cppbuild.sh +++ b/scipy/cppbuild.sh @@ -170,7 +170,7 @@ case $PLATFORM in strip $(find ../ -iname *.so) ;; macosx-arm64) - export F77="$(brew ls gcc | grep bin/gfortran | head -n 1)" + export F77="$(brew ls gcc@13 | grep bin/gfortran | head -n 1)" export F90="$F77" export LDFLAGS="-L/usr/lib/" ATLAS=None FC="$F77" "$PYTHON_BIN_PATH" -m pip install . --prefix $INSTALL_PATH --config-settings=builddir=build