Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10313 from ULHPC/20200402155358_new_pr_LLVM1000
{compiler}[GCCcore/8.3.0] LLVM v10.0.0
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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' |