FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
gmp Free library for arbitrary precision arithmetic
5.1.3_3 math on this many watch lists=57 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: ale@FreeBSD.org search for ports maintained by this maintainer
Port Added: 19 Jan 2010 11:18:24
Also Listed In: devel
License: LGPL3
GMP is a free library for arbitrary precision arithmetic, operating
on signed integers, rational numbers, and floating point numbers.
There is no limit to the precision except the ones implied by the
available memory in the machine GMP runs on. GMP has a rich set of
functions, and the functions have a regular interface. 

GMP is designed to be as fast as possible, both for small operands
and for huge operands. The speed is achieved by using fullwords as
the basic arithmetic type, by using fast algorithms, with carefully
optimized assembly code for the most common inner loops for a lot of
CPUs, and by a general emphasis on speed (instead of simplicity or
elegance). 

GMP is believed to be faster than any other similar library. The
advantage for GMP increases with the operand sizes for certain
operations, since GMP in many cases has asymptotically faster
algorithms. 

WWW: http://gmplib.org/
SVNWeb : Homepage : Distfiles Availability : PortsMon

To install the port: cd /usr/ports/math/gmp/ && make install clean
To add the package: pkg install gmp

PKGNAME: gmp


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Runtime dependencies:
  1. indexinfo : print/indexinfo

This port is required by:

