Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 96 additions & 0 deletions easybuild/easyconfigs/a/Arrow/Arrow-17.0.0-gfbf-2024a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
easyblock = 'CMakeMake'

name = 'Arrow'
version = '17.0.0'

homepage = 'https://arrow.apache.org'
description = """Apache Arrow (incl. PyArrow Python bindings), a cross-language development platform
for in-memory data."""

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

source_urls = ['https://archive.apache.org/dist/%(namelower)s/%(namelower)s-%(version)s']
sources = ['apache-arrow-%(version)s.tar.gz']
checksums = ['9d280d8042e7cf526f8c28d170d93bfab65e50f94569f6a790982a878d8d898d']

builddependencies = [
('CMake', '3.29.3'),
('Cython', '3.0.10'),
('Autotools', '20231222'),
('flex', '2.6.4'),
('Bison', '3.8.2'),
('pkgconf', '2.2.0'),
]

# Arrow strongly prefers included jemalloc, so not including it as a dependency
dependencies = [
('Python', '3.12.3'),
('Python-bundle-PyPI', '2024.06'),
('SciPy-bundle', '2024.05'), # for numpy
('Boost', '1.85.0'),
('lz4', '1.9.4'),
('zlib', '1.3.1'),
('bzip2', '1.0.8'),
('zstd', '1.5.6'),
('snappy', '1.1.10'),
('RapidJSON', '1.1.0-20240815'),
('RE2', '2024-07-02'),
('utf8proc', '2.9.0'),
]

start_dir = 'cpp'

# see https://arrow.apache.org/docs/developers/python.html
configopts = "-DARROW_DATASET=on -DARROW_PYTHON=on -DARROW_PARQUET=ON -DARROW_ORC=ON "
configopts += "-DCMAKE_INSTALL_LIBDIR=lib -DPython3_ROOT_DIR=$EBROOTPYTHON "
configopts += "-DARROW_WITH_ZLIB=ON -DARROW_WITH_BZ2=ON -DARROW_WITH_LZ4=ON -DARROW_WITH_SNAPPY=ON "
configopts += "-DARROW_WITH_ZSTD=ON -DZSTD_ROOT=$EBROOTZSTD "

# install Python bindings
_pyarrow_preinstall_opts = "export PKG_CONFIG_PATH=%(installdir)s/lib/pkgconfig:$PKG_CONFIG_PATH && "
_pyarrow_preinstall_opts += "export Arrow_DIR=%(installdir)s && export ArrowDataset_DIR=%(installdir)s && "
_pyarrow_preinstall_opts += "export ArrowAcero_DIR=%(installdir)s && export Parquet_DIR=%(installdir)s && "
_pyarrow_preinstall_opts += "export XDG_CACHE_HOME=$TMPDIR && "
_pyarrow_preinstall_opts += "sed -i 's/numpy==[0-9.]*/numpy/g' pyproject.toml && "
_pyarrow_preinstall_opts += "Python3_ROOT_DIR=$EBROOTPYTHON "
_pyarrow_preinstall_opts += "PYARROW_CMAKE_OPTIONS='-DZSTD_LIB=$EBROOTZSTD/lib/libzstd.%s ' " % SHLIB_EXT
_pyarrow_preinstall_opts += "PYARROW_WITH_DATASET=1 PYARROW_WITH_PARQUET=1 PYARROW_WITH_ORC=1 "

exts_defaultclass = 'PythonPackage'
exts_default_options = {
'download_dep_fail': True,
'use_pip': True,
'sanity_pip_check': True,
}
exts_list = [
('pyarrow', version, {
'preinstallopts': (
"export PKG_CONFIG_PATH=%(installdir)s/lib/pkgconfig:$PKG_CONFIG_PATH"
" && export Arrow_DIR=%(installdir)s && export ArrowDataset_DIR=%(installdir)s"
" && export ArrowAcero_DIR=%(installdir)s && export Parquet_DIR=%(installdir)s"
" && export XDG_CACHE_HOME=$TMPDIR && sed -i 's/numpy==[0-9.]*/numpy/g' pyproject.toml"
" && Python3_ROOT_DIR=$EBROOTPYTHON PYARROW_CMAKE_OPTIONS='-DZSTD_LIB=$EBROOTZSTD/lib/libzstd.so"
" ' PYARROW_WITH_DATASET=1 PYARROW_WITH_PARQUET=1 PYARROW_WITH_ORC=1 "
),
'sources': ['apache-arrow-%(version)s.tar.gz'],
'start_dir': '%(builddir)s/apache-arrow-%(version)s/python',
'checksums': ['9d280d8042e7cf526f8c28d170d93bfab65e50f94569f6a790982a878d8d898d'],
}),
]

modextrapaths = {'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages'}

sanity_check_paths = {
'files': ['lib/libarrow.a', 'lib/libarrow.%s' % SHLIB_EXT,
'lib/python%%(pyshortver)s/site-packages/pyarrow/libarrow_python.%s' % SHLIB_EXT],
'dirs': ['include/arrow', 'lib/cmake/Arrow', 'lib/pkgconfig', 'lib/python%(pyshortver)s/site-packages'],
}

sanity_check_commands = [
"python -c 'import pyarrow'",
"python -c 'import pyarrow.dataset'",
"python -c 'import pyarrow.parquet'",
"python -c 'import pyarrow.orc'",
]

moduleclass = 'data'
40 changes: 40 additions & 0 deletions easybuild/easyconfigs/r/Redis/Redis-7.4.1-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
easyblock = 'ConfigureMake'

name = 'Redis'
version = '7.4.1'

homepage = 'https://redis.io'
description = """Redis is an open source (BSD licensed), in-memory data structure store, used as
a database, cache, and message broker. Redis provides data structures such as
strings, hashes, lists, sets, sorted sets with range queries, bitmaps,
hyperloglogs, geospatial indexes, and streams. Redis has built-in replication,
Lua scripting, LRU eviction, transactions, and different levels of on-disk
persistence, and provides high availability via Redis Sentinel and automatic
partitioning with Redis Cluster."""

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

source_urls = ['https://download.redis.io/releases']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['bc34b878eb89421bbfca6fa78752343bf37af312a09eb0fae47c9575977dfaa2']

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

skipsteps = ['configure']

# tests must be run from a local filesystem
# runtest = 'test'

installopts = 'PREFIX="%(installdir)s"'

sanity_check_paths = {
'files': ['bin/redis-cli', 'bin/redis-server'],
'dirs': [],
}

sanity_check_commands = [('redis-server', '--version')]

moduleclass = 'data'
37 changes: 37 additions & 0 deletions easybuild/easyconfigs/r/redis-py/redis-py-5.1.1-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
easyblock = 'PythonBundle'

name = 'redis-py'
version = '5.1.1'

homepage = 'https://github.com/redis/redis-py'
description = "The Python interface to the Redis key-value store."

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

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

dependencies = [
('Python', '3.12.3'),
('typing-extensions', '4.11.0'),
('Redis', '7.4.1'),
]

use_pip = True

exts_list = [
('async-timeout', '4.0.3', {
'checksums': ['4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f'],
}),
(name, version, {
'modulename': 'redis',
'source_urls': ['https://github.com/redis/redis-py/archive/refs/tags/'],
'sources': ['v%(version)s.tar.gz'],
'checksums': ['e1df6dd98eb2bdbc68dabb4b19a5167468ae36dbb53a1c777d5cf7ba8345450e'],
}),
]

sanity_pip_check = True

moduleclass = "data"