- A modern C++ compiler
- CMake
- next libs installed (maybe optional):
- Boost (math(for knn), dynamic_bitset(for decision_trees))
- fmt ( because g++ doesn't support std::format(...) for ranges at the moment )
Note: $(nproc)
is equal to number of threads on your CPU. If you are using a POSIX shell, the function is usually defined.
- git clone the project.
cmake -S . -B ./build -DBUILD_TESTING=1 -DBUILD_SHARED_LIBS=1 -DCPM_USE_LOCAL_PACKAGES=1
cmake --build ./build -j $(nproc)
( to build (if-DBUILD_TESTING=1
was added, it will build tests.))ctest --test-dir ./build -j $(nproc) --verbose
( to test )cmake --install ./build
( to install .--prefix ./a_folder
to install to a prefix.)
I don't care about the code, so BSD-2