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

modified: m/Mesa/Mesa-12.0.2-intel-2016b.eb new file: v/VTK/VTK-6.3.0-intel-2017a-Python-2.7.13.eb new file: v/VTK/VTK-7.1.1-intel-2017a-Python-2.7.13.eb deleted: m/Mesa/Mesa-12.0.2-foss-2016b.eb
63 lines
2.2 KiB
Plaintext
63 lines
2.2 KiB
Plaintext
# 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 = '12.0.2'
|
|
|
|
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': 'intel', 'version': '2016b'}
|
|
# 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/%(version)s',
|
|
'ftp://ftp.freedesktop.org/pub/mesa/%(version)s',
|
|
'ftp://ftp.freedesktop.org/pub/mesa/older-versions/%(version_major)s.x/%(version)s',
|
|
]
|
|
|
|
builddependencies = [
|
|
('flex', '2.6.0'),
|
|
('Bison', '3.0.4'),
|
|
('Autotools', '20150215'),
|
|
('pkg-config', '0.29.1'),
|
|
('Mako', '1.0.4', '-Python-2.7.12'),
|
|
('libxml2', '2.9.4', '-Python-2.7.12'),
|
|
]
|
|
|
|
dependencies = [
|
|
('zlib', '1.2.8'),
|
|
('nettle', '3.2'),
|
|
('libdrm', '2.4.70'),
|
|
('LLVM', '3.8.1'),
|
|
('X11', '20160819'),
|
|
]
|
|
|
|
# GLU is not part anymore of Mesa package!
|
|
configopts = " --disable-osmesa --enable-gallium-osmesa --enable-gallium-llvm --enable-glx --disable-dri"
|
|
configopts += " --disable-driglx-direct --with-gallium-drivers='swrast,swr' --disable-egl"
|
|
configopts += " --with-osmesa-bits=32 --enable-texture-float --enable-llvm-shared-libs "
|
|
|
|
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'
|