1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- easyblock = 'CMakeMake'
- name = 'ecCodes'
- version = '2.24.2'
- homepage = 'https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home'
- description = """ecCodes is a package developed by ECMWF which provides an application programming interface and
- a set of tools for decoding and encoding messages in the following formats: WMO FM-92 GRIB edition 1 and edition 2,
- WMO FM-94 BUFR edition 3 and edition 4, WMO GTS abbreviated header (only decoding)."""
- toolchain = {'name': 'gompi', 'version': '2021b'}
- toolchainopts = {'usempi': False}
- source_urls = ['https://confluence.ecmwf.int/download/attachments/45757960/']
- sources = ['eccodes-%(version)s-Source.tar.gz']
- checksums = ['c60ad0fd89e11918ace0d84c01489f21222b11d6cad3ff7495856a0add610403']
- builddependencies = [('CMake', '3.21.1')]
- dependencies = [
- ('netCDF', '4.8.1'),
- ('JasPer', '2.0.33'),
- ('libjpeg-turbo', '2.0.6'),
- ('libpng', '1.6.37'),
- ('zlib', '1.2.11'),
- ]
- # Python bindings are provided by a separate package 'eccodes-python'
- configopts = "-DENABLE_NETCDF=ON -DENABLE_PNG=ON -DENABLE_PYTHON=OFF "
- configopts += "-DENABLE_JPG=ON -DENABLE_JPG_LIBJASPER=ON "
- configopts += "-DENABLE_ECCODES_THREADS=ON" # multi-threading with pthreads
- local_exes = ['%s_%s' % (a, b)
- for a in ['bufr', 'grib', 'gts', 'metar']
- for b in ['compare', 'copy', 'dump', 'filter', 'get', 'ls']]
- local_exes += ['codes_%s' % c for c in ['count', 'info', 'split_file']]
- sanity_check_paths = {
- 'files': ['bin/%s' % x for x in local_exes] +
- ['lib/libeccodes_f90.%s' % SHLIB_EXT, 'lib/libeccodes.%s' % SHLIB_EXT],
- 'dirs': ['include'],
- }
- moduleclass = 'tools'
|