for Build for Libraries
  1. audio/cheesetracker*
  2. cad/ghdl
  3. cad/openscad
  4. converters/hs-aeson-pretty
  5. databases/pgrouting
  6. databases/sfcgal
  7. devel/aarch64-none-elf-gcc
  8. devel/amd64-gcc
  9. devel/arm-eabi-gcc*
  10. devel/arm-none-eabi-gcc
  11. devel/arm-none-eabi-gcc492
  12. devel/arm-rtems-gcc*
  13. devel/avr-gcc
  14. devel/avr-gcc-devel
  15. devel/bncsutil-ghost++
  16. devel/cross-gcc*
  17. devel/gcc-arm-embedded
  18. devel/gcc-msp430-ti-toolchain
  19. devel/gnatcoll
  20. devel/hs-BNFC
  21. devel/hs-DrIFT
  22. devel/hs-ReadArgs
  23. devel/hs-ShellCheck
  24. devel/hs-alex
  25. devel/hs-c2hs
  26. devel/hs-cabal-install
  27. devel/hs-cpphs
  28. devel/hs-darcs
  29. devel/hs-drift*
  30. devel/hs-ghc-events
  31. devel/hs-git-annex
  32. devel/hs-gtk2hs-buildtools
  33. devel/hs-haddock
  34. devel/hs-happy
  35. devel/hs-hasktags
  36. devel/hs-hastache
  37. devel/hs-hdoc*
  38. devel/hs-hlint
  39. devel/hs-hmake*
  40. devel/hs-hoogle
  41. devel/hs-hsb2hs
  42. devel/hs-hspec-discover
  43. devel/hs-idoc*
  44. devel/hs-mueval
  45. devel/hs-shake
  46. devel/hs-threadscope
  47. devel/hs-uuagc
  48. devel/hs-uuagc-bootstrap
  49. devel/i386-rtems-gcc*
  50. devel/isl
  51. devel/libXGP*
  52. devel/libYGP*
  53. devel/libuninum
  54. devel/m68k-rtems-gcc*
  55. devel/mingw32-gcc
  56. devel/mips-gcc
  57. devel/mips-rtems-gcc*
  58. devel/mips64-gcc
  59. devel/msp430-gcc*
  60. devel/powerpc-rtems-gcc*
  61. devel/powerpc64-gcc
  62. devel/ppl
  63. devel/psptoolchain-gcc-stage1
  64. devel/psptoolchain-gcc-stage2
  65. devel/sfslite*
  66. devel/sfslite-dbg*
  67. devel/sfslite-noopt*
  68. devel/sh-rtems-gcc*
  69. devel/sparc-rtems-gcc*
  70. devel/sparc64-gcc
  71. dns/bind10*
  72. dns/bundy
  73. dns/dhisd
  74. dns/dnsmasq
  75. dns/dnsmasq-devel
  76. emulators/tpm-emulator
  77. finance/aqbanking
  78. finance/ledger
  79. finance/libalkimia
  80. games/minetest
  81. java/classpath
  82. lang/ats
  83. lang/bigloo
  84. lang/ecl
  85. lang/gcc
  86. lang/gcc-aux
  87. lang/gcc410*
  88. lang/gcc42*
  89. lang/gcc44*
  90. lang/gcc46
  91. lang/gcc47
  92. lang/gcc47-aux*
  93. lang/gcc48
  94. lang/gcc49
  95. lang/gcc5
  96. lang/gcc5-aux
  97. lang/gcc5-devel
  98. lang/gcc6-aux
  99. lang/gcc6-devel
  100. lang/gcl
  101. lang/ghc
  102. lang/gnat*
  103. lang/gnat-aux*
  104. lang/gnatdroid-armv5*
  105. lang/gnatdroid-armv7
  106. lang/gnatdroid-x86
  107. lang/gnu-cobol
  108. lang/gnustep-base
  109. lang/guile
  110. lang/guile2
  111. lang/hs-brainfuck
  112. lang/hs-epic*
  113. lang/hs-unlambda
  114. lang/ikarus*
  115. lang/librep
  116. lang/maude
  117. lang/mlton
  118. lang/moscow_ml
  119. lang/mosh
  120. lang/open-cobol*
  121. lang/parrot
  122. lang/pike76*
  123. lang/pike78
  124. lang/pure
  125. lang/q*
  126. lang/rakudo*
  127. lang/sbcl
  128. lang/stklos*
  129. lang/swi-pl
  130. lang/whitespace
  131. lang/yap-devel
  132. math/R-cran-igraph
  133. math/cgal
  134. math/cln
  135. math/cloog
  136. math/cvc3
  137. math/fflas-ffpack
  138. math/fpc-gmp
  139. math/gap
  140. math/giacxcas
  141. math/givaro
  142. math/glpk
  143. math/gmp-ecm
  144. math/hs-Agda
  145. math/hs-Agda-executable*
  146. math/igraph
  147. math/kcalc
  148. math/libjbigi
  149. math/mpc
  150. math/mpfr
  151. math/nlopt
  152. math/ntl
  153. math/numdiff
  154. math/ocaml-zarith
  155. math/p5-Math-BigInt-GMP
  156. math/p5-Math-GMP
  157. math/p5-Math-GMPf
  158. math/p5-Math-GMPq
  159. math/p5-Math-GMPz
  160. math/p5-Math-MPC
  161. math/p5-Math-MPFR
  162. math/pari
  163. math/php4-gmp*
  164. math/php5-gmp
  165. math/php52-gmp*
  166. math/php53-gmp*
  167. math/php55-gmp
  168. math/php56-gmp
  169. math/polymake*
  170. math/py-gmpy
  171. math/sdpa-gmp*
  172. math/surf
  173. math/testu01
  174. math/wcalc
  175. misc/kdeutils3*
  176. net/p5-Crypt-DH-GMP
  177. net-p2p/gnunet
  178. net-p2p/ktorrent
  179. net-p2p/ktorrent2*
  180. net-p2p/libktorrent
  181. net-p2p/ncdc
  182. ports-mgmt/hs-porte
  183. print/hs-hscolour
  184. print/lilypond
  185. print/lilypond-devel
  186. science/hs-bio
  187. security/botan*
  188. security/botan110
  189. security/hs-clientsession
  190. security/libecc
  191. security/libprelude
  192. security/libpreludedb
  193. security/lsh
  194. security/nettle
  195. security/pbc
  196. security/prelude-lml*
  197. security/prelude-manager*
  198. security/py-pycrypto
  199. security/sfs*
  200. security/ssss
  201. sysutils/hs-angel
  202. textproc/hs-HaXml
  203. textproc/hs-lhs2tex
  204. textproc/hs-pandoc
  205. textproc/hs-pandoc-citeproc
  206. textproc/hs-yaml
  207. www/hs-DAV
  208. www/hs-activehs
  209. www/hs-gitit
  210. www/hs-hS3
  211. www/hs-hjsmin
  212. www/hs-snap
  213. www/hs-wai-app-static
  214. www/hs-yesod-bin
  215. x11/hs-xmobar
  216. x11-toolkits/hs-wxdirect
  217. x11-wm/hs-xmonad
