Skip to content

[LLVM] [package list]

LLVM/14.0.6-cpeGNU-22.08 (LLVM-14.0.6-cpeGNU-22.08.eb)

Install with the EasyBuild-user module:

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

EasyConfig:

# Created for LUMI by Orian Louant

name = 'LLVM'
version = '14.0.6'

local_ncurses_version = '6.2'
local_zlib_version    = '1.2.12'

homepage = "https://llvm.org/"

whatis = [
    'Description: The LLVM module provides the LLVM core libraries.'    
]

description = """
The LLVM Core libraries provide a modern source- and target-independent
optimizer, along with code generation support for many popular CPUs
(as well as some less common ones!) These libraries are built around a well
specified code representation known as the LLVM intermediate representation
("LLVM IR"). The LLVM Core libraries are well documented, and it is
particularly easy to invent your own language (or port an existing compiler)
to use LLVM as an optimizer and code generator.

Note that this module is not meant to replace the HPE Cray or AMD compilers, and
does not contain any compiler frontend.
"""

docurls = ['https://llvm.org/docs/']
software_license_urls = ['https://releases.llvm.org/%(version_major)s.0.0/LICENSE.TXT']

toolchain = {'name': 'cpeGNU', 'version': '22.08'}
toolchainopts = {'cstd': 'gnu++11', 'pic': True}

source_urls = ['https://github.com/llvm/llvm-project/releases/download/llvmorg-%(version)s/']
sources =     ['llvm-%(version)s.src.tar.xz']
checksums =   ['050922ecaaca5781fdf6631ea92bc715183f202f9d2f15147226f023414f619a']

builddependencies = [
    ('buildtools', '%(toolchain_version)s', '', True),
    ('cray-python', EXTERNAL_MODULE),
]

dependencies = [
    ('ncurses', local_ncurses_version),
    ('zlib',    local_zlib_version),
]

build_shared_libs = True

sanity_check_paths = {
    'files': ['bin/llvm-ar', 'bin/FileCheck'],
    'dirs':  ['include/llvm', 'include/llvm-c'],
}

sanity_check_commands = [
    "llvm-ar --help"
]

moduleclass = 'compiler'

[LLVM] [package list]