diff --git a/c/CGAL/CGAL-4.14.1-foss-2020a-Python-3.7.8.eb b/c/CGAL/CGAL-4.14.1-foss-2020a-Python-3.7.8.eb new file mode 100644 index 00000000..fcd998b7 --- /dev/null +++ b/c/CGAL/CGAL-4.14.1-foss-2020a-Python-3.7.8.eb @@ -0,0 +1,40 @@ +# JH 2020 + +name = 'CGAL' +version = '4.14.1' +versionsuffix = '-Python-%(pyver)s' + +homepage = 'https://www.cgal.org/' +description = """The goal of the CGAL Open Source Project is to provide easy access to efficient + and reliable geometric algorithms in the form of a C++ library.""" + +toolchain = {'name': 'foss', 'version': '2020a'} +toolchainopts = {'strict': True} + +source_urls = ['https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-%(version)s'] +sources = [SOURCE_TAR_XZ] +checksums = ['d4ec2528b88a7c3a07b0b86db96c216822f85b951bf4bc7f9d1f26bf6c369afe'] + +builddependencies = [ + ('CMake', '3.16.4'), + ('Eigen', '3.3.7'), +] + +dependencies = [ + ('zlib', '1.2.11'), + ('Python', '3.7.8'), + ('Boost', '1.72.0'), + ('MPFR', '4.0.2'), + ('GMP', '6.2.0'), + ('Mesa', '18.1.1'), + ('libGLU', '9.0.1'), + ('Qt5', '5.14.1'), +] + +configopts = "-DOPENGL_INCLUDE_DIR=$EBROOTMESA/include\;$EBROOTLIBGLU/include " +configopts += "-DOPENGL_gl_LIBRARY=$EBROOTMESA/lib/libGL.%s " % SHLIB_EXT +configopts += "-DOPENGL_glu_LIBRARY=$EBROOTLIBGLU/lib/libGLU.%s " % SHLIB_EXT +configopts += "-DWITH_ZLIB=ON -DWITH_MPFR=ON -DWITH_OpenGL=ON -DWITH_Eigen3=ON " +configopts += "-DWITH_GMPXX=ON -DWITH_LAPACK=ON -DWITH_BLAS=ON " + +moduleclass = 'numlib' diff --git a/l/LLVM/LLVM-6.0.0-GCCcore-9.3.0.eb b/l/LLVM/LLVM-6.0.0-GCCcore-9.3.0.eb new file mode 100644 index 00000000..4110bc3a --- /dev/null +++ b/l/LLVM/LLVM-6.0.0-GCCcore-9.3.0.eb @@ -0,0 +1,40 @@ +# JH 2020 + +name = 'LLVM' +version = '6.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': '9.3.0'} +toolchainopts = {'cstd': 'gnu++11'} + +source_urls = ["https://llvm.org/releases/%(version)s"] +sources = ["llvm-%(version)s.src.tar.xz"] +checksums = ['1ff53c915b4e761ef400b803f07261ade637b0c269d99569f18040f3dcee4408'] + +builddependencies = [ + ('binutils', '2.34'), + ('CMake', '3.16.4'), + ('Python', '2.7.18'), +] + +dependencies = [ + ('ncurses', '6.2'), + ('zlib', '1.2.11'), +] + +build_shared_libs = True + +sanity_check_paths = { + 'files': ['bin/llvm-ar', 'bin/FileCheck'], + 'dirs': ['include/llvm', 'include/llvm-c'], +} + +moduleclass = 'compiler' diff --git a/l/LLVM/LLVM-8.0.1-GCCcore-9.3.0.eb b/l/LLVM/LLVM-8.0.1-GCCcore-9.3.0.eb new file mode 100644 index 00000000..7ea3ccc4 --- /dev/null +++ b/l/LLVM/LLVM-8.0.1-GCCcore-9.3.0.eb @@ -0,0 +1,40 @@ +# JH 2020 + +name = 'LLVM' +version = '8.0.1' + +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': '9.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 = ['44787a6d02f7140f145e2250d56c9f849334e11f9ae379827510ed72f12b75e7'] + +builddependencies = [ + ('binutils', '2.34'), + ('CMake', '3.16.4'), + ('Python', '3.7.8'), +] + +dependencies = [ + ('ncurses', '6.2'), + ('zlib', '1.2.11'), +] + +build_shared_libs = True + +sanity_check_paths = { + 'files': ['bin/llvm-ar', 'bin/FileCheck'], + 'dirs': ['include/llvm', 'include/llvm-c'], +} + +moduleclass = 'compiler' diff --git a/m/Mako/Mako-1.0.6-GCCcore-9.3.0-Python-2.7.18.eb b/m/Mako/Mako-1.0.6-GCCcore-9.3.0-Python-2.7.18.eb new file mode 100644 index 00000000..c5fd10e0 --- /dev/null +++ b/m/Mako/Mako-1.0.6-GCCcore-9.3.0-Python-2.7.18.eb @@ -0,0 +1,24 @@ +# JH 2020 + +easyblock = 'PythonPackage' + +name = 'Mako' +version = '1.0.6' +versionsuffix = '-Python-%(pyver)s' + +homepage = 'http://www.makotemplates.org' +description = """A super-fast templating language that borrows the best ideas from the existing templating languages""" + +toolchain = {'name': 'GCCcore', 'version': '9.3.0'} + +source_urls = [PYPI_SOURCE] +sources = [SOURCE_TAR_GZ] + +dependencies = [('Python', '2.7.18')] + +sanity_check_paths = { + 'files': ['bin/mako-render'], + 'dirs': ['lib/python%(pyshortver)s/site-packages/%(name)s-%(version)s-py%(pyshortver)s.egg'], +} + +moduleclass = 'devel' diff --git a/m/Mesa/Mesa-18.1.1-foss-2020a.eb b/m/Mesa/Mesa-18.1.1-foss-2020a.eb new file mode 100644 index 00000000..9882bc36 --- /dev/null +++ b/m/Mesa/Mesa-18.1.1-foss-2020a.eb @@ -0,0 +1,81 @@ +# JH 2020 + +# Automatically converted from Mesa-17.2.4-intel-2017b.eb +# Original message: +# the purpose of the easyconfig is to build a Mesa for software rendering, +# not hardware rendering. This means you want at least SSE4.2. We build: +# - llvmpipe: the high-performance Gallium LLVM driver +# - swr: Intel's OpenSWR +# it will try to use the llvmpipe by default. It you want swr, do: +# GALLIUM_DRIVER=swr + +easyblock = 'ConfigureMake' + +name = 'Mesa' +version = '18.1.1' + +homepage = 'https://www.mesa3d.org/' +description = """Mesa is an open-source implementation of the OpenGL specification - + a system for rendering interactive 3D graphics.""" + +toolchain = {'name': 'foss', 'version': '2020a'} +# swr detects and builds parts specific for AVX and AVX2. If we use +# -xHost, this always gets overwritten and will fail. +toolchainopts = {'optarch': False} + +source_urls = [ + 'https://mesa.freedesktop.org/archive/', + 'https://mesa.freedesktop.org/archive/%(version)s', + 'ftp://ftp.freedesktop.org/pub/mesa/%(version)s', + 'ftp://ftp.freedesktop.org/pub/mesa/older-versions/%(version_major)s.x/%(version)s', + 'ftp://ftp.freedesktop.org/pub/mesa/older-versions/%(version_major)s.x', +] +sources = [SOURCELOWER_TAR_XZ] +patches = [ + 'Mesa-17.3.6_fix-strip-llvm-flags.patch', + 'Mesa-18.1.1-query-mit-shm.patch', +] +checksums = [ + 'd3312a2ede5aac14a47476b208b8e3a401367838330197c4588ab8ad420d7781', # mesa-18.1.1.tar.xz + '5aa4e92ed96e3d47ffbecd1ec3a1642407dff11995c5585eb5e06c396654ee30', # Mesa-17.3.6_fix-strip-llvm-flags.patch + 'a9df2759758318d917debbfcc2cb15f6525b3dce41bd1e481d16e2eaa592a24e', # Mesa-18.1.1-query-mit-shm.patch +] + +builddependencies = [ + ('flex', '2.6.4'), + ('Bison', '3.5.3'), + ('Autotools', '20180311'), + ('pkg-config', '0.29.2'), + ('Mako', '1.0.6', '-Python-2.7.18'), + ('libxml2', '2.9.10'), + ('expat', '2.2.9'), +] + +dependencies = [ + ('zlib', '1.2.11'), + ('nettle', '3.5.1'), + ('libdrm', '2.4.100'), + ('LLVM', '6.0.0'), + ('X11', '20200222'), + ('libunwind', '1.3.1'), +] + +# GLU is not part anymore of Mesa package! +configopts = " --disable-osmesa --enable-gallium-osmesa --enable-gallium-llvm --enable-glx --disable-dri" +configopts += " --disable-gbm --disable-driglx-direct --with-gallium-drivers='swrast,swr' --disable-egl" +configopts += " --with-osmesa-bits=32 --enable-texture-float --enable-llvm-shared-libs " + +buildopts = 'V=1' + +sanity_check_paths = { + 'files': ['lib/libGL.%s' % SHLIB_EXT, 'lib/libOSMesa.%s' % SHLIB_EXT, + 'lib/libGLESv1_CM.%s' % SHLIB_EXT, 'lib/libGLESv2.%s' % SHLIB_EXT, + 'include/GL/glext.h', 'include/GL/gl_mangle.h', + 'include/GL/glx.h', 'include/GL/osmesa.h', + 'include/GL/gl.h', 'include/GL/glxext.h', + 'include/GL/glx_mangle.h', 'include/GLES/gl.h', + 'include/GLES2/gl2.h', 'include/GLES3/gl3.h'], + 'dirs': [] +} + +moduleclass = 'vis' diff --git a/m/Mesa/Mesa-18.3.6-GCCcore-9.3.0.eb b/m/Mesa/Mesa-18.3.6-GCCcore-9.3.0.eb new file mode 100644 index 00000000..2396a452 --- /dev/null +++ b/m/Mesa/Mesa-18.3.6-GCCcore-9.3.0.eb @@ -0,0 +1,74 @@ +# JH 2020 + +easyblock = 'ConfigureMake' + +name = 'Mesa' +version = '18.3.6' + +homepage = 'http://www.mesa3d.org/' +description = """Mesa is an open-source implementation of the OpenGL specification - + a system for rendering interactive 3D graphics.""" + +toolchain = {'name': 'GCCcore', 'version': '9.3.0'} +# swr detects and builds parts specific for AVX and AVX2. If we use +# -xHost, this always gets overwritten and will fail. +toolchainopts = {'optarch': False} + +sources = [SOURCELOWER_TAR_XZ] +source_urls = [ + 'https://mesa.freedesktop.org/archive/', + 'https://mesa.freedesktop.org/archive/%(version)s', + 'ftp://ftp.freedesktop.org/pub/mesa/%(version)s', + 'ftp://ftp.freedesktop.org/pub/mesa/older-versions/%(version_major)s.x/%(version)s', +] +#patches = ['Mesa-17.0.2_fix-strip-llvm-flags.patch'] + +builddependencies = [ + ('binutils', '2.34'), + ('flex', '2.6.4'), + ('Bison', '3.5.3'), + ('Autotools', '20180311'), + ('pkg-config', '0.29.2'), + ('Mako', '1.1.2'), + ('libxml2', '2.9.10'), + ('expat', '2.2.9'), +] + +dependencies = [ + ('zlib', '1.2.11'), + ('nettle', '3.5.1'), + ('libdrm', '2.4.100'), + ('LLVM', '8.0.1'), + ('X11', '20200222'), +] + +# GLU is not part anymore of Mesa package! +configopts = " --disable-osmesa --enable-gallium-osmesa --enable-gallium-llvm --enable-glx --disable-dri" +configopts += " --disable-gbm --disable-driglx-direct --with-gallium-drivers='swrast,swr' --disable-egl" +configopts += " --with-osmesa-bits=32 --enable-texture-float --enable-llvm-shared-libs " + +buildopts = 'V=1' + +sanity_check_paths = { + 'files': [ + 'lib/libGL.%s' % + SHLIB_EXT, + 'lib/libOSMesa.%s' % + SHLIB_EXT, + 'lib/libGLESv1_CM.%s' % + SHLIB_EXT, + 'lib/libGLESv2.%s' % + SHLIB_EXT, + 'include/GL/glext.h', + 'include/GL/gl_mangle.h', + 'include/GL/glx.h', + 'include/GL/osmesa.h', + 'include/GL/gl.h', + 'include/GL/glxext.h', + 'include/GL/glx_mangle.h', + 'include/GLES/gl.h', + 'include/GLES2/gl2.h', + 'include/GLES3/gl3.h'], + 'dirs': []} + +moduleclass = 'vis' diff --git a/o/OpenFOAM/OpenFOAM-7-foss-2020a.eb b/o/OpenFOAM/OpenFOAM-7-foss-2020a.eb index 6e7a2869..494bcfd2 100644 --- a/o/OpenFOAM/OpenFOAM-7-foss-2020a.eb +++ b/o/OpenFOAM/OpenFOAM-7-foss-2020a.eb @@ -35,8 +35,8 @@ dependencies = [ # OpenFOAM requires 64 bit METIS using 32 bit indexes (array indexes) ('METIS', '5.1.0'), ('SCOTCH', '6.0.9'), - ('CGAL', '4.14.3', '-Python-3.8.2'), - ('ParaView', '5.8.0', '-Python-3.8.2-mpi'), + ('CGAL', '4.14.1', '-Python-3.7.8'), + ('ParaView', '5.6.2', '-Python-3.7.8-mpi'), ] builddependencies = [ diff --git a/p/ParaView/ParaView-5.6.2-foss-2020a-Python-3.7.8-mpi.eb b/p/ParaView/ParaView-5.6.2-foss-2020a-Python-3.7.8-mpi.eb index 4840eefa..1e131e9b 100644 --- a/p/ParaView/ParaView-5.6.2-foss-2020a-Python-3.7.8-mpi.eb +++ b/p/ParaView/ParaView-5.6.2-foss-2020a-Python-3.7.8-mpi.eb @@ -25,7 +25,7 @@ dependencies = [ ('netCDF', '4.7.4'), ('libGLU', '9.0.1'), ('X11', '20200222'), - ('Mesa', '20.0.2'), + ('Mesa', '18.1.1'), # Needen for libGL.so ('Qt5', '5.14.1'), ('zlib', '1.2.11'), ('FFmpeg', '4.2.2'), diff --git a/r/R/R-4.0.0-foss-2020a.eb b/r/R/R-4.0.0-foss-2020a.eb index 2e490bbe..625285f5 100644 --- a/r/R/R-4.0.0-foss-2020a.eb +++ b/r/R/R-4.0.0-foss-2020a.eb @@ -68,6 +68,7 @@ exts_default_options = { 'https://cran.r-project.org/src/contrib/', # current version of packages 'https://cran.freestatistics.org/src/contrib', # mirror alternative for current packages 'https://bioconductor.org/packages/release/bioc/src/contrib', + 'http://bioconductor.org/packages/3.11/bioc/src/contrib/Archive/%(name)s', ], 'source_tmpl': '%(name)s_%(version)s.tar.gz', }