Skip to content

Commit

Permalink
Merge pull request #11536 from Micket/20201019004644_new_pr_libGLU901
Browse files Browse the repository at this point in the history
{lib}[GCCcore/10.2.0] Mesa v20.2.1, libGLU v9.0.1, Mako v1.1.3 w/ Python 2.7.18 + 3.8.6
  • Loading branch information
boegel authored Oct 22, 2020
2 parents 079f454 + 2b7caa4 commit ecf389f
Show file tree
Hide file tree
Showing 7 changed files with 648 additions and 0 deletions.
27 changes: 27 additions & 0 deletions easybuild/easyconfigs/l/libGLU/libGLU-9.0.1-GCCcore-10.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
easyblock = 'ConfigureMake'

name = 'libGLU'
version = '9.0.1'

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

toolchain = {'name': 'GCCcore', 'version': '10.2.0'}
toolchainopts = {'pic': True}

source_urls = ['https://mesa.freedesktop.org/archive/glu/']
sources = ['glu-%(version)s.tar.gz']
checksums = ['f6f484cfcd51e489afe88031afdea1e173aa652697e4c19ddbcb8260579a10f7']

builddependencies = [('binutils', '2.35')]

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

sanity_check_paths = {
'files': ['lib/libGLU.%s' % SHLIB_EXT],
'dirs': [],
}

moduleclass = 'vis'
31 changes: 31 additions & 0 deletions easybuild/easyconfigs/l/libdrm/libdrm-2.4.102-GCCcore-10.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
easyblock = 'MesonNinja'
name = 'libdrm'
version = '2.4.102'

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

toolchain = {'name': 'GCCcore', 'version': '10.2.0'}

source_urls = ['https://dri.freedesktop.org/libdrm/']
sources = [SOURCELOWER_TAR_XZ]
checksums = ['8bcbf9336c28e393d76c1f16d7e79e394a7fce8a2e929d52d3ad7ad8525ba05b']

builddependencies = [
('binutils', '2.35'),
('pkg-config', '0.29.2'),
('Meson', '0.55.3'),
('Ninja', '1.10.1'),
]
dependencies = [('X11', '20201008')]

# installing manpages requires an extra build dependency (docbook xsl)
configopts = '-Dman-pages=false'

sanity_check_paths = {
'files': ['lib/libdrm.%s' % SHLIB_EXT, 'include/libdrm/drm.h'],
'dirs': ['include', 'lib'],
}


moduleclass = 'lib'
33 changes: 33 additions & 0 deletions easybuild/easyconfigs/l/libglvnd/libglvnd-1.3.2-GCCcore-10.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
easyblock = 'MesonNinja'

name = 'libglvnd'
version = '1.3.2'

homepage = 'https://gitlab.freedesktop.org/glvnd/libglvnd'
description = "libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL API calls between multiple vendors."

toolchain = {'name': 'GCCcore', 'version': '10.2.0'}

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

builddependencies = [
('binutils', '2.35'),
('pkg-config', '0.29.2'),
('Meson', '0.55.3'),
('Ninja', '1.10.1'),
]

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

# 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'
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
easyblock = 'ConfigureMake'

name = 'libunwind'
version = '1.4.0'

homepage = 'https://www.nongnu.org/libunwind/'
description = """The primary goal of libunwind is to define a portable and efficient C programming interface
(API) to determine the call-chain of a program. The API additionally provides the means to manipulate the
preserved (callee-saved) state of each call-frame and to resume execution at any point in the call-chain
(non-local goto). The API supports both local (same-process) and remote (across-process) operation.
As such, the API is useful in a number of applications"""

toolchain = {'name': 'GCCcore', 'version': '10.2.0'}

source_urls = [GNU_SAVANNAH_SOURCE]
sources = [SOURCE_TAR_GZ]
patches = [
'libunwind-1.3.1_fix_ppc64_fpreg_t.patch',
'libunwind-1.4.0_weak_symbol_fix.patch',
]
checksums = [
'df59c931bd4d7ebfd83ee481c943edf015138089b8e50abed8d9c57ba9338435', # libunwind-1.4.0.tar.gz
'61a507eec7ece286b06be698c742f0016d8c605eaeedf34f451cf1d0e510ec86', # libunwind-1.3.1_fix_ppc64_fpreg_t.patch
'fdaf565dc8de48d564562a7258d04fe23f594af1741c49a3062f9f60cde220c8', # libunwind-1.4.0_weak_symbol_fix.patch
]

builddependencies = [('binutils', '2.35')]

dependencies = [
('XZ', '5.2.5'),
]

preconfigopts = 'export LIBS="$LIBS -llzma" && export CFLAGS="$CFLAGS -fuse-ld=bfd -fno-common" && '

sanity_check_paths = {
'files': ['include/libunwind.h', 'lib/libunwind.%s' % SHLIB_EXT],
'dirs': []
}

moduleclass = 'lib'
Loading

0 comments on commit ecf389f

Please sign in to comment.