Skip to content

Commit

Permalink
Trac #32207: homebrew llvm / clang - followup to #30835
Browse files Browse the repository at this point in the history
in #30835 problems with using clang(++) from Homebrew on macOS were
found

* Pillow build broken
* PATH needs to be adjusted (?)

After Pillow update to 9.0.1 the only problem is caused by an obsolete
workaround
for Darwin/XCode in Pillow's spkg-install. The branch here removes it.

URL: https://trac.sagemath.org/32207
Reported by: dimpase
Ticket author(s): Dima Pasechnik
Reviewer(s): John Palmieri
  • Loading branch information
Release Manager committed Mar 26, 2022
2 parents 9d867e2 + 9619910 commit 87a2e57
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions build/pkgs/pillow/spkg-install.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ rm -rf \
"$SAGE_LOCAL"/lib/python*/site-packages/PIL-*.egg* \
"$SAGE_LOCAL"/lib/python*/site-packages/Pillow-*.egg*

if [ "$UNAME" = "Darwin" ] ; then
# #29019
# https://github.com/python-pillow/Pillow/issues/3438#issuecomment-555019284
# https://apple.stackexchange.com/questions/372032/usr-include-missing-on-macos-catalina-with-xcode-11/372600#372600
export CPATH="$CPATH:`xcrun --show-sdk-path`/usr/include"
fi

if [ "$CONDA_PREFIX" != "" ]; then
# Quoted quotes so that whitespace in CONDA_PREFIX works correctly.
# Below we run the command line through eval.
Expand Down

0 comments on commit 87a2e57

Please sign in to comment.