Some of the hardcoded flags here are wrong: https://github.com/nmslib/hnswlib/blob/master/CMakeLists.txt 1. `-march=` is not supported on PowerPC, `-mtune=` is. 2. `-lrt` is a BSD library, it should not be used on macOS, AFAIK.