package gmp
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
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.
Dev Dependencies
None
Optional Dependencies
None
Used by
None
Conflicts (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