Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{vis} [intel/2016b] Mesa/12.0.1 (REVIEW) #3460

Merged
merged 14 commits into from
Sep 2, 2016
24 changes: 24 additions & 0 deletions easybuild/easyconfigs/l/libGLU/libGLU-9.0.0-intel-2016b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
easyblock = 'ConfigureMake'

name = 'libGLU'
version = '9.0.0'

homepage = 'ftp://ftp.freedesktop.org/pub/mesa/glu/'
description = """The OpenGL Utility Library (GLU) is a computer graphics library for OpenGL. """

toolchain = {'name': 'intel', 'version': '2016b'}
toolchainopts = {'pic': True}

source_urls = ['ftp://ftp.freedesktop.org/pub/mesa/glu/']
sources = ['glu-%(version)s.tar.bz2']

dependencies = [
('Mesa', '12.0.1'),
]

sanity_check_paths = {
'files': ['lib/libGLU.so.1'],
'dirs': [],
}

moduleclass = 'vis'
24 changes: 24 additions & 0 deletions easybuild/easyconfigs/l/libdrm/libdrm-2.4.70-intel-2016b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
easyblock = 'ConfigureMake'

name = 'libdrm'
version = '2.4.70'

homepage = 'http://dri.freedesktop.org'
description = """Direct Rendering Manager runtime library."""

source_urls = ['http://dri.freedesktop.org/libdrm/']
sources = [SOURCELOWER_TAR_GZ]

toolchain = {'name': 'intel', 'version': '2016b'}

dependencies = [
('X11', '20160819'),
]

sanity_check_paths = {
'files': ['include/xf86drm.h', 'include/xf86drmMode.h', 'lib/libdrm_intel.%s' % SHLIB_EXT,
'lib/libdrm_radeon.%s' % SHLIB_EXT, 'lib/libdrm.%s' % SHLIB_EXT, 'lib/libkms.%s' % SHLIB_EXT],
'dirs': ['include/libdrm', 'include/libkms', 'lib/pkgconfig'],
}

moduleclass = 'lib'
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name = 'libxml2'
version = '2.9.4'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://xmlsoft.org/'
description = """Libxml2 is the XML C parser and toolchain developed for the Gnome project (but usable
outside of the Gnome platform)."""

toolchain = {'name': 'intel', 'version': '2016b'}
toolchainopts = {'pic': True}

source_urls = [
'http://xmlsoft.org/sources/',
'http://xmlsoft.org/sources/old/'
]
sources = [SOURCELOWER_TAR_GZ]

dependencies = [
('zlib', '1.2.8'),
('Python', '2.7.12'),
]

moduleclass = 'lib'
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
easyblock = 'PythonPackage'

name = 'Mako'
version = '1.0.4'
versionsuffix = '-Python-%(pyver)s'

homepage = 'http://www.makotemplates.org'
description = """A super-fast templating language that borrows the best ideas from the existing templating languages"""

toolchain = {'name': 'intel', 'version': '2016b'}

source_urls = [PYPI_SOURCE]
sources = [SOURCE_TAR_GZ]

dependencies = [('Python', '2.7.12')]

sanity_check_paths = {
'files': ['bin/mako-render'],
'dirs': ['lib/python%(pyshortver)s/site-packages/%(name)s-%(version)s-py%(pyshortver)s.egg'],
}

moduleclass = 'devel'
56 changes: 56 additions & 0 deletions easybuild/easyconfigs/m/Mesa/Mesa-12.0.1-intel-2016b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# 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.1'

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

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/wglext.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'
28 changes: 28 additions & 0 deletions easybuild/easyconfigs/n/nettle/nettle-3.2-intel-2016b.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
easyblock = 'ConfigureMake'

name = 'nettle'
version = '3.2'

homepage = 'http://www.lysator.liu.se/~nisse/nettle/'
description = """Nettle is a cryptographic library that is designed to fit easily
in more or less any context: In crypto toolkits for object-oriented
languages (C++, Python, Pike, ...), in applications like LSH or GNUPG,
or even in kernel space."""

toolchain = {'name': 'intel', 'version': '2016b'}

source_urls = [GNU_SOURCE]
sources = [SOURCE_TAR_GZ]

dependencies = [
('GMP', '6.1.1'),
]

sanity_check_paths = {
'files': ['bin/%s' % x for x in ['nettle-hash', 'nettle-lfib-stream', 'pkcs1-conv', 'sexp-conv']] +
['lib64/libhogweed.a', 'lib64/libhogweed.%s' % SHLIB_EXT,
'lib64/libnettle.a', 'lib64/libnettle.%s' % SHLIB_EXT],
'dirs': ['include/nettle'],
}

moduleclass = 'lib'
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dependencies = [
('libreadline', '6.3'),
('ncurses', '6.0'),
('SQLite', '3.13.0'),
# Be ware that this requires a full X11 stack
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pfft, is this worth adding here? we already have open issues for this, etc.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, people will look at the easyconfigs but not that the issues. And this is major.

('Tk', '8.6.5'),
('GMP', '6.1.1'),
('libffi', '3.2.1'),
Expand Down
1 change: 1 addition & 0 deletions easybuild/easyconfigs/t/Tk/Tk-8.6.4-intel-2016a-no-X11.eb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ dependencies = [
('zlib', '1.2.8'),
]

# To be clear: this will still require the X11 to be present.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you add this, include a pointer to #2261

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also, this is totally unrelated to this PR (this particular Tk easyconfig isn't used here, it's even a different toolchain)

let's not start adding comments left and right for stuff we already have open issues for

configopts = '--enable-threads --with-tcl=$EBROOTTCL/lib --without-x CFLAGS="-I$EBROOTTCL/include"'

start_dir = 'unix'
Expand Down