GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating-point numbers.
- The Core Planners: [email protected]
Library Package
Library packages can be set as runtime or build time dependencies, however they are typically used as buildtime dependencies. See Defining your dependencies for more information.
To add core/gmp as a depdendency, you can add one of the following to your plan file.
pkg_build_deps=(core/gmp)
pkg_deps=(core/gmp)
To install this plan, you should run the following commands to install it.
hab pkg install core/PKG
» Installing core/gmp
☁ Determining latest version of core/gmp in the 'stable' channel
→ Using core/gmp/6.1.2/20200305175803
★ Install of core/gmp/6.1.2/20200305175803 complete with 0 new packages installed.
To view the library files you must first search for them with habitat.
hab pkg path core/gmp
/hab/pkgs/core/gmp/6.1.2/20200305175803
ls /hab/pkgs/core/gmp/6.1.2/20200305175803
include
lib/
share/