Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
easyblock = 'ConfigureMake'

name = 'ANTLR'
version = '2.7.7'
versionsuffix = '-Java-%(javaver)s'

homepage = 'https://www.antlr2.org/'
description = """ANTLR, ANother Tool for Language Recognition, (formerly PCCTS)
is a language tool that provides a framework for constructing recognizers,
compilers, and translators from grammatical descriptions containing
Java, C#, C++, or Python actions."""

toolchain = {'name': 'GCCcore', 'version': '13.2.0'}

source_urls = ['https://www.antlr2.org/download/']
sources = [SOURCELOWER_TAR_GZ]
patches = ['%(name)s-%(version)s_includes.patch']
checksums = [
'853aeb021aef7586bda29e74a6b03006bcb565a755c86b66032d8ec31b67dbb9', # antlr-2.7.7.tar.gz
'd167d3248a03301bc93efcb37d5df959aae6794968e42231af0b0dd26d6a2e66', # ANTLR-2.7.7_includes.patch
]

builddependencies = [('binutils', '2.40')]

dependencies = [('Java', '11', '', SYSTEM)]

configopts = '--disable-examples --disable-csharp --disable-python'

sanity_check_paths = {
'files': ['bin/antlr', 'bin/antlr-config'],
'dirs': ['include'],
}

sanity_check_commands = ["antlr --help"]

moduleclass = 'tools'
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
easyblock = 'ConfigureMake'

name = 'ANTLR'
version = '2.7.7'
versionsuffix = '-Java-%(javaver)s'

homepage = 'https://www.antlr2.org/'
description = """ANTLR, ANother Tool for Language Recognition, (formerly PCCTS)
is a language tool that provides a framework for constructing recognizers,
compilers, and translators from grammatical descriptions containing
Java, C#, C++, or Python actions."""

toolchain = {'name': 'GCCcore', 'version': '13.2.0'}

source_urls = ['https://www.antlr2.org/download/']
sources = [SOURCELOWER_TAR_GZ]
patches = ['%(name)s-%(version)s_includes.patch']
checksums = [
'853aeb021aef7586bda29e74a6b03006bcb565a755c86b66032d8ec31b67dbb9', # antlr-2.7.7.tar.gz
'd167d3248a03301bc93efcb37d5df959aae6794968e42231af0b0dd26d6a2e66', # ANTLR-2.7.7_includes.patch
]

builddependencies = [('binutils', '2.40')]

dependencies = [('Java', '17', '', SYSTEM)]

configopts = '--disable-examples --disable-csharp --disable-python'

sanity_check_paths = {
'files': ['bin/antlr', 'bin/antlr-config'],
'dirs': ['include'],
}

sanity_check_commands = ["antlr --help"]

moduleclass = 'tools'
39 changes: 39 additions & 0 deletions easybuild/easyconfigs/l/libdap/libdap-3.21.0-131-GCCcore-13.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
easyblock = 'ConfigureMake'

name = 'libdap'
version = '3.21.0-131'

homepage = 'https://www.opendap.org/software/libdap'
description = """A C++ SDK which contains an implementation of DAP 2.0 and
DAP4.0. This includes both Client- and Server-side support classes."""

toolchain = {'name': 'GCCcore', 'version': '13.2.0'}

source_urls = ['https://github.com/OPENDAP/libdap4/archive/refs/tags/']
sources = ['%(version)s.tar.gz']
checksums = ['c06b30e108608bc40dcb15df57302af4511023801dca004edb3f2df2cc0a72cc']

builddependencies = [
('binutils', '2.40'),
('Bison', '3.8.2'),
('flex', '2.6.4'),
('Autotools', '20220317'),
]

dependencies = [
('cURL', '8.3.0'),
('libxml2', '2.11.5'),
('libtirpc', '1.3.4'),
('PCRE', '8.45'),
('util-linux', '2.39'),
]

preconfigopts = "autoreconf -fi && "
configopts = 'TIRPC_LIBS="-ltirpc"'

sanity_check_paths = {
'files': ['bin/getdap', 'bin/getdap4', 'bin/dap-config', 'lib/libdap.a', 'lib/libdap.%s' % SHLIB_EXT],
'dirs': ['include'],
}

moduleclass = 'lib'
44 changes: 44 additions & 0 deletions easybuild/easyconfigs/n/NCO/NCO-5.3.2-foss-2023b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
easyblock = 'ConfigureMake'

name = 'NCO'
version = '5.3.2'

homepage = "https://github.com/nco/nco"
description = """The NCO toolkit manipulates and analyzes data stored in netCDF-accessible formats,
including DAP, HDF4, and HDF5."""

toolchain = {'name': 'foss', 'version': '2023b'}

source_urls = ['https://github.com/nco/nco/archive/']
sources = ['%(version)s.tar.gz']
checksums = ['645179433e0f54e7e6fefa9fcc74c1866ad55dd69f0fccbc262c550fcc186385']

builddependencies = [
('Bison', '3.8.2'),
('flex', '2.6.4'),
]

dependencies = [
('UDUNITS', '2.2.28'),
('expat', '2.5.0'),
('ANTLR', '2.7.7', '-Java-17'),
('libdap', '3.21.0-131'),
('GSL', '2.7'),
('netCDF', '4.9.2'),
('ESMF', '8.6.1'), # ncremap needs ESMF_RegridWeightGen
]

configopts = "--enable-nco_cplusplus"

sanity_check_paths = {
'files': ['bin/nc%s' % x for x in ('ap2', 'atted', 'bo', 'diff', 'ea', 'ecat', 'es',
'flint', 'ks', 'pdq', 'ra', 'rcat', 'rename', 'wa')] +
['lib/libnco.a', 'lib/libnco.%s' % SHLIB_EXT, 'lib/libnco_c++.a', 'lib/libnco_c++.%s' % SHLIB_EXT],
'dirs': ['include'],
}
sanity_check_commands = [
"ncks -O -7 --cnk_dmn time,10 "
"%(builddir)s/%(namelower)s-%(version)s/data/in.nc %(builddir)s/%(namelower)s-%(version)s/data/in4.cdl"
]

moduleclass = 'tools'
30 changes: 30 additions & 0 deletions easybuild/easyconfigs/p/pynco/pynco-1.1.2-foss-2023b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Author: Stamen Miroslavov <stamen.miroslavov@bsc.es>
# Barcelona Supercomputing Center 2025

easyblock = 'PythonPackage'

name = 'pynco'
version = '1.1.2'

homepage = 'https://github.com/nco/pynco'
description = """Python bindings to NCO. This package contains the python module nco, which
implements a python style access to the NetCDF Operators (NCO). NCO is a command line tool for
processing netCDF data. Its main focus is climate data, but it can by used for other purposes
too."""

toolchain = {'name': 'foss', 'version': '2023b'}

source_urls = ['https://github.com/nco/%(name)s/archive/refs/tags']
sources = ['%(version)s.tar.gz']
checksums = ['13df8d9e7f939e7502e81f0f820c142bc6013993bba0849e388aaf7f4f146a0e']

dependencies = [
('Python', '3.11.5'),
('Python-bundle-PyPI', '2023.10'),
('SciPy-bundle', '2023.11'),
('NCO', '5.3.2'),
]

options = {'modulename': 'nco'}

moduleclass = 'data'
Loading