ArangoDB

Information about building, benchmarking and porting ArangoDB

Compiling

The shipped version of gcc, 8.3.1, on RHEL 8 will not compile ArangoDB latest version, at time of writing this is 3.7.4. So a more modern version of gcc will need to be compiled and used. gcc 10.2.0 was used for this validation. This may result in the need to use LD_LIBRARY_PATH to point to the new compiler libraries instead of the system installed ones.

By default the option to use optimisations for the CPU architecture is enabled. This will enable the compilation of a 3rd party library which is bundled with the source. This library is simdcomp which uses Intel SIMD instructions to speed up compression and decompression and as such will only compile for x86. This needs to be disabled with passing "-DUSE_OPTIMIZE_FOR_ARCHITECTURE=Off" to cmake.

Other libraries are also attempting to pull in x86intrin.h and these can be disabled by passing -DASM_OPTIMIZATIONS=Off to cmake.