From 74275879fafa3d4819d0641c17b6b54079897cfa Mon Sep 17 00:00:00 2001 From: Josef Date: Mon, 1 Oct 2018 12:07:09 +0200 Subject: [PATCH] new file: d/dotNET-Core-Runtime/dotNET-Core-Runtime-2.1.4.eb new file: d/dotNET-Core-SDK/dotNET-Core-SDK-2.1.4.eb new file: l/LLVM/LLVM-7.0.0-intel-2017c.eb --- .../dotNET-Core-Runtime-2.1.4.eb | 27 +++++++++++ d/dotNET-Core-SDK/dotNET-Core-SDK-2.1.4.eb | 25 +++++++++++ l/LLVM/LLVM-7.0.0-intel-2017c.eb | 45 +++++++++++++++++++ 3 files changed, 97 insertions(+) create mode 100644 d/dotNET-Core-Runtime/dotNET-Core-Runtime-2.1.4.eb create mode 100644 d/dotNET-Core-SDK/dotNET-Core-SDK-2.1.4.eb create mode 100644 l/LLVM/LLVM-7.0.0-intel-2017c.eb diff --git a/d/dotNET-Core-Runtime/dotNET-Core-Runtime-2.1.4.eb b/d/dotNET-Core-Runtime/dotNET-Core-Runtime-2.1.4.eb new file mode 100644 index 00000000..917d1d9b --- /dev/null +++ b/d/dotNET-Core-Runtime/dotNET-Core-Runtime-2.1.4.eb @@ -0,0 +1,27 @@ +easyblock = 'Tarball' + +# note: only works on recent OSs, required sufficiently recent glibc (2.14 or newer) +name = 'dotNET-Core-Runtime' +version = '2.1.4' + +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://download.microsoft.com/download/A/7/8/A78F1D25-8D5C-4411-B544-C7D527296D5E/'] +sources = ['dotnet-runtime-%(version)s-linux-x64.tar.gz'] + +dependencies = [ + ('libunwind', '1.2'), +] + +sanity_check_paths = { + 'files': ['dotnet'], + 'dirs': ['shared/Microsoft.NETCore.App/%(version)s'], +} + +modextrapaths = {'PATH': ['']} + +moduleclass = 'lang' diff --git a/d/dotNET-Core-SDK/dotNET-Core-SDK-2.1.4.eb b/d/dotNET-Core-SDK/dotNET-Core-SDK-2.1.4.eb new file mode 100644 index 00000000..0bd60428 --- /dev/null +++ b/d/dotNET-Core-SDK/dotNET-Core-SDK-2.1.4.eb @@ -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.1.4' + +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 = ['v%(version)s.tar.gz'] + +dependencies = [('libunwind', '1.2')] + +sanity_check_paths = { + 'files': [], + 'dirs': ['tools', 'samples'], +} + +modextrapaths = {'PATH': ['']} + +moduleclass = 'lang' diff --git a/l/LLVM/LLVM-7.0.0-intel-2017c.eb b/l/LLVM/LLVM-7.0.0-intel-2017c.eb new file mode 100644 index 00000000..1344727a --- /dev/null +++ b/l/LLVM/LLVM-7.0.0-intel-2017c.eb @@ -0,0 +1,45 @@ +# IT4Innovations 2018 + +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 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.11.4', '', ('GCC', '6.3.0-2.27')), + ('Py', '2.7', '', True), +] + +dependencies = [ + ('ncurses', '6.0', '', 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'