mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00

new file: l/LLVM/LLVM-9.0.0-GCCcore-8.3.0.eb new file: m/Mako/Mako-1.0.6-Py-2.7.eb new file: o/Octave/Octave-5.1.0-intel-2017c.eb deleted: m/Mako/Mako-1.0.6-Python-2.7.14-base.eb
46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
# IT4Innovations 2019
|
|
|
|
easyblock = 'CMakeMake'
|
|
|
|
name = 'LLVM'
|
|
version = '7.0.0'
|
|
|
|
homepage = "http://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 local_compiler)
|
|
to use LLVM as an optimizer and code generator."""
|
|
|
|
toolchain = {'name': 'intel', 'version': '2017c'}
|
|
toolchainopts = {'cstd': 'gnu++11'}
|
|
|
|
source_urls = ["http://llvm.org/releases/%(version)s"]
|
|
sources = ["llvm-%(version)s.src.tar.xz"]
|
|
|
|
builddependencies = [
|
|
('CMake', '3.16.0', '-rc3', True),
|
|
('Py', '2.7', '', True),
|
|
]
|
|
|
|
dependencies = [
|
|
('ncurses', '6.1', '', True),
|
|
('zlib', '1.2.11', '', True),
|
|
]
|
|
|
|
configopts = '-DBUILD_SHARED_LIBS=ON -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -shared-intel" '
|
|
# required to install extra tools in bin/
|
|
configopts += "-DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_ZLIB=ON -DLLVM_ENABLE_RTTI=1 "
|
|
configopts += "-DCMAKE_BUILD_TYPE=Release "
|
|
|
|
sanity_check_paths = {
|
|
'files': ['bin/llvm-ar', 'bin/FileCheck'],
|
|
'dirs': ['include/llvm', 'include/llvm-c'],
|
|
}
|
|
|
|
separate_build_dir = True
|
|
|
|
moduleclass = 'compiler'
|