for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
===> The following configuration options are available for gmp-5.1.3_3:
     CPU_OPTS=off: Enable assembly optimizations for your CPU
===> Use 'make config' to modify these settings

USES:
libtool makeinfo tar:xz

Master Sites:
  1. ftp://ftp.dti.ad.jp/pub/GNU/gmp/
  2. ftp://ftp.gnu.org/gnu/gmp/
  3. ftp://ftp.informatik.hu-berlin.de/pub/gnu/gnu/gmp/
  4. ftp://ftp.informatik.rwth-aachen.de/pub/mirror/ftp.gnu.org/pub/gnu/gmp/
  5. ftp://ftp.kddlabs.co.jp/GNU/gnu/gmp/
  6. ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/gmp/
  7. http://distcache.FreeBSD.org/ports-distfiles/
  8. http://ftp.funet.fi/pub/gnu/prep/gmp/
  9. http://ftp.gnu.org/gnu/gmp/
  10. http://ftpmirror.gnu.org/gmp/
  11. http://mirrors.kernel.org/gnu/gmp/
  12. http://www.gtlib.gatech.edu/pub/gnu/gnu/gmp/
Port Moves
  • port moved here from math/libgmp4 on 2010-04-19
    REASON: Switch to newer performance release

Number of commits found: 25

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
10 Feb 2016 16:13:24
Original commit files touched by this commit  5.1.3_3
Revision:408635
kwm search for other commits by this committer
Drop :keepla from USES:libtool.

PR:		202029
Submitted by:	Ting-Wei Lan <lantw44@gmail.com>
Exp-run by:	antoine@
Approved by:	maintainer timeout (6 months)
14 May 2015 10:15:09
Original commit files touched by this commit  5.1.3_2
Revision:386312
mat search for other commits by this committer
MASTER_SITES cleanup.

- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
25 Jun 2014 08:58:09
Original commit files touched by this commit  5.1.3_2
Revision:359209
bapt search for other commits by this committer
Fix build on system built WITHOUT_INFO

With hat:	portmgr
23 Apr 2014 13:25:17
Original commit files touched by this commit  5.1.3_2
Revision:351936
tijl search for other commits by this committer
When linking a library libA with a library libB using libtool, if libB.la
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la.  So everything that subsequently links with libA will also
link to these extra libraries.  This causes too much overlinking.

This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging.  However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.

So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).
(Only the first 15 lines of the commit message are shown above View all of this commit message)
02 Mar 2014 22:29:23
Original commit files touched by this commit  5.1.3_1
Revision:346825
bapt search for other commits by this committer
Convert to USES=libtool
14 Dec 2013 04:47:23
Original commit files touched by this commit  5.1.3
Revision:336420
koobs search for other commits by this committer
The MCPU_OPTS conditional block currently incorrectly sets ABI=64 for
all ARCH strings that in 64. GMP expects mode64, mode32 or 32 as valid values
for the ABI option [1]. Using an invalid value causes the following
build error on powerpc64:

    configure: error: ABI=64 is not among the following valid choices:
    mode64 mode32 32

This is the minimum change to set the correct "mode64" ABI value when
ARCH is powerpc64, while also keeping all other semantics the same. A
more complete refactor of this port is possible, but would need an
exp-run to test for regressions.

The change was tested on powerpc64 (thanks justin) and amd64 (for regression)

While I'm here:

- Remove indefinite article from COMMENT

[1] https://gmplib.org/manual/Build-Options.html

