Skip to content

Commit

Permalink
Merge pull request easybuilders#21417 from ankekreuzer/core-packages-…
Browse files Browse the repository at this point in the history
…JSC-part8

{lib, data, numlib, tools, math}[GCCcore/13.3.0, foss/2024a, gfbf/2024a] libmad-0.15.1b, SoX-14.4.2,  SuiteSparse-7.8.2, Szip-2.1.1, sympy-1.13.2, trimesh-4.4.9, Voro++-0.4.6, Xerces-C++-3.2.5, zsh-5.9
  • Loading branch information
SebastianAchilles authored Oct 24, 2024
2 parents 27cd6a3 + 23dd6d3 commit 166b3f9
Show file tree
Hide file tree
Showing 7 changed files with 244 additions and 0 deletions.
27 changes: 27 additions & 0 deletions easybuild/easyconfigs/l/libmad/libmad-0.15.1b-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
easyblock = 'ConfigureMake'

name = 'libmad'
version = '0.15.1b'

homepage = 'https://www.underbit.com/products/mad/'
description = """MAD is a high-quality MPEG audio decoder."""

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

source_urls = ['https://sourceforge.net/projects/mad/files/%(name)s/%(version)s/']
sources = [SOURCELOWER_TAR_GZ]
patches = ['libmad-0.15.1b-remove-depreciated-gcc-option.patch']
checksums = [
'bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690', # libmad-0.15.1b.tar.gz
# libmad-0.15.1b-remove-depreciated-gcc-option.patch
'8f96a23a22ba66e62f32e20064d01f4c7f6a18ba0aab85d3be9ce63794b2c678',
]

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

sanity_check_paths = {
'files': ['include/mad.h', 'lib/libmad.a', 'lib/libmad.la', 'lib/libmad.%s' % SHLIB_EXT],
'dirs': ['include', 'lib', 'lib64']
}

moduleclass = 'lib'
34 changes: 34 additions & 0 deletions easybuild/easyconfigs/s/SoX/SoX-14.4.2-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
easyblock = 'ConfigureMake'

name = 'SoX'
version = '14.4.2'

homepage = 'http://sox.sourceforge.net/'
docurls = 'http://sox.sourceforge.net/Docs/Documentation'
description = """Sound eXchange, the Swiss Army knife of audio manipulation"""

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

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

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

dependencies = [
('FLAC', '1.4.3'),
('LAME', '3.100'),
('libmad', '0.15.1b'),
('libvorbis', '1.3.7'),
('FFmpeg', '7.0.2'),
]

sanity_check_paths = {
'files': ['bin/play', 'bin/rec', 'bin/sox', 'bin/soxi', 'include/sox.h',
'lib/libsox.la', 'lib/libsox.a', 'lib/pkgconfig/sox.pc', 'lib/libsox.%s' % SHLIB_EXT],
'dirs': ['bin', 'include', 'lib', 'lib/pkgconfig', 'share/man'],
}

sanity_check_commands = ['sox --help']

moduleclass = 'data'
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name = 'SuiteSparse'
version = '7.8.2'
local_metis_ver = '5.1.0'
versionsuffix = '-METIS-%s' % local_metis_ver

homepage = 'https://faculty.cse.tamu.edu/davis/suitesparse.html'
description = """SuiteSparse is a collection of libraries to manipulate sparse matrices."""

toolchain = {'name': 'foss', 'version': '2024a'}
toolchainopts = {'unroll': True, 'pic': True}

source_urls = ['https://github.com/DrTimothyAldenDavis/SuiteSparse/archive']
sources = ['v%(version)s.tar.gz']
checksums = ['996c48c87baaeb5fc04bd85c7e66d3651a56fe749c531c60926d75b4db5d2181']

builddependencies = [
('CMake', '3.29.3'),
('M4', '1.4.19'),
]

dependencies = [
('METIS', local_metis_ver),
('MPFR', '4.2.1'),
]

# make sure that bin/demo can find libsuitesparseconfig.so.5 during build
prebuildopts = "export LD_LIBRARY_PATH=%(builddir)s/SuiteSparse-%(version)s/lib:$LD_LIBRARY_PATH && "

moduleclass = 'numlib'
33 changes: 33 additions & 0 deletions easybuild/easyconfigs/t/trimesh/trimesh-4.4.9-gfbf-2024a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
easyblock = 'PythonPackage'

name = 'trimesh'
version = '4.4.9'

