Skip to content

[Mesa-demos] [package list]

Mesa-demos/8.5.0-cpeGNU-22.08 (Mesa-demos-8.5.0-cpeGNU-22.08.eb)

Install with the EasyBuild-user module:

eb Mesa-demos-8.5.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 Mesa-demos/8.5.0-cpeGNU-22.08.

EasyConfig:

easyblock = 'MesonNinja'

local_freetype_version =     '2.12.1'        # https://download.savannah.gnu.org/releases/freetype/

name =    'Mesa-demos'
version = '8.5.0'

homepage = 'https://www.mesa3d.org/'

whatis = [
    'Description: Mesa-util contains a number of Mesa utilities and demo programs, including glxinfo and eglinfo'
]

description = """
Mesa utility programs and demos. This module provides the useful glxinfo
and eglinfo commands, but also a number of Mesa demo programs that are
useful to test if the Mesa installation functions.
"""

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

source_urls = ['https://mesa.freedesktop.org/archive/demos/%(version)s']
sources =     [SOURCELOWER_TAR_BZ2]
checksums =   ['cea2df0a80f09a30f635c4eb1a672bf90c5ddee0b8e77f4d70041668ef71aac1']

builddependencies = [
    ('buildtools', '%(toolchain_version)s', '', SYSTEM),
    ('freetype',   local_freetype_version),
]

dependencies = [
    ('Mesa',     '22.2.1'),
    ('glew',     '2.2.0',  '-egl'),
    ('libGLU',   '9.0.2'),
    ('freeglut', '3.2.2'),
]

postinstallcmds = [
    'mkdir -p %(installdir)s/share/mesa-demos',  # Should already exist at this point, but you never now...
    'cd ../%(namelower)s-%(version)s/src/glsl && cp *.vert *.frag bezier.geom %(installdir)s/share/mesa-demos',
]

sanity_check_paths = {
    'files': ['bin/eglinfo', 'bin/glxinfo'],
    'dirs':  []
}

# There's really not that much we can test without display...
sanity_check_commands = [
    'glxinfo -h',
]

moduleclass = 'vis'

[Mesa-demos] [package list]