PR:		ports/179127
Submitted by:	jhibbits
Reviewed by:	jhibbits, ak
Approved by:	maintainer timeout (6 months)
05 Oct 2013 21:04:40
Original commit files touched by this commit  5.1.3
Revision:329504
ale search for other commits by this committer
Update to 5.1.3 release.
24 Sep 2013 06:24:17
Original commit files touched by this commit  5.1.2
Revision:328096
bapt search for other commits by this committer
Remove NO_STAGE to ports natively stage ready shown by a FORCE_STAGE exp-run

Exp-run by:	bdrewery
20 Sep 2013 20:55:06
Original commit files touched by this commit  5.1.2
Revision:327746
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
math)
14 Aug 2013 22:35:54
Original commit files touched by this commit  5.1.2
Revision:324744  Sanity Test Failure
ak search for other commits by this committer
- Remove MAKE_JOBS_SAFE variable

Approved by:	portmgr (bdrewery)
27 May 2013 12:18:23
Original commit files touched by this commit  5.1.2
Revision:319220
ale search for other commits by this committer
Update to 5.1.2 release.
14 Feb 2013 14:42:18
Original commit files touched by this commit  5.1.1
Revision:312232
ale search for other commits by this committer
Update to 5.1.1 release.
13 Feb 2013 15:49:34
Original commit files touched by this commit  5.1.0
Revision:312165
ale search for other commits by this committer
Fix build on ARM (temporary fix).
06 Feb 2013 11:26:46
Original commit files touched by this commit  5.1.0
Revision:311758
ale search for other commits by this committer
Update to 5.1.0 release.
09 May 2012 10:17:39
Original commit files touched by this commit  5.0.5
ale search for other commits by this committer
Update to 5.0.5 release.
08 Mar 2012 08:39:52
Original commit files touched by this commit  5.0.4
ale search for other commits by this committer
Update to 5.0.4 release.
30 Jan 2012 11:00:07
Original commit files touched by this commit  5.0.3
ale search for other commits by this committer
Update to 5.0.3 release and pet portlint.
09 Nov 2011 15:26:04
Original commit files touched by this commit  5.0.2
miwi search for other commits by this committer
- Remove WITH_FBSD10_FIX, is no longer needed
29 Oct 2011 09:27:40
Original commit files touched by this commit  5.0.2
beat search for other commits by this committer
- Fix build on FreeBSD 10

Approved by:    ale@ (maintainer)
24 Oct 2011 04:17:38
Original commit files touched by this commit  5.0.2
dougb search for other commits by this committer
Remove more tags from pkg-descr files fo the form:

- Name
em@i.l

or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
10 May 2011 08:35:57
Original commit files touched by this commit  5.0.2
ale search for other commits by this committer
Update to 5.0.2 release.
20 Mar 2011 12:54:45
Original commit files touched by this commit  5.0.1
miwi search for other commits by this committer
- Get Rid MD5 support
05 Mar 2010 08:21:11
Original commit files touched by this commit  5.0.1
ale search for other commits by this committer
Update to 5.0.1 release.

Feature safe:   yes
19 Jan 2010 11:20:07
Original commit files touched by this commit  5.0.0
ale search for other commits by this committer
Update to 5.0.0 "performance" release.
19 Jan 2010 11:17:56
Original commit files touched by this commit  4.3.2
ale search for other commits by this committer
Forced commit: repocopy from math/libgmp4 to math/gmp.

PR:             ports/142861
Submitted by:   ale
Repocopied by:  marcus

Number of commits found: 25

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
dnscrypt-proxyFeb 10
linux-c6-flashplugin11Feb 10
linux-f10-flashplugin11Feb 10
chromiumFeb 09
graphite2*Feb 09
php55Feb 09
php56Feb 09
py-imagingFeb 09
py-imagingFeb 09
py-pillowFeb 09
py-pillowFeb 09
py-pillowFeb 09
py-pillowFeb 09
xymon-serverFeb 09
ffmpegFeb 06

32 vulnerabilities affecting 82 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 25718
Broken 361
Deprecated 147
Ignore 636
Forbidden 0
Restricted 206
No CDROM 87
Vulnerable 60
Expired 69
Set to expire 128
Interactive 0
new 24 hours 4
new 48 hours7
new 7 days27
new fortnight53
new month125

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.