155.10. libpoly-0.2.1
Polynomial arithmetic and real algebraic numbers — the library yices2's MCSAT solver reasons with
0.2.1-1 · LGPL-3.0-or-later · 0.3 SBU · 3.9 MiB, 56 files · 41_system, 745 of 1047 · ports/core/math/libpoly
Homepage: https://github.com/SRI-CSL/libpoly
Depends on: cmake, ninja, gmp.
Required by (1): yices2.
Sources: libpoly-0.2.1.tar.gz (614.8 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libpoly'
build.sh:
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DLIBPOLY_BUILD_PYTHON_API=OFF \
-DLIBPOLY_BUILD_STATIC=ON \
-DLIBPOLY_BUILD_STATIC_PIC=ON \
-DLIBPOLY_BUILD_STATISTICS=OFF \
-DBUILD_TESTING=OFF
cmake --build build
DESTDIR=$PKG cmake --install build
Libraries: libpicpoly.a, libpicpolyxx.a, libpoly.a, libpoly.so, libpolyxx.a, libpolyxx.so.
Directories: /usr/include/poly, /usr/share/licenses/libpoly.