Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 1.51 KB

README.md

File metadata and controls

44 lines (36 loc) · 1.51 KB

HXHIM

The Hexadimensional Hashing Indexing Middleware

HXHIM


License

HXHIM is licensed under the OSS and BSD-3 licenses. Please see LICENSE for details.

Contact

[email protected]

Dependencies

Build

source contrib/hxhim_dependencies.sh --{BMI,CCI,OFI,SM} download_dir build_name install_dir [PROCS]
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX="${HXHIM_PREFIX}"
make
make install
export LD_LIBRARY_PATH="${HXHIM_PREFIX}/lib:${LD_LIBRARY_PATH}"
export PKG_CONFIG_PATH="${HXHIM_PREFIX}/lib/pkgconfig:${PKG_CONFIG_PATH}"

contrib/hxhim_dependencies.sh should be run first in order make sure all dependencies are available. The build_name argument of contrib/hxhim_dependencies.sh is a string that will be appended to download_dir, not a full path. build and $(hostname) are recommended.

Usage Notes

  • The number of databases must remain the same across all runs for the stored data to make sense.
  • All pointers that are passed into HXHIM are still owned by the caller.
  • All pointers that come from HXHIM must be freed through their 'hxhim_*_destroy' functions.