mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00

new file: a/at-spi2-atk/at-spi2-atk-2.34.1-GCCcore-8.3.0.eb new file: a/at-spi2-core/at-spi2-core-2.34.0-GCCcore-8.3.0.eb modified: b/Boost/Boost-1.72.0-intel-2020a.eb modified: b/binutils/binutils-2.32-GCCcore-8.3.0.eb new file: b/bzip2/bzip2-1.0.8-GCCcore-8.3.0.eb new file: c/CMake/CMake-3.16.2-GCCcore-8.3.0.eb new file: c/cairo/cairo-1.17.2-GCCcore-8.3.0.eb new file: d/DBus/DBus-1.13.8-GCCcore-8.3.0.eb new file: f/FFmpeg/FFmpeg-4.2.2-GCCcore-8.3.0.eb new file: f/FriBidi/FriBidi-1.0.9-GCCcore-8.3.0.eb new file: f/fontconfig/fontconfig-2.12.6-GCCcore-8.3.0.eb new file: g/GLib/GLib-2.64.0-GCCcore-8.3.0.eb new file: g/GObject-Introspection/GObject-Introspection-1.63.1-GCCcore-8.3.0-Py-3.7.eb modified: g/GTK+/GTK+-3.24.13-GCCcore-8.3.0.eb new file: g/Gdk-Pixbuf/Gdk-Pixbuf-2.38.2-GCCcore-8.3.0.eb new file: g/gettext/gettext-0.19.8.1-GCCcore-8.3.0.eb modified: h/HDF5/HDF5-1.10.6-intel-2020a.eb new file: h/HarfBuzz/HarfBuzz-2.6.4-GCCcore-8.3.0.eb new file: i/ICU/ICU-64.2-GCCcore-8.3.0.eb new file: j/JasPer/JasPer-2.0.14-GCCcore-8.3.0.eb new file: l/LibTIFF/LibTIFF-4.1.0-GCCcore-8.3.0.eb new file: l/libffi/libffi-3.3-GCCcore-8.3.0.eb new file: l/libjpeg-turbo/libjpeg-turbo-2.0.4-GCCcore-8.3.0.eb modified: m/Mesa/Mesa-19.2.1-GCCcore-8.3.0.eb new file: n/ncurses/ncurses-6.1-GCCcore-8.3.0.eb modified: n/netCDF/netCDF-4.7.3-intel-2020a.eb modified: n/numpy/numpy-1.18.1-Py-3.7.eb modified: o/OpenCV/OpenCV-3.4.7-intel-2020a-Py-3.7.eb new file: o/OpenCV/OpenCV-4.2.0-intel-2020a-Py-3.7.eb new file: o/OpenCV/OpenCV-4.2.0_disable-AVX512-CascadeLake.patch new file: p/Pango/Pango-1.44.7-GCCcore-8.3.0.eb modified: p/Py/Py-3.6.eb modified: p/Py/Py-3.7.eb modified: p/Py/Py-3.8.eb new file: p/Python/Python-3.6.10-GCCcore-8.3.0-base.eb new file: p/Python/Python-3.7.7-GCCcore-8.3.0-base.eb modified: p/Python/Python-3.8.2-GCC-8.3.0-2.32-base.eb new file: p/Python/Python-3.8.2-GCCcore-8.3.0-base.eb new file: s/SQLite/SQLite-3.30.1-GCCcore-8.3.0.eb new file: t/Tcl/Tcl-8.6.10-GCCcore-8.3.0.eb modified: v/VTK/VTK-8.2.0-foss-2019b-Python-3.7.4.eb modified: v/VTK/VTK-8.2.0-intel-2020a-Py-3.7.eb modified: x/X11/X11-20190717-GCCcore-8.3.0.eb modified: x/XZ/XZ-5.2.4-GCCcore-8.3.0.eb new file: x/x264/x264-20190925-GCCcore-8.3.0.eb new file: x/x265/x265-3.2-GCCcore-8.3.0.eb deleted: o/OpenCV/OpenCV-4.2.0-Py-3.7.eb
90 lines
3.1 KiB
Plaintext
90 lines
3.1 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'),
|
|
('Bison', '3.3.2'),
|
|
('pkg-config', '0.29.2'),
|
|
('Mako', '1.1.2', '-Py-3.7', True),
|
|
('libxml2', '2.9.9'),
|
|
('expat', '2.2.7'),
|
|
('gettext', '0.20.1'),
|
|
]
|
|
|
|
dependencies = [
|
|
('zlib', '1.2.11'),
|
|
('nettle', '3.5.1'),
|
|
('libdrm', '2.4.99'),
|
|
('LLVM', '8.0.1'),
|
|
('X11', '20190717'),
|
|
('libunwind', '1.3.1'),
|
|
('libglvnd', '1.2.0'),
|
|
]
|
|
|
|
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'
|