Skip to content

Commit

Permalink
Merge pull request #10313 from ULHPC/20200402155358_new_pr_LLVM1000
Browse files Browse the repository at this point in the history
{compiler}[GCCcore/8.3.0] LLVM v10.0.0
  • Loading branch information
lexming committed Apr 6, 2020
2 parents ea1fefc + 7070a8d commit e68d689
Showing 1 changed file with 45 additions and 0 deletions.
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'

0 comments on commit e68d689

Please sign in to comment.