Skip to content

[Perl] [package list]

Perl/5.38.0-cpeAOCC-24.03 (Perl-5.38.0-cpeAOCC-24.03.eb)

To access module help and find out for which stacks and partitions the module is installed, use module spider Perl/5.38.0-cpeAOCC-24.03.

EasyConfig:

local_Perl_version =         '5.38.0'        # https://www.perl.org/get.html

local_expat_version =        '2.6.2'         # https://github.com/libexpat/libexpat/releases

name =          'Perl'
version =       local_Perl_version

homepage = 'http://www.perl.org/'

whatis = [
    "Description: PERL 5 interpreter (Practical Extraction and Report Language)"
]

description = """
PERL 5, Larry Wall's Practical Extraction and Report Language.

This module already contains a lot of packages based on the default
EasyBuild perl configuration.

From this version on, we only include a minimal number of packages to
speed up development of a new software stack. Over time, Perl-packages-*
modules may be made available with additional packages.
"""

software_license_urls = [
    'https://dev.perl.org/licenses/',
]

toolchain = {'name': 'cpeAOCC', 'version': '24.03'}
toolchainopts = {'pic': True}

source_urls = ['https://www.cpan.org/src/%(version_major)s.0']
sources =     [SOURCELOWER_TAR_GZ]
checksums =   ['213ef58089d2f2c972ea353517dc60ec3656f050dcc027666e118b508423e517']

builddependencies = [ # Create a reproducible build environment.
    ('buildtools', '%(toolchain_version)s', '', True),
]

dependencies = [
    ('expat',       local_expat_version),        # for XML::Parser
]

osdependencies = [
    ('groff'),                                           # build dependency only
]

# Doesn't need MPI, ROCm or BLAS, and module unload never fails so this is safe.
preconfigopts = 'module unload cray-libsci cray-mpich rocm xpmem && '
prebuildopts = preconfigopts
pretestopts = preconfigopts
preinstallopts = preconfigopts

#skipsteps = ['test']

# !! order of extensions is important !!
# extensions updated on 2023-09-03
# includes all dependencies for Autotools
exts_list = [
    ('threads', '2.21', {
        'source_tmpl': 'threads-%(version)s.tar.gz',
        'source_urls': ['https://cpan.metacpan.org/authors/id/J/JD/JDHEDDEN'],
        'checksums': ['28394c98a2bcae6f20ffb8a3d965a1c194b764c650169e2050ee38dbaa10f110'],
    }),
    ('constant', '1.33', {
        'source_tmpl': 'constant-%(version)s.tar.gz',
        'source_urls': ['https://cpan.metacpan.org/authors/id/R/RJ/RJBS'],
        'checksums': ['79965d4130eb576670e27ca0ae6899ef0060c76da48b02b97682166882f1b504'],
    }),
    ('Getopt::Long', '2.54', {
        'source_tmpl': 'Getopt-Long-%(version)s.tar.gz',
        'source_urls': ['https://cpan.metacpan.org/authors/id/J/JV/JV'],
        'checksums': ['584ba3c99bb2d6b341375212f9b874613f706cfb01cee21b8a2676a98ab985fe'],
    }),
    ('File::Path', '2.18', {
        'source_tmpl': 'File-Path-%(version)s.tar.gz',
        'source_urls': ['https://cpan.metacpan.org/authors/id/J/JK/JKEENAN/'],
        'checksums': ['980f0a17edb353df46e9cd7b357f9f5929cde0f80c45fd7a06cf7e0e8bd6addd'],
    }),
    ('File::Spec', '3.75', {
        'source_tmpl': 'PathTools-%(version)s.tar.gz',
        'source_urls': ['https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX'],
        'checksums': ['a558503aa6b1f8c727c0073339081a77888606aa701ada1ad62dd9d8c3f945a2'],
    }),
    ('IO::File', '1.51', {
        'source_tmpl': 'IO-%(version)s.tar.gz',
        'source_urls': ['https://cpan.metacpan.org/authors/id/T/TO/TODDR/'],
        'checksums': ['5493ea55998728cd2b7ecb8234c58fb5d5df27098d0f07addca22444d7616ce0'],
    }),
    ('Thread::Queue', '3.13', {
        'source_tmpl': 'Thread-Queue-%(version)s.tar.gz',
        'source_urls': ['https://cpan.metacpan.org/authors/id/J/JD/JDHEDDEN'],
        'checksums': ['6ba3dacddd2fbb66822b4aa1d11a0a5273cd04c825cb3ff31c20d7037cbfdce8'],
    }),
    ('Carp', '1.50', {
        'source_tmpl': 'Carp-%(version)s.tar.gz',
        'source_urls': ['https://cpan.metacpan.org/authors/id/X/XS/XSAWYERX'],
        'checksums': ['f5273b4e1a6d51b22996c48cb3a3cbc72fd456c4038f5c20b127e2d4bcbcebd9'],
    }),
    ('Exporter', '5.77', {
        'source_tmpl': 'Exporter-%(version)s.tar.gz',
        'source_urls': ['https://cpan.metacpan.org/authors/id/T/TO/TODDR'],
        'checksums': ['3892ee5c6ae6e482068d53b61e25cae4fc71ddc79cc47446e385df0a669bb8ed'],
    }),
    ('Text::ParseWords', '3.31', {
        'source_tmpl': 'Text-ParseWords-%(version)s.tar.gz',
        'source_urls': ['https://cpan.metacpan.org/authors/id/N/NE/NEILB/'],
        'checksums': ['2ae555ba084d75b2b8feeeb8d1a00911276815ada86bccb1452236964d5a2fc7'],
    }),
    ('Data::Dumper', '2.183', {
        'source_tmpl': 'Data-Dumper-%(version)s.tar.gz',
        'source_urls': ['https://cpan.metacpan.org/authors/id/N/NW/NWCLARK/'],
        'checksums': ['e42736890b7dae1b37818d9c5efa1f1fdc52dec04f446a33a4819bf1d4ab5ad3'],
    }),
    #
    # Own additions
    #
    ('XML::Parser', '2.46', { # Needed for intltool. See if this works without all dependencies...
        'source_tmpl': 'XML-Parser-%(version)s.tar.gz',
        'source_urls': ['https://cpan.metacpan.org/authors/id/T/TO/TODDR'],
        'checksums': ['d331332491c51cccfb4cb94ffc44f9cd73378e618498d4a37df9e043661c515d'],
    }),
]

postinstallcmds = [ # Problem: This seems to run from the last extension.
    'mkdir -p %(installdir)s/share/licenses/%(name)s',
    'cd %(start_dir)s && cp AUTHORS Copying README README.linux SECURITY.md %(installdir)s/share/licenses/%(name)s',   
]

moduleclass = 'lang'

[Perl] [package list]