Merge branch 'it4i-anselm'

Former-commit-id: fde296958ec8259f02069d5151d6aa33ef4c55b6
This commit is contained in:
Lukáš Krupčík 2018-06-05 08:17:23 +02:00
commit 4ca71fbbfc
2 changed files with 64 additions and 0 deletions

View File

@ -0,0 +1,25 @@
easyblock = 'Tarball'
# note: only works on recent OSs, required sufficiently recent glibc (2.14 or newer)
name = 'dotNET-Core-SDK'
version = '2.0.7-2'
homepage = 'https://www.microsoft.com/net/'
description = """.NET is a free, cross-platform, open source developer platform for building many different types
of applications."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['https://github.com/dotnet/core/archive/']
sources = ['v2.0.7-2.tar.gz']
dependencies = [('libunwind', '1.2')]
sanity_check_paths = {
'files': [],
'dirs': ['tools', 'samples'],
}
modextrapaths = {'PATH': ['']}
moduleclass = 'lang'

View File

@ -0,0 +1,39 @@
easyblock = 'CMakeMake'
name = 'LLVM'
version = '6.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 compiler)
to use LLVM as an optimizer and code generator."""
toolchain = {'name': 'Py', 'version': '2.7'}
source_urls = ["http://llvm.org/releases/%(version)s"]
sources = ["llvm-%(version)s.src.tar.xz"]
builddependencies = [
('CMake', '3.9.1', '', True),
]
dependencies = [
('ncurses', '6.0', '', True),
]
configopts = '-DBUILD_SHARED_LIBS=ON '
# required to install extra tools in bin/
configopts += "-DLLVM_INSTALL_UTILS=ON "
sanity_check_paths = {
'files': ['bin/llvm-ar', 'bin/FileCheck'],
'dirs': ['include/llvm', 'include/llvm-c'],
}
separate_build_dir = True
moduleclass = 'compiler'