Skip to content

[libglvnd] [package list]

libglvnd/1.4.0-cpeGNU-22.08 (libglvnd-1.4.0-cpeGNU-22.08.eb)

Install with the EasyBuild-user module:

eb libglvnd-1.4.0-cpeGNU-22.08.eb -r
To access module help after installation and get reminded for which stacks and partitions the module is installed, use module spider libglvnd/1.4.0-cpeGNU-22.08.

EasyConfig:

easyblock = 'MesonNinja'

name = 'libglvnd'
version = '1.4.0'

homepage = 'https://gitlab.freedesktop.org/glvnd/libglvnd'

whatis = [
    'Description: libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL API calls'
]

description = """
libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL API calls
between multiple vendors.

Both GLX and EGL are supported, in any combination with OpenGL and OpenGL ES.
"""

software_license_urls = ['https://gitlab.freedesktop.org/glvnd/libglvnd#libglvnd']

toolchain = {'name': 'cpeGNU', 'version': '22.08'}

source_urls = ['https://gitlab.freedesktop.org/glvnd/libglvnd/-/archive/v%(version)s/']
sources = ['libglvnd-v%(version)s.tar.gz']
checksums = ['33b8b993adf47a21bc1c46bcf970927edeb9884390d5b09b1aed051d600c0b2f']

builddependencies = [
    ('buildtools', '%(toolchain_version)s', '', True),
]

dependencies = [
    ('X11', '%(toolchain_version)s'),
]

# Taken from the EasyBuilders one but for now disabled:# 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'

[libglvnd] [package list]