homepage = 'https://trimsh.org/'
description = """Trimesh is a Python (2.7- 3.3+) library for loading and using triangular meshes with an emphasis on
watertight meshes. The goal of the library is to provide a fully featured Trimesh object which allows for easy
manipulation and analysis, in the style of the excellent Polygon object in the Shapely library."""


toolchain = {'name': 'gfbf', 'version': '2024a'}

sources = [SOURCE_TAR_GZ]
checksums = ['e9f54cb4ef70f9db49446cad3845b7a8043fc7d62d9192b241741f3fb0d813ac']

use_pip = True
download_dep_fail = True
sanity_pip_check = True


dependencies = [
('Python', '3.12.3'),
('SciPy-bundle', '2024.05'), # numpy required
]

sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}


moduleclass = 'lib'
43 changes: 43 additions & 0 deletions easybuild/easyconfigs/v/Voro++/Voro++-0.4.6-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
##
# Author: Robert Mijakovic <robert.mijakovic@lxp.lu>
##
easyblock = 'ConfigureMake'

name = 'Voro++'
version = '0.4.6'

homepage = 'http://math.lbl.gov/voro++/'
description = """Voro++ is a software library for carrying out three-dimensional computations of the Voronoi
tessellation. A distinguishing feature of the Voro++ library is that it carries out cell-based calculations,
computing the Voronoi cell for each particle individually. It is particularly well-suited for applications that
rely on cell-based statistics, where features of Voronoi cells (eg. volume, centroid, number of faces) can be used
to analyze a system of particles."""

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

source_urls = [
'http://math.lbl.gov/voro++/download/dir/',
'https://download.lammps.org/thirdparty',
]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['ef7970071ee2ce3800daa8723649ca069dc4c71cc25f0f7d22552387f3ea437e']

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


# No configure
skipsteps = ['configure']

# Override CXX and CFLAGS variables from Makefile
buildopts = 'CXX="$CXX" CFLAGS="$CXXFLAGS"'

# Override PREFIX variable from Makefile
installopts = "PREFIX=%(installdir)s"

sanity_check_paths = {
'files': ['bin/voro++', 'lib/libvoro++.a', 'include/voro++/voro++.hh'],
'dirs': [],
}

moduleclass = 'math'
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
easyblock = 'CMakeMake'

name = 'Xerces-C++'
version = '3.2.5'

homepage = 'https://xerces.apache.org/xerces-c/'

description = """Xerces-C++ is a validating XML parser written in a portable
subset of C++. Xerces-C++ makes it easy to give your application the ability to
read and write XML data. A shared library is provided for parsing, generating,
manipulating, and validating XML documents using the DOM, SAX, and SAX2
APIs."""

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

source_urls = ['https://archive.apache.org/dist/xerces/c/%(version_major)s/sources/']
sources = ['xerces-c-%(version)s.tar.gz']
checksums = ['545cfcce6c4e755207bd1f27e319241e50e37c0c27250f11cda116018f1ef0f5']

builddependencies = [
('pkgconf', '2.2.0'),
('binutils', '2.42'),
('CMake', '3.29.3'),
]

dependencies = [
('cURL', '8.7.1'),
]

runtest = 'test'

sanity_check_paths = {
'files': ['bin/XInclude',
'include/xercesc/xinclude/XIncludeUtils.hpp',
'lib/libxerces-c-3.2.%s' % SHLIB_EXT],
'dirs': ['bin', 'include', 'lib']
}

moduleclass = 'lib'
39 changes: 39 additions & 0 deletions easybuild/easyconfigs/z/zsh/zsh-5.9-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
easyblock = 'ConfigureMake'

name = 'zsh'

version = '5.9'

homepage = 'http://www.zsh.org/'
description = """
Zsh is a shell designed for interactive use, although it is also a powerful scripting language.
"""

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

source_urls = ['http://prdownloads.sourceforge.net/%(namelower)s']
sources = [SOURCELOWER_TAR_XZ]
checksums = ['9b8d1ecedd5b5e81fbf1918e876752a7dd948e05c1a0dba10ab863842d45acd5']

configopts = '--without-tcsetpgrp'

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

dependencies = [
('ncurses', '6.5'),
]

modextrapaths = {
'FPATH': 'share/zsh/%(version)s/functions'
}

sanity_check_paths = {
'files': ['bin/zsh'],
'dirs': ['lib/zsh/%(version)s', 'share'],
}

sanity_check_commands = ['zsh --version']

moduleclass = 'tools'

0 comments on commit 166b3f9

Please sign in to comment.