easyconfigs-it4i/m/Mesa/Mesa-18.3.6-GCCcore-9.3.0.eb
Josef Hrabal d9bcd66c7d new file: c/CGAL/CGAL-4.14.1-foss-2020a-Python-3.7.8.eb
new file:   l/LLVM/LLVM-6.0.0-GCCcore-9.3.0.eb
	new file:   l/LLVM/LLVM-8.0.1-GCCcore-9.3.0.eb
	new file:   m/Mako/Mako-1.0.6-GCCcore-9.3.0-Python-2.7.18.eb
	new file:   m/Mesa/Mesa-18.1.1-foss-2020a.eb
	new file:   m/Mesa/Mesa-18.3.6-GCCcore-9.3.0.eb
	modified:   o/OpenFOAM/OpenFOAM-7-foss-2020a.eb
	modified:   p/ParaView/ParaView-5.6.2-foss-2020a-Python-3.7.8-mpi.eb
	modified:   r/R/R-4.0.0-foss-2020a.eb
2020-08-06 09:52:46 +02:00

75 lines
2.1 KiB
Plaintext

# 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'