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
This commit is contained in:
Lukáš Krupčík 2020-03-30 07:54:29 +02:00
parent 79fb033c83
commit 9485f62957
8 changed files with 304 additions and 4 deletions

View File

@ -0,0 +1,71 @@
# JH 2020
easyblock = 'Bundle'
name = 'GTK+'
version = '3.24.13'
homepage = 'https://developer.gnome.org/gtk3/stable/'
description = """GTK+ is the primary library used to construct user interfaces in GNOME. It
provides all the user interface controls, or widgets, used in a common
graphical application. Its object-oriented API allows you to construct
user interfaces without dealing with the low-level details of drawing and
device interaction.
"""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
builddependencies = [
('binutils', '2.32'),
('GObject-Introspection', '1.63.1', '-Py-3.7', True),
('gettext', '0.20.1', '', True),
('pkg-config', '0.29.2'),
('cairo', '1.17.2'),
('Perl', '5.30.0', '', ('GCCcore', '8.3.0')),
]
dependencies = [
('ATK', '2.34.1'),
('at-spi2-atk', '2.34.1'),
('Gdk-Pixbuf', '2.38.2'),
('Pango', '1.44.7'),
('libepoxy', '1.5.4'),
('X11', '20190717'),
('FriBidi', '1.0.9'),
]
default_easyblock = 'ConfigureMake'
default_component_specs = {
'sources': [SOURCELOWER_TAR_XZ],
'start_dir': '%(namelower)s-%(version)s',
}
components = [
('hicolor-icon-theme', '0.17', {
'source_urls': ['https://icon-theme.freedesktop.org/releases/'],
'checksums': ['317484352271d18cbbcfac3868eab798d67fff1b8402e740baa6ff41d588a9d8'],
}),
('adwaita-icon-theme', '3.34.3', {
'source_urls': [FTPGNOME_SOURCE],
'checksums': ['e7c2d8c259125d5f35ec09522b88c8fe7ecf625224ab0811213ef0a95d90b908'],
}),
(name, version, {
'source_urls': [FTPGNOME_SOURCE],
'checksums': ['4c775c38cf1e3c534ef0ca52ca6c7a890fe169981af66141c713e054e68930a9'],
'configopts': "--disable-silent-rules --disable-glibtest --enable-introspection=yes --disable-visibility ",
}),
]
postinstallcmds = ['gtk-update-icon-cache']
sanity_check_paths = {
'files': ['bin/%s' % x for x in ['gtk3-demo', 'gtk3-demo-application', 'gtk3-icon-browser', 'gtk3-widget-factory',
'gtk-builder-tool', 'gtk-launch', 'gtk-query-immodules-3.0', 'gtk-query-settings',
'gtk-update-icon-cache']] +
['lib/%s-%%(version_major)s.%s' % (x, SHLIB_EXT) for x in ['libgailutil', 'libgdk', 'libgtk']],
'dirs': ['include/%s-%%(version_major)s.0' % x for x in ['gail', 'gtk']] +
['share/icons/hicolor', 'share/icons/Adwaita'],
}
moduleclass = 'vis'

View File

@ -0,0 +1,34 @@
# JH 2020
easyblock = 'ConfigureMake'
name = 'libGLU'
version = '9.0.1'
versionsuffix = '-Mesa-19.2.1'
homepage = 'ftp://ftp.freedesktop.org/pub/mesa/glu/'
description = """The OpenGL Utility Library (GLU) is a local_computer graphics library for OpenGL. """
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
toolchainopts = {'pic': True}
source_urls = [
'https://mesa.freedesktop.org/archive/glu'
]
sources = ['glu-%(version)s.tar.gz']
dependencies = [
('Mesa', '19.2.1'),
]
builddependencies = [
('binutils', '2.32'),
]
sanity_check_paths = {
'files': ['lib/libGLU.so.1'],
'dirs': [],
}
moduleclass = 'vis'

38
l/libdrm/libdrm-2.4.99.eb Normal file
View File

