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
1 changed files with 2 additions and 0 deletions

View File

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