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
6.1.2 math on this many watch lists=54 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 : PortsMon

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

PKGNAME: gmp

ONLY_FOR_ARCHS: nil

NOT_FOR_ARCHS: nil

distinfo:

TIMESTAMP = 1487005782
SHA256 (gmp-6.1.2.tar.xz) = 87b565e89a9a684fe4ebeeddb8399dce2599f9c9049854ca8c0dfbdea0e21912
SIZE (gmp-6.1.2.tar.xz) = 1946336


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/gmsh
  4. cad/gmsh-occ
  5. cad/openscad
  6. converters/hs-aeson-pretty
  7. databases/pgrouting
  8. Expand this list (254 items)
  9. databases/sfcgal
  10. deskutils/genius
  11. devel/aarch64-gcc
  12. devel/aarch64-none-elf-gcc
  13. devel/amd64-gcc
  14. devel/arm-eabi-gcc*
  15. devel/arm-none-eabi-gcc
  16. devel/arm-none-eabi-gcc492
  17. devel/arm-rtems-gcc*
  18. devel/avr-gcc
  19. devel/avr-gcc-devel*
  20. devel/bncsutil-ghost++*
  21. devel/cross-gcc*
  22. devel/frama-c
  23. devel/gcc-arm-embedded
  24. devel/gcc-msp430-ti-toolchain
  25. devel/gecode
  26. devel/gnatcoll
  27. devel/hs-BNFC
  28. devel/hs-DrIFT
  29. devel/hs-ReadArgs
  30. devel/hs-ShellCheck
  31. devel/hs-alex
  32. devel/hs-c2hs
  33. devel/hs-cabal-install
  34. devel/hs-cpphs
  35. devel/hs-darcs
  36. devel/hs-drift*
  37. devel/hs-ghc-events
  38. devel/hs-git-annex
  39. devel/hs-gtk2hs-buildtools
  40. devel/hs-haddock
  41. devel/hs-happy
  42. devel/hs-hasktags
  43. devel/hs-hastache
  44. devel/hs-hdoc*
  45. devel/hs-hlint
  46. devel/hs-hmake*
  47. devel/hs-hoogle
  48. devel/hs-hsb2hs
  49. devel/hs-hspec-discover
  50. devel/hs-idoc*
  51. devel/hs-mueval
  52. devel/hs-shake
  53. devel/hs-threadscope
  54. devel/hs-uuagc
  55. devel/hs-uuagc-bootstrap
  56. devel/i386-rtems-gcc*
  57. devel/isl
  58. devel/libXGP*
  59. devel/libYGP*
  60. devel/libuninum
  61. devel/m68k-rtems-gcc*
  62. devel/mingw32-gcc
  63. devel/mips-gcc
  64. devel/mips-rtems-gcc*
  65. devel/mips64-gcc
  66. devel/msp430-gcc*
  67. devel/powerpc-rtems-gcc*
  68. devel/powerpc64-gcc
  69. devel/ppl
  70. devel/psptoolchain-gcc-stage1
  71. devel/psptoolchain-gcc-stage2
  72. devel/riscv64-binutils
  73. devel/riscv64-gcc
  74. devel/rubygem-oj
  75. devel/rubygem-oj2
  76. devel/sfslite*
  77. devel/sfslite-dbg*
  78. devel/sfslite-noopt*
  79. devel/sh-rtems-gcc*
  80. devel/sparc-rtems-gcc*
  81. devel/sparc64-gcc
  82. devel/stack
  83. dns/bind10*
  84. dns/bundy
  85. dns/dhisd
  86. dns/dnsmasq
  87. dns/dnsmasq-devel
  88. editors/texmacs
  89. emulators/tpm-emulator
  90. finance/aqbanking
  91. finance/kmymoney-kde4
  92. finance/ledger
  93. finance/libalkimia
  94. games/gnubg
  95. games/hs-scroll
  96. games/minetest
  97. java/classpath
  98. lang/ats
  99. lang/bigloo
  100. lang/ecl
  101. lang/gcc-aux*
  102. lang/gcc410*
  103. lang/gcc42*
  104. lang/gcc44*
  105. lang/gcc46
  106. lang/gcc47
  107. lang/gcc47-aux*
  108. lang/gcc48
  109. lang/gcc49
  110. lang/gcc5
  111. lang/gcc5-aux
  112. lang/gcc5-devel
  113. lang/gcc6
  114. lang/gcc6-aux
  115. lang/gcc6-devel
  116. lang/gcc7-devel
  117. lang/gcc8-devel
  118. lang/gcl
  119. lang/ghc
  120. lang/gnat*
  121. lang/gnat-aux*
  122. lang/gnatcross-aarch64
  123. lang/gnatdroid-armv5*
  124. lang/gnatdroid-armv7
  125. lang/gnatdroid-x86
  126. lang/gnu-cobol
  127. lang/gnustep-base
  128. lang/guile
  129. lang/guile2
  130. lang/hs-brainfuck
  131. lang/hs-epic*
  132. lang/hs-unlambda
  133. lang/ikarus*
  134. lang/julia
  135. lang/librep
  136. lang/maude
  137. lang/mlton
  138. lang/moscow_ml*
  139. lang/mosh
  140. lang/mosml
  141. lang/open-cobol*
  142. lang/parrot
  143. lang/pike76*
  144. lang/pike78
  145. lang/pure
  146. lang/q*
  147. lang/rakudo*
  148. lang/sbcl
  149. lang/stklos*
  150. lang/swi-pl
  151. lang/whitespace
  152. lang/yap
  153. lang/yap-devel
  154. mail/anubis
  155. math/R-cran-Rmpfr
  156. math/R-cran-gmp
  157. math/R-cran-igraph
  158. math/cadabra2
  159. math/cgal
  160. math/cln
  161. math/cloog
  162. math/crlibm
  163. math/cvc3
  164. math/fflas-ffpack
  165. math/fpc-gmp
  166. math/gap
  167. math/giacxcas
  168. math/givaro
  169. math/glpk
  170. math/gmp-ecm
  171. math/hs-Agda
  172. math/hs-Agda-executable*
  173. math/igraph
  174. math/kcalc
  175. math/libjbigi*
  176. math/mpc
  177. math/mpfr
  178. math/nlopt
  179. math/ntl
  180. math/numdiff
  181. math/ocaml-zarith
  182. math/p5-Math-BigInt-GMP
  183. math/p5-Math-GMP
  184. math/p5-Math-GMPf
  185. math/p5-Math-GMPq
  186. math/p5-Math-GMPz
  187. math/p5-Math-MPC
  188. math/p5-Math-MPFR
  189. math/p5-Math-Pari
  190. math/pari
  191. math/php4-gmp*
  192. math/php5-gmp*
  193. math/php52-gmp*
  194. math/php53-gmp*
  195. math/php55-gmp*
  196. math/php56-gmp
  197. math/php70-gmp
  198. math/php71-gmp
  199. math/polymake*
  200. math/py-gmpy
  201. math/py-gmpy2
  202. math/sdpa-gmp*
  203. math/surf
  204. math/testu01
  205. math/wcalc
  206. misc/kdeutils3*
  207. multimedia/ffmpeg
  208. multimedia/kodi
  209. multimedia/libav
  210. net/p5-Crypt-DH-GMP
  211. net/zmap
  212. net-p2p/gnunet*
  213. net-p2p/ktorrent
  214. net-p2p/ktorrent2*
  215. net-p2p/libktorrent
  216. net-p2p/ncdc
  217. ports-mgmt/hs-porte
  218. print/hs-hscolour
  219. print/lilypond
  220. print/lilypond-devel
  221. science/hs-bio
  222. security/botan*
  223. security/botan110
  224. security/gnutls
  225. security/hashcat-legacy
  226. security/hs-clientsession
  227. security/john
  228. security/libecc
  229. security/lsh*
  230. security/nettle
  231. security/pbc
  232. security/prelude-lml*
  233. security/prelude-manager*
  234. security/py-pycrypto
  235. security/py3-pycrypto
  236. security/sfs*
  237. security/ssss
  238. sysutils/hs-angel
  239. textproc/hs-HaXml
  240. textproc/hs-lhs2tex
  241. textproc/hs-pandoc
  242. textproc/hs-pandoc-citeproc
  243. textproc/hs-yaml
  244. www/hs-DAV
  245. www/hs-activehs
  246. www/hs-gitit
  247. www/hs-hS3
  248. www/hs-hjsmin
  249. www/hs-snap
  250. www/hs-wai-app-static
  251. www/hs-yesod-bin
  252. x11/hs-xmobar
  253. x11-toolkits/hs-wxdirect
  254. x11-wm/hs-xmonad
  255. x11-wm/sawfish
  256. Collapse this list.
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-6.1.2:
     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://ftp.funet.fi/pub/gnu/prep/gmp/
  8. http://ftp.gnu.org/gnu/gmp/
  9. http://ftpmirror.gnu.org/gmp/
  10. http://mirrors.kernel.org/gnu/gmp/
  11. 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: 30

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
14 Feb 2017 09:40:20
Original commit files touched by this commit  6.1.2
Revision:434069
antoine search for other commits by this committer
Zero memory used by mpn_lshift_com configure test,  this should fix
configure when malloc debugging is turned on (default on head)

