Skip to content

[eb-tutorial] [package list]

eb-tutorial/1.0.1-cpeGNU-22.12 (eb-tutorial-1.0.1-cpeGNU-22.12.eb)

Install with the EasyBuild-user module:

eb eb-tutorial-1.0.1-cpeGNU-22.12.eb -r
To access module help after installation and get reminded for which stacks and partitions the module is installed, use module spider eb-tutorial/1.0.1-cpeGNU-22.12.

EasyConfig:

easyblock = 'CMakeMake'

name =    'eb-tutorial'
version = '1.0.1'

homepage = 'https://easybuilders.github.io/easybuild-tutorial'

description = """
This is a simple hello world style program with a configurable
message. The module is only used in LUMI trainings to have
something that installs very quicly with EasyBuild.

The module provides the eb-tutorial command.
"""

toolchain = {'name': 'cpeGNU', 'version': '22.12'}

sources =     [SOURCE_TAR_GZ]
source_urls = ['https://github.com/easybuilders/easybuild-tutorial/raw/main/docs/files/']
checksums =   ['d6cec2ea298f4092cb1b880cb017220ab191561da941e9e480639cf3354b7ef9']

builddependencies = [
    ('buildtools', '%(toolchain_version)s', '', True),  # Used for a recent CMake.
]

configopts = "-DEBTUTORIAL_MSG='Hello from the LUMI tutorial!' "

sanity_check_paths = {
    'files': ['bin/eb-tutorial'],
    'dirs':  [],
}

sanity_check_commands = ['eb-tutorial']

moduleclass = 'tools'

[eb-tutorial] [package list]