Skip to content

Commit

Permalink
Merge pull request #3298 from Xarthisius/ci_osx_proj
Browse files Browse the repository at this point in the history
Pin proj to 7.x per SciTools/cartopy#1140
  • Loading branch information
jzuhone authored May 24, 2021
2 parents c2b62be + 275bace commit 7817522
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/ci_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ osx|macOS)
sudo mkdir -p /usr/local/man
sudo chown -R "${USER}:admin" /usr/local/man
brew update
HOMEBREW_NO_AUTO_UPDATE=1 brew install hdf5 proj geos open-mpi netcdf ccache
# proj can be unpinned when upstream incompatibility issue is resolved. See
# https://github.com/SciTools/cartopy/issues/1140
export LDFLAGS="$LDFLAGS -L/usr/local/opt/proj@7/lib"
export CPPFLAGS="$CPPFLAGS -I/usr/local/opt/proj@7/include"
export CFLAGS="$CFLAGS -I/usr/local/opt/proj@7/include"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/proj@7/lib/pkgconfig"
HOMEBREW_NO_AUTO_UPDATE=1 brew install hdf5 proj@7 geos open-mpi netcdf ccache
;;
esac

Expand Down

0 comments on commit 7817522

Please sign in to comment.