Skip to content

Build from Source

Terminal window
git clone https://github.com/zeptodb/zeptodb.git
cd zeptodb
mkdir -p build && cd build
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=clang-19 -DCMAKE_CXX_COMPILER=clang++-19
ninja -j$(nproc)
Terminal window
# C++ unit tests (766+)
./tests/zepto_tests
# Python tests (208)
python3 -m pytest ../tests/test_python.py -v
OptionDefaultDescription
CMAKE_BUILD_TYPEReleaseRelease / Debug / RelWithDebInfo
ZEPTO_ENABLE_JITONLLVM JIT compilation
ZEPTO_ENABLE_SIMDONHighway SIMD vectorization
ZEPTO_ENABLE_UCXONUCX/RDMA transport

Verified on aarch64 (Amazon Linux 2023, Clang 19.1.7) — 766/766 tests passing.

Terminal window
# Same build commands work on Graviton
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=clang-19 -DCMAKE_CXX_COMPILER=clang++-19
ninja -j$(nproc)