Skip to content

Commit 59ff40a

Browse files
authored
Merge pull request #22476 from ThomasHoffmann77/20250306122457_new_pr_tensorstore0172
{lib}[GCCcore/13.3.0,gfbf/2024a] tensorstore v0.1.72, BLAKE3-C v1.6.1, c-ares v1.34.4, Blosc v1.21.6, libavif v1.2.0, libyuv v20250227, tinyxml2 v10.0.0
2 parents 3dcb55b + 4dcf109 commit 59ff40a

7 files changed

Lines changed: 589 additions & 0 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Thomas Hoffmann, EMBL Heidelberg, [email protected], 2025/03
2+
easyblock = 'CMakeMake'
3+
4+
name = 'BLAKE3-C'
5+
version = '1.6.1'
6+
7+
homepage = 'https://github.com/BLAKE3-team/BLAKE3'
8+
description = """BLAKE3 is a cryptographic hash function that is:
9+
Much faster than MD5, SHA-1, SHA-2, SHA-3, and BLAKE2.
10+
Secure, unlike MD5 and SHA-1. And secure against length extension, unlike SHA-2.
11+
Highly parallelizable across any number of threads and SIMD lanes, because it's
12+
a Merkle tree on the inside.
13+
Capable of verified streaming and incremental updates, again because it's a
14+
Merkle tree.
15+
A PRF, MAC, KDF, and XOF, as well as a regular hash."""
16+
17+
toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
18+
19+
source_urls = ['https://github.com/BLAKE3-team/BLAKE3/archive/refs/tags/']
20+
sources = ['%(version)s.tar.gz']
21+
checksums = ['1f2fbd93790694f1ad66eef26e23c42260a1916927184d78d8395ff1a512d285']
22+
23+
builddependencies = [
24+
('binutils', '2.42'),
25+
('CMake', '3.29.3'),
26+
]
27+
28+
postinstallcmds = ['cp *.%s %%(installdir)s/lib' % SHLIB_EXT]
29+
start_dir = 'c'
30+
31+
build_shared_libs = True
32+
33+
sanity_check_paths = {
34+
'files': ['lib/libblake3.%s' % SHLIB_EXT],
35+
'dirs': ['include', 'lib'],
36+
}
37+
38+
moduleclass = 'lib'
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
easyblock = 'ConfigureMake'
2+
3+
name = 'c-ares'
4+
version = '1.34.4'
5+
6+
homepage = 'https://c-ares.org/'
7+
description = "c-ares is a C library for asynchronous DNS requests (including name resolves)"
8+
9+
toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
10+
toolchainopts = {'pic': True}
11+
12+
github_account = 'c-ares'
13+
source_urls = [GITHUB_SOURCE]
14+
sources = ['v%(version)s.tar.gz']
15+
checksums = ['a35f7c4cdbdfaf0a69a9a50029e95ffe403daf605fade05c649d18333592222d']
16+
17+
builddependencies = [
18+
('binutils', '2.42'),
19+
('Autotools', '20231222'),
20+
]
21+
22+
preconfigopts = 'autoreconf -i -f &&'
23+
24+
sanity_check_paths = {
25+
'files': ['lib/libcares.a', 'lib/libcares.%s' % SHLIB_EXT, 'lib/pkgconfig/libcares.pc'],
26+
'dirs': ['include', 'share/man'],
27+
}
28+
29+
moduleclass = 'lib'
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
2+
# Author: Denis Kristak (Inuits)
3+
# Update: Thomas Hoffmann (EMBL), Denis Kristak (Inuits)
4+
easyblock = 'CMakeMake'
5+
6+
name = 'libavif'
7+
version = '1.2.0'
8+
9+
homepage = 'https://github.com/AOMediaCodec/libavif'
10+
description = """This library aims to be a friendly, portable C implementation of the AV1 Image File Format,
11+
as described here: https://aomediacodec.github.io/av1-avif/
12+
"""
13+
14+
toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
15+
16+
source_urls = ['https://github.com/AOMediaCodec/libavif/archive/']
17+
sources = ['v%(version)s.tar.gz']
18+
checksums = ['2182f4900d1a9617cee89746922a58dd825f2a3547f23907b8d78dc3685f7d8c']
19+
20+
builddependencies = [
21+
('binutils', '2.42'),
22+
('CMake', '3.29.3'),
23+
('NASM', '2.16.03'),
24+
('Meson', '1.4.0'),
25+
('Ninja', '1.12.1'),
26+
('Rust', '1.78.0'),
27+
('pkgconf', '2.2.0'),
28+
]
29+
30+
dependencies = [
31+
('libyuv', '20250227'),
32+
]
33+
34+
sanity_check_paths = {
35+
'files': ['lib/libavif.%s' % SHLIB_EXT, 'include/avif/avif.h'],
36+
'dirs': [],
37+
}
38+
39+
moduleclass = 'tools'
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
easyblock = 'CMakeMake'
2+
3+
name = 'libyuv'
4+
version = '20250227'
5+
local_commit = 'c060118bea3f28ceb837d3c85e479d3bb4c21726'
6+
7+
homepage = 'https://github.com/lemenkov/libyuv'
8+
description = """libyuv is an open source project that includes YUV scaling and conversion functionality."""
9+
10+
toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
11+
12+
source_urls = ['https://github.com/lemenkov/libyuv/archive/']
13+
sources = [{
14+
"download_filename": "%s.tar.gz" % local_commit,
15+
"filename": SOURCE_TAR_GZ,
16+
}]
17+
checksums = ['b509e836fde118b70f5f65b0c6835c724b37b63d4a5d52c2b49f76944645e948']
18+
19+
builddependencies = [
20+
('binutils', '2.42'),
21+
('CMake', '3.29.3'),
22+
]
23+
24+
sanity_check_paths = {
25+
'files': ['bin/yuvconvert', 'lib/%%(name)s.%s' % SHLIB_EXT, 'lib/%(name)s.a', 'include/%(name)s.h'],
26+
'dirs': [],
27+
}
28+
29+
moduleclass = 'tools'
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Thomas Hoffmann, EMBL Heidelberg, [email protected], 2024/12
2+
# use bazel binary from module, if loaded.
3+
diff -ru tensorstore-0.1.69/bazelisk.py tensorstore-0.1.69_disable_downloads/bazelisk.py
4+
--- tensorstore-0.1.69/bazelisk.py 2024-11-25 23:54:46.000000000 +0100
5+
+++ tensorstore-0.1.69_disable_downloads/bazelisk.py 2024-12-12 17:09:45.116084719 +0100
6+
@@ -487,8 +487,11 @@
7+
def main(argv=None):
8+
if argv is None:
9+
argv = sys.argv
10+
-
11+
- bazel_path = get_bazel_path()
12+
+ bazel_path = ''
13+
+ if (os.getenv('EBROOTBAZEL')):
14+
+ bazel_path=os.path.join(os.getenv('EBROOTBAZEL'), 'bin', 'bazel')
15+
+ else:
16+
+ bazel_path = get_bazel_path()
17+
18+
argv = argv[1:]
19+

0 commit comments

Comments
 (0)