yahoojapan / NGT

Nearest Neighbor Search with Neighborhood Graph and Tree for High-dimensional Data
Apache License 2.0
1.24k stars 114 forks source link

ngt 1.13.0 build failure #89

Closed chenrui333 closed 3 years ago

chenrui333 commented 3 years ago

👋 trying to build the latest release, but run into some build issue. The error log is as below:

build failure ``` /tmp/ngt-20210115-42869-please/NGT-1.13.0/lib/NGT/NGTQ/QuantizedGraph.h:301:23: error: use of undeclared identifier '_MM_HINT_T0' _mm_prefetch(&o[0], _MM_HINT_T0); ^ ```

Full build log is in here, https://github.com/Homebrew/homebrew-core/runs/1705868068 relates to https://github.com/Homebrew/homebrew-core/pull/69037

chenrui333 commented 3 years ago

trying the ngt 1.13.1 in Homebrew/homebrew-core#69037

masajiro commented 3 years ago

I found that the same issue occured when avx is unavailable. This issue I found was fixed in the 1.13.1. Did the 1.13.1 resolve your issue?

chenrui333 commented 3 years ago

yeah, the build is green after 1.13.1. thanks @masajiro for checking in.

closing the issue.