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

9 vulnerabilities affecting 16 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 28189
Broken 282
Deprecated 109
Ignore 548
Forbidden 1
Restricted 205
No CDROM 83
Vulnerable 84
Expired 13
Set to expire 99
Interactive 0
new 24 hours 10
new 48 hours12
new 7 days198
new fortnight257
new month483

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