Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…asyconfigs into 20221123232903_new_pr_HarfBuzz531
  • Loading branch information
SebastianAchilles committed Nov 24, 2022
2 parents cbf1e6d + 11e2014 commit 685d1e6
Show file tree
Hide file tree
Showing 19 changed files with 678 additions and 1 deletion.
49 changes: 49 additions & 0 deletions easybuild/easyconfigs/c/cairo/cairo-1.17.4-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
easyblock = 'ConfigureMake'

name = 'cairo'
version = '1.17.4'

homepage = 'https://cairographics.org'
description = """Cairo is a 2D graphics library with support for multiple output devices.
Currently supported output targets include the X Window System (via both Xlib and XCB), Quartz, Win32, image buffers,
PostScript, PDF, and SVG file output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB"""

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

source_urls = [
'https://cairographics.org/releases/',
'https://cairographics.org/snapshots/'
]
sources = [SOURCE_TAR_XZ]
checksums = ['74b24c1ed436bbe87499179a3b27c43f4143b8676d8ad237a6fa787401959705']

builddependencies = [
('binutils', '2.39'),
('pkgconf', '1.9.3'),
]
dependencies = [
('bzip2', '1.0.8'),
('zlib', '1.2.12'),
('libpng', '1.6.38'),
('freetype', '2.12.1'),
('pixman', '0.42.2'),
('expat', '2.4.9'),
('GLib', '2.75.0'),
('X11', '20221110'),
]

# disable symbol lookup, which requires -lbfd, to avoid link issues with (non-PIC) libiberty.a provided by GCC
configopts = "--enable-symbol-lookup=no --enable-gobject=yes --enable-svg=yes --enable-tee=yes --enable-xlib-xcb "

sanity_check_paths = {
'files': ['bin/cairo-trace', 'lib/cairo/libcairo-trace.%s' % SHLIB_EXT, 'lib/cairo/libcairo-trace.a',
'lib/libcairo.a', 'lib/libcairo-gobject.a', 'lib/libcairo-script-interpreter.a',
'lib/libcairo.%s' % SHLIB_EXT, 'lib/libcairo-gobject.%s' % SHLIB_EXT,
'lib/libcairo-script-interpreter.%s' % SHLIB_EXT] +
['include/cairo/cairo%s.h' % x for x in ['', '-deprecated', '-features', '-ft', '-gobject', '-pdf', '-ps',
'-script', '-script-interpreter', '-svg', '-version', '-xcb',
'-xlib', '-xlib-xrender']],
'dirs': ['lib/pkgconfig'],
}

moduleclass = 'vis'
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ exts_list = [
'checksums': ['76f8fef59cf2061dbd849bbce4fe49bdd820884385004b0ca59136ac3db129e4'],
}),
(name, version, {
'checksums': ['3a2cdd4dc2d8b4832fa132a0bd1102f86c38f6865d7f119018404069d35984b2'],
'source_urls': ['https://github.com/hpcaitech/ColossalAI/archive/refs/tags/'],
'sources': [{'download_filename': 'v%(version)s.tar.gz', 'filename': '%(name)s-%(version)s.tar.gz'}],
'checksums': ['e0975cd9a0860a2d00d1f725baaee3652e2f601724968628d8750021ef483320'],
}),
]

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
easyblock = 'CMakeMake'

name = 'double-conversion'
version = '3.2.1'

homepage = 'https://github.com/google/double-conversion'
description = "Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles."

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

source_urls = ['https://github.com/google/%(name)s/archive']
sources = ['v%(version)s.tar.gz']
checksums = ['e40d236343cad807e83d192265f139481c51fc83a1c49e406ac6ce0a0ba7cd35']

builddependencies = [
('binutils', '2.39'),
('CMake', '3.24.3'),
]

separate_build_dir = True

build_type = 'Release'

# Build static lib, static lib with -fPIC and shared lib
configopts = [
'',
'-DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_STATIC_LIBRARY_SUFFIX_CXX=_pic.a',
'-DBUILD_SHARED_LIBS=ON'
]

sanity_check_paths = {
'files': ['include/double-conversion/%s.h' % h for h in ['bignum', 'cached-powers', 'diy-fp', 'double-conversion',
'fast-dtoa', 'fixed-dtoa', 'ieee', 'strtod', 'utils']] +
['lib/libdouble-conversion.%s' % e for e in ['a', SHLIB_EXT]] + ['lib/libdouble-conversion_pic.a'],
'dirs': [],
}

moduleclass = 'lib'
52 changes: 52 additions & 0 deletions easybuild/easyconfigs/g/GLib/GLib-2.75.0-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
easyblock = 'MesonNinja'

name = 'GLib'
version = '2.75.0'

homepage = 'https://www.gtk.org/'
description = """GLib is one of the base libraries of the GTK+ project"""

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

source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['6dde8e55cc4a2c83d96797120b08bcffb5f645b2e212164ae22d63c40e0e6360']

builddependencies = [
# Python is required for building against GLib, at least when
# gdbus-codegen or one of the other python scripts are used.
# Since Meson 0.50 and later are Python >=3.5 only we can't build
# Python specific versions of GLib that uses Python 2.x
# thus Python should not be a runtime dependency for GLib.
# Packages that use GLib should either have an explicit
# (build)dependency on Python or it will use the system version
# EasyBuild itself uses.
('Python', '3.10.8'),
('Meson', '0.64.0'),
('Ninja', '1.11.1'),
('binutils', '2.39'),
('pkgconf', '1.9.3'),
]

