diff --git a/scripts/install-ngt.sh b/scripts/install-ngt.sh index 000d480..74c90c6 100755 --- a/scripts/install-ngt.sh +++ b/scripts/install-ngt.sh @@ -15,6 +15,8 @@ if [[ $(uname) == "Darwin" ]]; then /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install cmake brew install libomp + export LDFLAGS="-L/opt/homebrew/opt/libomp/lib" + export CPPFLAGS="-I/opt/homebrew/opt/libomp/include" pushd /tmp/ git clone https://github.com/yahoojapan/NGT cd NGT/