Export HDF5 and CBLOSC paths.

This is needed if homebrew isn't installed in the standard path, say,
/usr/local/.
This commit is contained in:
Pan Long 2021-08-29 16:34:01 +08:00
parent 19b3e8a8c5
commit c14d8ea827

View File

@ -119,6 +119,7 @@ function install_mac_newer_python_dependencies() {
echo "-------------------------" echo "-------------------------"
brew install hdf5 brew install hdf5
fi fi
export HDF5_DIR=$(brew --prefix)
if [ ! $(brew --prefix --installed c-blosc 2>/dev/null) ] if [ ! $(brew --prefix --installed c-blosc 2>/dev/null) ]
then then
@ -127,6 +128,7 @@ function install_mac_newer_python_dependencies() {
echo "-------------------------" echo "-------------------------"
brew install c-blosc brew install c-blosc
fi fi
export CBLOSC_DIR=$(brew --prefix)
} }
# Install bot MacOS # Install bot MacOS