diff --git a/c/CMake/CMake-3.8.1.eb b/c/CMake/CMake-3.8.1.eb new file mode 100644 index 00000000..61366421 --- /dev/null +++ b/c/CMake/CMake-3.8.1.eb @@ -0,0 +1,31 @@ +easyblock = 'ConfigureMake' + +name = 'CMake' +version = '3.8.1' + +homepage = 'http://www.cmake.org' +description = """CMake, the cross-platform, open-source build system. + CMake is a family of tools designed to build, test and package software.""" + +toolchain = {'name': 'dummy', 'version': ''} + +source_urls = ['http://www.cmake.org/files/v%(version_major_minor)s'] +sources = [SOURCELOWER_TAR_GZ] + +configopts = '-- -DCMAKE_USE_OPENSSL=1' + +dependencies = [ + ('ncurses', '6.0'), + # OS dependency should be preferred if the os version is more recent then this version, + # it's nice to have an up to date openssl for security reasons + #('OpenSSL', '1.0.2j'), +] + +osdependencies = [('openssl-devel', 'libssl-dev', 'libopenssl-devel')] + +sanity_check_paths = { + 'files': ["bin/%s" % x for x in ['cmake', 'cpack', 'ctest']], + 'dirs': [], +} + +moduleclass = 'devel' diff --git a/l/LLVM/LLVM-4.0.0-GCC-6.3.0-2.27.eb b/l/LLVM/LLVM-4.0.0-GCC-6.3.0-2.27.eb new file mode 100644 index 00000000..fdb8d45b --- /dev/null +++ b/l/LLVM/LLVM-4.0.0-GCC-6.3.0-2.27.eb @@ -0,0 +1,40 @@ +easyblock = 'CMakeMake' + +name = 'LLVM' +version = '4.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': 'GCC', 'version': '6.3.0-2.27'} + +source_urls = ["http://llvm.org/releases/%(version)s"] +sources = ["llvm-%(version)s.src.tar.xz"] + +builddependencies = [ + ('CMake', '3.8.1', '', True), + ('Python', '3.6.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'