easyconfigs-it4i/m/Mesa/Mesa-19.2.1-GCCcore-8.3.0.eb
Lukáš Krupčík 9485f62957 new file: g/GTK+/GTK+-3.24.13-GCCcore-8.3.0.eb
new file:   l/libGLU/libGLU-9.0.1-GCCcore-8.3.0-Mesa-19.2.1.eb
	new file:   l/libdrm/libdrm-2.4.99.eb
	new file:   l/libepoxy/libepoxy-1.5.4-GCCcore-8.3.0.eb
	modified:   l/libepoxy/libepoxy-1.5.4.eb
	new file:   l/libglvnd/libglvnd-1.2.0.eb
	new file:   m/Mesa/Mesa-19.2.1-GCCcore-8.3.0.eb
	modified:   v/VTK/VTK-8.2.0-intel-2020a-Py-3.7.eb
2020-03-30 07:54:29 +02:00

90 lines
3.2 KiB
Plaintext

# 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 = 'MesonNinja'
name = 'Mesa'
version = '19.2.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': 'GCCcore', 'version': '8.3.0'}
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-19.2.1-match-swrast-loosely.patch',
'Mesa-19.2.1-meson-avoid-march.patch',
]
checksums = [
'4cc53ca1a8d12c6ff0e5ea44a5213c05c88447ab50d7e28bb350cd29199f01e9', # mesa-19.2.1.tar.xz
'e7bf37e6840314b661966aac7ec960208bbc7b5588952bdf7863b1441ed91f66', # Mesa-19.2.1-match-swrast-loosely.patch
'4782df17cd27c8a07d543d07c13336e257bd0bd047d2a538f855e9df65e8ec32', # Mesa-19.2.1-meson-avoid-march.patch
]
builddependencies = [
('binutils', '2.32'),
('Meson', '0.53.0', '-Py-3.7', True),
('Ninja', '1.9.0', '', True),
('flex', '2.6.4', '', True),
('Bison', '3.3.2', '', True),
('pkg-config', '0.29.2', '', True),
('Mako', '1.1.2', '-Py-3.7', True),
('libxml2', '2.9.9', '', True),
('expat', '2.2.0','', True),
('gettext', '0.19.4', '', True),
]
dependencies = [
('zlib', '1.2.11', '', True),
('nettle', '3.4.1', '', True),
('libdrm', '2.4.99', '', True),
('LLVM', '8.0.1'),
('X11', '20190717', '', True),
('libunwind', '1.2.1', '', True),
('libglvnd', '1.2.0', '', True),
]
configopts = " -Dplatforms=x11 -Dosmesa=gallium -Ddri-drivers='' -Dvulkan-drivers=''"
configopts += " -Dgallium-drivers='swrast,swr' -Dswr-arches=avx,avx2,skx,knl"
configopts += " -Dllvm=true -Dshared-llvm=true"
configopts += " -Dlibunwind=true"
configopts += " -Dglvnd=true"
# symlink indirect to mesa GLX, similar to Debian, see
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881789
# This helps in certain X forwarding situations (e.g. XQuartz)
postinstallcmds = ["ln -s libGLX_mesa.so.0 %(installdir)s/lib/libGLX_indirect.so.0"]
# Tells libglvnd where to find EGL libraries
modextrapaths = {"__EGL_VENDOR_LIBRARY_DIRS": "share/glvnd/egl_vendor.d"}
sanity_check_paths = {
'files': ['lib/libGLX_mesa.%s' % SHLIB_EXT, 'lib/libOSMesa.%s' % SHLIB_EXT,
'lib/libEGL_mesa.%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': ['include/GL/internal'],
}
moduleclass = 'vis'