Install¶
From Nix¶
Nix is a package manager with amazing properties that is available on all Linux or Unix-like systems (e.g., macOS).
intervalset is available on NUR-Kapack and directly from intervalset’s git repository (flake or classical default.nix
).
Build It Yourself¶
intervalset can be built with Meson and Ninja.
# Get the code
git clone https://framagit.org/batsim/intervalset.git
cd intervalset
# Prepare build (call meson)
meson build # install prefix can be changed with --prefix
cd build
# Build the library (and the unit tests if google-test is found)
ninja
# Install
ninja install # may need privileges depending on prefix
Note
You first need to install intervalset’s dependencies. Notably:
decent C++ compiler
decent Meson
Up-to-date dependencies are defined in the intervalset Nix package.
Give a look at the CI build output for versions.