@ -0,0 +1,38 @@
# JH 2020
easyblock = 'ConfigureMake'
name = 'libdrm'
version = '2.4.99'
homepage = 'http://dri.freedesktop.org'
description = """Direct Rendering Manager runtime library."""
source_urls = ['http://dri.freedesktop.org/libdrm/']
sources = [SOURCELOWER_TAR_GZ]
toolchain = SYSTEM
dependencies = [
('X11', '20190717'),
]
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'

View File

@ -0,0 +1,40 @@
# JH 2020
easyblock = 'MesonNinja'
name = 'libepoxy'
version = '1.5.4'
homepage = "https://github.com/anholt/libepoxy"
description = "Epoxy is a library for handling OpenGL function pointer management for you"
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
#source_urls = ['https://github.com/anholt/libepoxy/releases/download/%(version)s']
#sources = [SOURCE_TAR_XZ]
github_account = 'anholt'
source_urls = [GITHUB_LOWER_SOURCE]
sources = ['%(version)s.tar.gz']
checksums = ['c926fcc606901f3e03e371027056fd478da43e01ce2da7ffc48b5a0de0ca107c']
builddependencies = [
('binutils', '2.32', '', True),
('Meson', '0.53.0', '-Py-3.7', True),
('Ninja', '1.9.0', '-Py-3.7', True),
('pkg-config', '0.29.2', '', True),
]
dependencies = [
('X11', '20190717', '', True),
('Mesa', '19.2.1'),
]
configopts = '-Degl=no --libdir %(installdir)s/lib '
sanity_check_paths = {
'files': ['include/epoxy/%s' % x for x in ['common.h', 'gl_generated.h', 'gl.h', 'glx_generated.h', 'glx.h']] +
['lib/libepoxy.%s' % SHLIB_EXT],
'dirs': ['lib']
}
moduleclass = 'lib'

View File

@ -20,7 +20,7 @@ checksums = ['c926fcc606901f3e03e371027056fd478da43e01ce2da7ffc48b5a0de0ca107c']
builddependencies = [
('binutils', '2.32'),
('Meson', '0.53.0', '-Py-3.7'),
('Ninja', '1.9.0'),
('Ninja', '1.9.0', '-Py-3.7'),
('pkg-config', '0.29.2'),
]

View File

@ -0,0 +1,30 @@
# JH 2020
easyblock = 'ConfigureMake'
name = 'libglvnd'
version = '1.2.0'
homepage = 'https://github.com/NVIDIA/libglvnd'
description = "libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL API calls between multiple vendors."
toolchain = SYSTEM
source_urls = ['https://github.com/NVIDIA/libglvnd/releases/download/v%(version)s/']
sources = ['libglvnd-%(version)s.tar.gz']
checksums = ['2dacbcfa47b7ffb722cbddc0a4f1bc3ecd71d2d7bb461bceb8e396dc6b81dc6d']
#builddependencies = [('binutils', '2.32')]
dependencies = [('X11', '20190717')]
# Let EGL find system-installed vendor files in /etc/glvnd/egl_vendor.d etc.
allow_prepend_abs_path = True
modextrapaths = {"__EGL_VENDOR_LIBRARY_DIRS": "/etc/glvnd/egl_vendor.d:/usr/share/glvnd/egl_vendor.d"}
sanity_check_paths = {
'files': ['lib/lib%s.%s' % (x, SHLIB_EXT) for x in ['EGL', 'GL', 'GLX', 'OpenGL']],
'dirs': ['include/%s' % x for x in ['EGL', 'GL', 'GLES', 'GLES2', 'GLES3', 'glvnd', 'KHR']] + ['lib/pkgconfig'],
}
moduleclass = 'lib'

View File

@ -0,0 +1,89 @@
# 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'

View File

@ -33,11 +33,9 @@ dependencies = [
('XZ', '5.2.4'),
('HDF5', '1.10.6'),
('netCDF', '4.7.3'),
('libGLU', '9.0.0', '', True),
('libGLU', '9.0.1', '-Mesa-19.2.1'),
('X11', '20190717', '', True),
('pandas', '1.0.0', versionsuffix, True),
('numpy', '1.18.1', versionsuffix, True),
('scipy', '1.3.3', versionsuffix, True),
('mpi4py', '3.0.1', versionsuffix),
]