dependencies = [
('libffi', '3.4.4'),
('gettext', '0.21.1'),
('libxml2', '2.10.3'),
('PCRE2', '10.40'),
('util-linux', '2.38.1'),
]

# avoid using hardcoded path to Python binary in build step
preconfigopts = "export PYTHON=python && "

configopts = "--buildtype=release --default-library=both "

fix_python_shebang_for = ['bin/*']

sanity_check_paths = {
'files': ['lib/libglib-%(version_major)s.0.a', 'lib/libglib-%%(version_major)s.0.%s' % SHLIB_EXT],
'dirs': ['bin', 'include'],
}

moduleclass = 'vis'
29 changes: 29 additions & 0 deletions easybuild/easyconfigs/g/gzip/gzip-1.12-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
easyblock = 'ConfigureMake'

name = 'gzip'
version = '1.12'

homepage = 'https://www.gnu.org/software/gzip/'
description = "gzip (GNU zip) is a popular data compression program as a replacement for compress"

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

source_urls = [GNU_SOURCE]
sources = [SOURCE_TAR_GZ]
patches = ['gzip-1.12_fix-gnulib-strndup-redeclaration.patch']
checksums = [
'5b4fb14d38314e09f2fc8a1c510e7cd540a3ea0e3eb9b0420046b82c3bf41085', # gzip-1.12.tar.gz
# gzip-1.12_fix-gnulib-strndup-redeclaration.patch
'9c67e3e88848f7ff1f19f29d87f286bac1cc8f027f7eea9bcaf53883b95032e4',
]

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

sanity_check_paths = {
'files': ["bin/gunzip", "bin/gzip", "bin/uncompress"],
'dirs': [],
}

sanity_check_commands = [True, ('gzip', '--version')]

moduleclass = 'tools'
27 changes: 27 additions & 0 deletions easybuild/easyconfigs/l/libGLU/libGLU-9.0.2-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
easyblock = 'ConfigureMake'

name = 'libGLU'
version = '9.0.2'

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

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

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

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

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

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

moduleclass = 'vis'
32 changes: 32 additions & 0 deletions easybuild/easyconfigs/l/libdrm/libdrm-2.4.114-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
easyblock = 'MesonNinja'

name = 'libdrm'
version = '2.4.114'

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

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

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

builddependencies = [
('binutils', '2.39'),
('pkgconf', '1.9.3'),
('Meson', '0.64.0'),
('Ninja', '1.11.1'),
]
dependencies = [('X11', '20221110')]

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

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.6.0-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
easyblock = 'MesonNinja'

name = 'libglvnd'
version = '1.6.0'

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

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

builddependencies = [
('binutils', '2.39'),
('pkgconf', '1.9.3'),
('Meson', '0.64.0'),
('Ninja', '1.11.1'),
]

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

# 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,42 @@
easyblock = 'CMakeMake'

name = 'libjpeg-turbo'
version = '2.1.4'

homepage = 'https://sourceforge.net/projects/libjpeg-turbo/'

description = """
libjpeg-turbo is a fork of the original IJG libjpeg which uses SIMD to
accelerate baseline JPEG compression and decompression. libjpeg is a library
that implements JPEG image encoding, decoding and transcoding.
"""

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

source_urls = [SOURCEFORGE_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['d3ed26a1131a13686dfca4935e520eb7c90ae76fbc45d98bb50a8dc86230342b']

builddependencies = [
('CMake', '3.24.3'),
('binutils', '2.39'),
]

dependencies = [
('NASM', '2.15.05'),
]

configopts = ' -G"Unix Makefiles" -DWITH_JPEG8=1'

runtest = "test"

sanity_check_paths = {
'files': ['bin/cjpeg', 'bin/djpeg', 'bin/jpegtran', 'bin/rdjpgcom',
'bin/tjbench', 'bin/wrjpgcom', 'lib/libjpeg.a',
'lib/libjpeg.%s' % SHLIB_EXT, 'lib/libturbojpeg.a',
'lib/libturbojpeg.%s' % SHLIB_EXT],
'dirs': ['include', 'share'],
}

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

name = 'libunwind'
version = '1.6.2'

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

source_urls = [GNU_SAVANNAH_SOURCE]
sources = [SOURCE_TAR_GZ]
checksums = ['4a6aec666991fb45d0889c44aede8ad6eb108071c3554fcdff671f9c94794976']

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

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

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

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

moduleclass = 'lib'
30 changes: 30 additions & 0 deletions easybuild/easyconfigs/l/lz4/lz4-1.9.4-GCCcore-12.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
easyblock = 'ConfigureMake'

name = 'lz4'
version = '1.9.4'

homepage = 'https://lz4.github.io/lz4/'
description = """LZ4 is lossless compression algorithm, providing compression speed at 400 MB/s per core.
It features an extremely fast decoder, with speed in multiple GB/s per core."""

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

github_account = '%(name)s'
source_urls = [GITHUB_SOURCE]
sources = ['v%(version)s.tar.gz']
checksums = ['0b0e3aa07c8c063ddf40b082bdf7e37a1562bda40a0ff5272957f3e987e0e54b']

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

skipsteps = ['configure']

installopts = "PREFIX=%(installdir)s"

runtest = 'check'

sanity_check_paths = {
'files': ["bin/lz4", "lib/liblz4.%s" % SHLIB_EXT, "include/lz4.h"],
'dirs': ["lib/pkgconfig"]
}

moduleclass = 'lib'
Loading

0 comments on commit 685d1e6

Please sign in to comment.