#!/bin/sh

cmake .. \
    -DCMAKE_CXX_COMPILER=nvcc \
    -DCMAKE_C_COMPILER=nvcc \
    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
    -DCMAKE_EXPORT_COMPILE_COMMANDS=1 \
    -DCMAKE_INSTALL_PREFIX=./install \
    -DBUILD_PY_FFI=ON \
    -DBUILD_MULTI_GPU=ON \
    -DCMAKE_CUDA_FLAGS="-lineinfo" \
    -DUSE_NVTX=OFF \
    -DBUILD_TEST=ON
