easyconfigs-it4i/m/Mesa/Mesa-17.2.6-foss-2017a.eb
Lukáš Krupčík 9738176bda new file: b/BCFtools/BCFtools-1.6-intel-2017a.eb
new file:   b/BWA/BWA-0.7.17-intel-2017a.eb
	new file:   c/Clang/Clang-3.8.1-GCC-6.3.0-2.27.eb
	new file:   d/DMTCP/DMTCP-2.5.2.eb
	new file:   d/DMTCP/DMTCP-3.0.eb
	new file:   f/FFTW/FFTW-3.3.6-foss-2017a.eb
	new file:   h/HTSlib/HTSlib-1.6-intel-2017a.eb
	new file:   l/libsndfile/libsndfile-1.0.28.eb
	new file:   m/MPC/MPC-1.0.2.eb
	new file:   m/MPFR/MPFR-3.1.5.eb
	new file:   m/MPICH/MPICH-3.2.1-GCC-6.3.0-2.27.eb
	new file:   m/Mesa/Mesa-17.2.6-foss-2017a.eb
	new file:   n/NLopt/NLopt-2.4.2.eb
	new file:   n/nettle/nettle-3.3-foss-2017a.eb
	new file:   o/Octave/Octave-4.2.1-intel-2017a-mic.eb
	new file:   p/PAPI/PAPI-5.5.1.eb
	new file:   p/PROJ/PROJ-4.9.3-foss-2017a.eb
	new file:   r/R/R-3.4.2-intel-2017a.eb
	new file:   r/R/R-3.4.3-foss-2017a.eb
	new file:   s/SAMtools/SAMtools-1.6-intel-2017a.eb
	new file:   s/Singularity/Singularity-2.4.1.eb
	modified:   v/VASP/VASP-5.4.1-24Jun15-intel-2015b.eb
	modified:   v/VASP/VASP-5.4.1-24Jun15-intel-2017.00.eb
	modified:   v/VASP/VASP-5.4.1-24Jun15-intel-2017a.eb
	modified:   v/VASP/VASP-5.4.4-intel-2015b-mkl=sequential.eb
	modified:   v/VASP/VASP-5.4.4-intel-2016a-CUDA-8.0.44-mkl=sequential.eb
	modified:   v/VASP/VASP-5.4.4-intel-2017a-03.eb
	modified:   v/VASP/VASP-5.4.4-intel-2017a-mkl=cluster.eb
	new file:   v/VASP/VASP-5.4.4-intel-2017a-mkl=paralel-test.eb
	modified:   v/VASP/VASP-5.4.4-intel-2017a-mkl=paralel.eb
	modified:   v/VASP/VASP-5.4.4-intel-2017a-mkl=sequential.eb
	modified:   v/VASP/VASP-5.4.4-intel-2017a.eb
	modified:   v/VASP/VASP-5.4.4-intel-2017b-mkl=cluster.eb
2017-12-11 09:44:35 +01:00

67 lines
2.4 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 = '17.2.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': 'foss', 'version': '2017a'}
# 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 = [
('flex', '2.6.4', '', True),
('Bison', '3.0.4', '', True),
('Autotools', '20150215', '', True),
('pkg-config', '0.29.1', '', True),
('Mako', '1.0.6', '-Python-2.7.13', True),
('libxml2', '2.9.4', '-Python-2.7.13', True),
]
dependencies = [
('zlib', '1.2.11', '', True),
('nettle', '3.3'),
('libdrm', '2.4.76', '', True),
('LLVM', '4.0.0', '', ('GCC', '6.3.0-2.27')),
('X11', '20170314', '', True),
]
# 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'