Skip to content

Commit

Permalink
Debug builds for SciPy on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
saudet committed May 3, 2024
1 parent d3a04bf commit 4ccfed4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scipy/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@ case $PLATFORM in
export F77="$(ls -1 /usr/local/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
ATLAS=None FC="$F77" "$PYTHON_BIN_PATH" -m pip install . --prefix $INSTALL_PATH --config-settings=builddir=mesonbuild || true
cat mesonbuild/meson-logs/meson-log.txt
# 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 4ccfed4

Please sign in to comment.