Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
trac 31183: build scipy on Mac OS X Big Sur.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpalmieri committed Jan 4, 2021
1 parent 9d686f2 commit 470ffac
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/pkgs/scipy/spkg-install.in
Expand Up @@ -10,6 +10,10 @@ if [ "$UNAME" = "Darwin" ]; then
unset LAPACK
export LDFLAGS="-bundle -undefined dynamic_lookup $LDFLAGS"
export CPPFLAGS="-D__ACCELERATE__ $CPPFLAGS"
# For building on OS X 11: see https://trac.sagemath.org/ticket/31183.
if [ $MACOSX_VERSION -ge 20 ]; then
export MACOSX_DEPLOYMENT_TARGET=11.0
fi
else
export {ATLAS,PTATLAS,OPENBLAS,MKL,MKLROOT}=None
export LDFLAGS="-shared $LDFLAGS"
Expand Down

0 comments on commit 470ffac

Please sign in to comment.