With help from:	dim@
Reported by:	pkg-fallout
13 Feb 2017 17:39:41
Original commit files touched by this commit  6.1.2
Revision:434009
ale search for other commits by this committer
Finally update to 6.1.2 release, it should work fine with currently supported
FreeBSD releases.

PR:		217071
Submitted by:	Iblis Lin <iblis@hs.ntnu.edu.tw>
21 Oct 2016 12:51:41
Original commit files touched by this commit  5.1.3_3
Revision:424411  Sanity Test Failure
mat search for other commits by this committer
${RM} already has -f.

PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
23 Aug 2016 14:04:01
Original commit files touched by this commit  5.1.3_3
Revision:420678
marino search for other commits by this committer
math/gmp: use CONFIGURE_TARGET rather than recreating it

The --build configure argument is a re-invention of CONFIGURE_TARGET
except that platform is hardcoded to freebsd rather than the value
of OPSYS:tl.  Use CONFIGURE_TARGET instead.  It's a no-op for FreeBSD
but is a fix for DragonFly.

Approved by:	non-invasive DF support blanket
19 May 2016 10:44:12
Original commit files touched by this commit  5.1.3_3
Revision:415499
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [g-n]*

Approved by:	portmgr blanket
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: 30

Login
User Login
Create account

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

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

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
linux-c6-openssl*May 26
linux-c7-openssl*May 26
openssl*May 26
openssl-devel*May 26
vlcMay 26
vlc-qt4May 26
OpenEXRMay 25
samba42May 24
samba43May 24
samba44May 24
samba45May 24
samba46May 24
nvidia-driverMay 23
miniupnpcMay 22
wordpressMay 21

13 vulnerabilities affecting 47 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 29981
Broken 139
Deprecated 75
Ignore 429
Forbidden 0
Restricted 207
No CDROM 84
Vulnerable 138
Expired 37
Set to expire 71
Interactive 0
new 24 hours 4
new 48 hours9
new 7 days57
new fortnight104
new month221

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