From c14d8ea8277a4112bed80d072c9e3517c07f249c Mon Sep 17 00:00:00 2001 From: Pan Long Date: Sun, 29 Aug 2021 16:34:01 +0800 Subject: [PATCH] Export HDF5 and CBLOSC paths. This is needed if homebrew isn't installed in the standard path, say, /usr/local/. --- setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.sh b/setup.sh index feb0241f8..e5f81578d 100755 --- a/setup.sh +++ b/setup.sh @@ -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