Skip to content

Commit

Permalink
Fix gfortran detection
Browse files Browse the repository at this point in the history
  • Loading branch information
HGuillemet committed Jun 30, 2024
1 parent 646fd1d commit 4852ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scipy/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ case $PLATFORM in
strip $(find ../ -iname *.so)
;;
macosx-arm64)
export F77="$(brew ls gfortran | grep bin/gfortran | head -n 1)"
export F77="$(brew ls gcc | 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
Expand Down

0 comments on commit 4852ae8

Please sign in to comment.