mpdecimal/2.5.1-cpeAOCC-22.08 (mpdecimal-2.5.1-cpeAOCC-22.08.eb)
To access module help and find out for which stacks and partitions the module is
installed, use module spider mpdecimal/2.5.1-cpeAOCC-22.08
.
EasyConfig:
# This EasyConfig is mostly here for testing the installation procedure of mpdecimal/libmpdec.
# It is included in the baselibs from the 2020a edition onwards.
easyblock = 'ConfigureMake'
local_mpdecimal_version = '2.5.1' # https://www.bytereef.org/mpdecimal/
name = 'mpdecimal'
version = local_mpdecimal_version
homepage = 'https://www.bytereef.org/mpdecimal/'
whatis = [
'Description: mpdecimal is a package for correctly-rounded arbitrary precision decimal floating point arithmetic..',
]
description = """
mpdecimal is a package for correctly-rounded arbitrary precision decimal
floating point arithmetic. Starting from version 2.4.0, mpdecimal includes
only the libmpdec library. Further mpdecimal development will focus
exclusively on libmpdec.
libmpdec is a complete implementation of the General Decimal Arithmetic
Specification. The specification, written by Mike Cowlishaw from IBM,
defines a general purpose arbitrary precision data type together with
rigorously specified functions and rounding behavior. As described in the
scope section of the specification, libmpdec will - with minor restrictions -
also conform to the IEEE 754-2008 Standard for Floating-Point Arithmetic,
provided that the appropriate context parameters are set.
libmpdec is written in C, but the header files are prepared for use with a
C++ compiler. It is intended to be cross platform and has been tested on
64/32-bit Linux, 64/32-bit FreeBSD and OpenBSD, 64/32-bit Windows,
64-bit AIX, 64/32-bit OpenSolaris and 32-bit Debian Mips.
Starting from Python-3.3, libmpdec is the basis for Python’s decimal module.
"""
docurls = [
'Web-based documentation on https://www.bytereef.org/mpdecimal/doc/libmpdec/index.html'
]
toolchain = {'name': 'cpeAOCC', 'version': '22.08'}
toolchainopts = {'defaultprec': False}
# https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz
source_urls = ['https://www.bytereef.org/software/mpdecimal/releases/']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['9f9cd4c041f99b5c49ffb7b59d9f12d95b683d88585608aa56a6307667b2b21f']
builddependencies = [ # Create a reproducible build environment.
('buildtools', '%(toolchain_version)s', '', True),
]
# Some default options that we want for sure in case the defaults would change in
# future versions.
configopts = '--enable-shared --enable-cxx'
sanity_check_paths = {
'files': ['lib/lib%s.%s' % (x, y) for x in [ 'mpdec', 'mpdec++'] for y in ['a', SHLIB_EXT]] +
['include/mpdecimal.h', 'include/decimal.hh'],
'dirs': ['share/doc/mpdecimal'],
}
moduleclass = 'math'