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

29 vulnerabilities affecting 77 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 28370
Broken 238
Deprecated 233
Ignore 505
Forbidden 0
Restricted 200
No CDROM 79
Vulnerable 88
Expired 20
Set to expire 228
Interactive 0
new 24 hours 7
new 48 hours9
new 7 days54
new fortnight110
new month226

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