Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{compiler}[GCCcore/8.3.0] LLVM v10.0.0 #10313

Merged
merged 3 commits into from Apr 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
45 changes: 45 additions & 0 deletions easybuild/easyconfigs/l/LLVM/LLVM-10.0.0-GCCcore-8.3.0.eb
@@ -0,0 +1,45 @@
easyblock = 'CMakeMake'

name = 'LLVM'
version = '10.0.0'

homepage = "https://llvm.org/"
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."""

toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
toolchainopts = {'cstd': 'gnu++11'}

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

builddependencies = [
('binutils', '2.32'),
('CMake', '3.15.3'),
('Python', '3.7.4'),
]

dependencies = [
('ncurses', '6.1'),
('zlib', '1.2.11'),
]

configopts = '-DBUILD_SHARED_LIBS=ON '
# required to install extra tools in bin/
configopts += '-DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ZLIB=ON -DLLVM_ENABLE_RTTI=ON '
build_type = 'Release'

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

separate_build_dir = True

moduleclass = 'compiler'