Installation
Requirements
C++20 compiler (GCC 13+, Clang 17+, MSVC 19.38+, Apple Clang 15+)
CMake 3.16+
For the Python bindings: Python 3.10+, numpy 1.23+
C++ via CMake presets
git clone https://github.com/DiamonDinoia/simdrng.git
cd simdrng
cmake --preset release
cmake --build build/release
ctest --test-dir build/release --output-on-failure
C++ via FetchContent
include(FetchContent)
FetchContent_Declare(
simdrng
GIT_REPOSITORY https://github.com/DiamonDinoia/simdrng.git
GIT_TAG main
)
FetchContent_MakeAvailable(simdrng)
target_link_libraries(my_target PRIVATE simdrng::simdrng)
Python bindings
pip install . # from a clone of the repo
# or, for development:
pip install -e '.[dev]'