PGM-index C++ library
The PGM-index C++ library is header-only. It does not need to be installed. Just clone the repo with
git clone https://github.com/gvinciguerra/PGM-index.git
and copy the
include/pgm directory to your system’s or project’s include path.
Instead, to build the tests, the tuner, and the benchmark, run
cmake . -DCMAKE_BUILD_TYPE=Release
The test runner will be placed in
test/. The tuner executable will be placed in
tuner/. The benchmark executable will be placed in
PyGM Python Library
PyGM is compatible with Python 3.3+. The easiest way to install it is through PyPI
Otherwise, you can clone the repo, build it from source and install it as follows:
if [[ "$(uname)" == "Darwin" ]]; then brew install libomp; fi
git clone https://github.com/gvinciguerra/PyGM.git
git submodule update --init --recursive
pip install .
Remember to leave the source directory PyGM/ and its parent before running Python.