LLVM/17.0.6-cpeGNU-24.03 (LLVM-17.0.6-cpeGNU-24.03.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 LLVM/17.0.6-cpeGNU-24.03
.
EasyConfig:
# Created for LUMI by Orian Louant
name = 'LLVM'
version = '17.0.6'
local_ncurses_version = '6.4'
local_zlib_version = '1.3.1'
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': '24.03'}
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',
'cmake-%(version)s.src.tar.xz',
'third-party-%(version)s.src.tar.xz',
]
checksums = [
{'llvm-%(version)s.src.tar.xz' : 'b638167da139126ca11917b6880207cc6e8f9d1cbb1a48d87d017f697ef78188'},
{'cmake-%(version)s.src.tar.xz' : '807f069c54dc20cb47b21c1f6acafdd9c649f3ae015609040d6182cab01140f4'},
{'third-party-%(version)s.src.tar.xz' : '3054d0a9c9375dab1a4539cc2cc45ab340341c5d71475f9599ba7752e222947b'},
]
builddependencies = [
('buildtools', '%(toolchain_version)s', '', True),
('cray-python', EXTERNAL_MODULE),
('craype-network-none', EXTERNAL_MODULE),
('craype-accel-host', EXTERNAL_MODULE),
]
dependencies = [
('ncurses', local_ncurses_version),
('zlib', local_zlib_version),
]
build_shared_libs = True
preconfigopts = prebuildopts = 'module rm rocm && '
sanity_check_paths = {
'files': ['bin/llvm-ar', 'bin/FileCheck'],
'dirs': ['include/llvm', 'include/llvm-c'],
}
sanity_check_commands = [
"llvm-ar --help"
]
moduleclass = 'compiler'