Skip to content

Commit

Permalink
Fix builds for SciPy on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
saudet committed Oct 17, 2023
1 parent 5901ae8 commit a02c4d0
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 @@ -164,7 +164,7 @@ case $PLATFORM in
export F77="$(ls -1 /usr/local/bin/gfortran-* | head -n 1)"
export F90="$F77"
export LDFLAGS="-L/usr/lib/"
ATLAS=None "$PYTHON_BIN_PATH" -m pip install . --prefix $INSTALL_PATH
ATLAS=None FC="$F77" "$PYTHON_BIN_PATH" -m pip install . --prefix $INSTALL_PATH
# need to add RPATH so it can find MKL in cache
for f in $(find ../ -iname *.so); do install_name_tool -add_rpath @loader_path/../../../ -add_rpath @loader_path/../../../../ $f || true; done
;;
Expand Down

0 comments on commit a02c4d0

Please sign in to comment.