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=53 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

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

14 vulnerabilities affecting 68 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 30850
Broken 176
Deprecated 103
Ignore 471
Forbidden 0
Restricted 209
No CDROM 84
Vulnerable 183
Expired 42
Set to expire 98
Interactive 0
new 24 hours 25
new 48 hours38
new 7 days75
new fortnight278
new month475

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