ANTLR/2.7.7-cpeCray-24.03-cray-python3.11 (ANTLR-2.7.7-cpeCray-24.03-cray-python3.11.eb)
Install with the EasyBuild-user module:
To access module help after installation and get reminded for which stacks and partitions the module is installed, usemodule spider ANTLR/2.7.7-cpeCray-24.03-cray-python3.11
.
EasyConfig:
# contributed by Luca Marsella (CSCS), updated by Samuel Omlin (CSCS)
# Adapted by Kurt Lust (kurt.lust@uantwerpen.be) for the LUMI consortium
easyblock = 'ConfigureMake'
local_ANTLR_NCO_version = '2.7.7' # Looks like NCO requires an antique version.
name = 'ANTLR'
version = local_ANTLR_NCO_version
versionsuffix = '-cray-python%(pyshortver)s'
homepage = 'http://www.antlr.org/'
whatis = [
'Description: ANTLR - ANother Tool for Language Recognition'
]
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.
This is an antique version for ANTLR that is needed to compile one
particular package. Users are advised to use newer versions whenever
possible.
"""
software_license_urls = ['https://www.antlr2.org/license.html']
toolchain = {'name': 'cpeCray', 'version': '24.03'}
source_urls = ['https://www.antlr2.org/download/']
sources = [SOURCELOWER_TAR_GZ]
patches = ['%(name)s-%(version)s_includes.patch']
checksums = [
{'antlr-2.7.7.tar.gz': '853aeb021aef7586bda29e74a6b03006bcb565a755c86b66032d8ec31b67dbb9'}, # antlr-2.7.7.tar.gz
{'ANTLR-2.7.7_includes.patch': 'd167d3248a03301bc93efcb37d5df959aae6794968e42231af0b0dd26d6a2e66'}, # ANTLR-2.7.7_includes.patch
]
builddependencies = [ # Create a reproducible build environment.
('buildtools', '%(toolchain_version)s', '', True),
('craype-network-none', EXTERNAL_MODULE),
('craype-accel-host', EXTERNAL_MODULE)
]
dependencies = [
('cray-python', EXTERNAL_MODULE),
]
configopts = '--disable-examples --disable-csharp '
preconfigopts = 'module unload rocm cray-libsci && '
prebuildopts = preconfigopts
postinstallcmds = [
'mkdir -p %(installdir)s/share/licenses/%(name)s && cp LICENSE.txt %(installdir)s/share/licenses/%(name)s'
]
sanity_check_paths = {
'files': ['bin/antlr', 'bin/antlr-config'],
'dirs': ['include'],
}
sanity_check_commands = [
'antlr --help',
'antlr-config --libs',
]
moduleclass = 'tools'