Add latest version of gmp (#2695)
This commit is contained in:
parent
8cb54a9a67
commit
040f8a7176
1 changed files with 5 additions and 4 deletions
|
@ -26,12 +26,13 @@
|
|||
|
||||
|
||||
class Gmp(AutotoolsPackage):
|
||||
"""GMP is a free library for arbitrary precision arithmetic,
|
||||
operating on signed integers, rational numbers, and
|
||||
floating-point numbers."""
|
||||
"""GMP is a free library for arbitrary precision arithmetic, operating
|
||||
on signed integers, rational numbers, and floating-point numbers."""
|
||||
|
||||
homepage = "https://gmplib.org"
|
||||
url = "https://gmplib.org/download/gmp/gmp-6.0.0a.tar.bz2"
|
||||
|
||||
version('6.1.2', '8ddbb26dc3bd4e2302984debba1406a5')
|
||||
version('6.1.1', '4c175f86e11eb32d8bf9872ca3a8e11d')
|
||||
version('6.1.0', '86ee6e54ebfc4a90b643a65e402c4048')
|
||||
version('6.0.0a', 'b7ff2d88cae7f8085bd5006096eed470')
|
||||
|
@ -41,7 +42,7 @@ class Gmp(AutotoolsPackage):
|
|||
|
||||
def configure_args(self):
|
||||
args = ['--enable-cxx']
|
||||
# We need this flag if we want all the following checks to pass.
|
||||
# This flag is necessary for the Intel build to pass `make check`
|
||||
if self.spec.compiler.name == 'intel':
|
||||
args.append('CXXFLAGS=-no-ftz')
|
||||
|
||||
|
|
Loading…
Reference in a new issue