package gmp

All checked builds pass
  1. Overview
  2. Docs
The GNU Multiple Precision Arithmetic Library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

gmp-6.3.0-1.tbz
sha256=cafe5beff5f35cb4451e341e1c07a019ac7047dd280ff55410e42ccc133bb757
sha512=22e00bae49ce436b7fc9ca458bf1b9c6eece73bbe05829d76c61c22d4e215160c12c39a511253a643eda205bb41ddee83f241e72439c0058a8cf767104683d21

Description

Dune packaging of the GMP library, suitable for cross-compilation.

Added to opam-repository:

README

GMP - Packaged with Dune

More info on GMP: https://gmplib.org/

To use GMP in a cross-compilation-friendly way, simply add this library in your library dependencies and make sure it is locally fetched using the opam-monorepo plugin (https://github.com/ocamllabs/opam-monorepo).

Example Dune configuration:

(library my_library)
 (foreign_stubs (language c) (include_dirs (lib gmp)))
 (libraries gmp)
 ...
)

This configuration enables the inclusion of gmp.h and the usage of gmp functions, even in a cross-compiled environment such as MirageOS.

Dependencies (3)

  1. conf-m4
  2. dune >= "2.6"
  3. ocaml >= "4.02.0"

Dev Dependencies

None

Optional Dependencies

None

Used by

None

Conflicts (1)

  1. ocaml-solo5 < "0.8.3"

Build status

Results of building gmp with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
6.3.0-1 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure