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
6 changes: 5 additions & 1 deletion easybuild/easyconfigs/b/Bazel/Bazel-6.3.1-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ toolchain = {'name': 'GCCcore', 'version': '12.3.0'}

source_urls = ['https://github.com/bazelbuild/%(namelower)s/releases/download/%(version)s']
sources = ['%(namelower)s-%(version)s-dist.zip']
checksums = ['2676319e86c5aeab142dccd42434364a33aa330a091c13562b7de87a10e68775']
patches = ['Bazel-6.3.1_add-symlinks-in-runfiles.patch']
checksums = [
{'bazel-6.3.1-dist.zip': '2676319e86c5aeab142dccd42434364a33aa330a091c13562b7de87a10e68775'},
{'Bazel-6.3.1_add-symlinks-in-runfiles.patch': '81db53aa87229557480b6f719c99a0f1af9c69dfec12185451e520b0128c3ae2'},
]

builddependencies = [
('binutils', '2.40'),
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Bazel doesn't always copy all files as required leading e.g. to failures in TF sanity check: https://github.com/tensorflow/tensorflow/issues/60326

From https://github.com/bazelbuild/bazel/pull/19378

Author: Alexander Grund (TU Dresden)

diff --git a/src/main/starlark/builtins_bzl/common/cc/experimental_cc_shared_library.bzl b/src/main/starlark/builtins_bzl/common/cc/experimental_cc_shared_library.bzl
index b9f3b5b7ac..3af1e61c63 100644
--- a/src/main/starlark/builtins_bzl/common/cc/experimental_cc_shared_library.bzl
+++ b/src/main/starlark/builtins_bzl/common/cc/experimental_cc_shared_library.bzl
@@ -728,7 +728,10 @@ def _cc_shared_library_impl(ctx):
# precompiled_dynamic_library.dynamic_library could be None if the library to link just contains
# an interface library which is valid if the actual library is obtained from the system.
if precompiled_dynamic_library.dynamic_library != None:
- precompiled_only_dynamic_libraries_runfiles.append(precompiled_dynamic_library.dynamic_library)
+ if precompiled_dynamic_library.resolved_symlink_dynamic_library != None:
+ precompiled_only_dynamic_libraries_runfiles.append(precompiled_dynamic_library.resolved_symlink_dynamic_library)
+ else:
+ precompiled_only_dynamic_libraries_runfiles.append(precompiled_dynamic_library.dynamic_library)

runfiles = runfiles.merge(ctx.runfiles(files = precompiled_only_dynamic_libraries_runfiles))

Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
easyblock = 'PythonPackage'

name = 'flatbuffers-python'
version = '23.5.26'

homepage = 'https://github.com/google/flatbuffers/'
description = """Python Flatbuffers runtime library."""

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

source_urls = ['https://pypi.python.org/packages/source/f/flatbuffers']
sources = [{'download_filename': 'flatbuffers-%(version)s.tar.gz', 'filename': SOURCE_TAR_GZ}]
checksums = ['9ea1144cac05ce5d86e2859f431c6cd5e66cd9c78c558317c7955fb8d4c78d89']

dependencies = [
('binutils', '2.40'),
('Python', '3.11.3'),
]

download_dep_fail = True
use_pip = True
sanity_pip_check = True

preinstallopts = 'VERSION=%(version)s '
options = {'modulename': 'flatbuffers'}

moduleclass = 'devel'
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
##
# Author: Robert Mijakovic <[email protected]>
##
easyblock = 'CMakeNinja'

name = 'flatbuffers'
version = '23.5.26'

homepage = 'https://github.com/google/flatbuffers/'
description = """FlatBuffers: Memory Efficient Serialization Library"""

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

source_urls = ['https://github.com/google/flatbuffers/archive/v%(version)s/']
sources = [SOURCE_TAR_GZ]
checksums = ['1cce06b17cddd896b6d73cc047e36a254fb8df4d7ea18a46acf16c4c0cd3f3f3']

builddependencies = [
('binutils', '2.40'),
('CMake', '3.26.3'),
('Ninja', '1.11.1'),
('Python', '3.11.3'),
]

configopts = '-DFLATBUFFERS_ENABLE_PCH=ON '

sanity_check_paths = {
'files': ['include/flatbuffers/flatbuffers.h', 'bin/flatc', 'lib/libflatbuffers.a'],
'dirs': ['lib/cmake'],
}

moduleclass = 'devel'
35 changes: 35 additions & 0 deletions easybuild/easyconfigs/h/h5py/h5py-3.9.0-foss-2023a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
easyblock = 'PythonPackage'

name = 'h5py'
version = '3.9.0'

homepage = 'https://www.h5py.org/'
description = """HDF5 for Python (h5py) is a general-purpose Python interface to the Hierarchical Data Format library,
version 5. HDF5 is a versatile, mature scientific software library designed for the fast, flexible storage of enormous
amounts of data."""

toolchain = {'name': 'foss', 'version': '2023a'}
toolchainopts = {'usempi': True}

sources = [SOURCE_TAR_GZ]
checksums = ['e604db6521c1e367c6bd7fad239c847f53cc46646f2d2651372d05ae5e95f817']

builddependencies = [('pkgconfig', '1.5.5', '-python')]

dependencies = [
('Python', '3.11.3'),
('SciPy-bundle', '2023.07'),
('mpi4py', '3.1.4'),
('HDF5', '1.14.0'),
]

use_pip = True
sanity_pip_check = True
download_dep_fail = True

# h5py's setup.py will disable setup_requires if H5PY_SETUP_REQUIRES is set to 0
# without this environment variable, pip will fetch the minimum numpy version h5py supports during install,
# even though SciPy-bundle provides a newer version that satisfies h5py's install_requires dependency.
preinstallopts = 'HDF5_MPI=ON HDF5_DIR="$EBROOTHDF5" H5PY_SETUP_REQUIRES=0 '

moduleclass = 'data'
29 changes: 29 additions & 0 deletions easybuild/easyconfigs/j/JsonCpp/JsonCpp-1.9.5-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
easyblock = "CMakeNinja"

name = 'JsonCpp'
version = '1.9.5'

homepage = 'https://open-source-parsers.github.io/jsoncpp-docs/doxygen/index.html'
description = """ JsonCpp is a C++ library that allows manipulating JSON values,
including serialization and deserialization to and from strings. It can also preserve existing comment in
unserialization/serialization steps, making it a convenient format to store user input files. """

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

source_urls = ['https://github.com/open-source-parsers/jsoncpp/archive']
sources = ['%(version)s.tar.gz']
checksums = ['f409856e5920c18d0c2fb85276e24ee607d2a09b5e7d5f0a371368903c275da2']

builddependencies = [
('CMake', '3.26.3'),
('Ninja', '1.11.1'),
('pkgconf', '1.9.5'),
('binutils', '2.40'),
]

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

moduleclass = 'lib'
25 changes: 25 additions & 0 deletions easybuild/easyconfigs/m/mpi4py/mpi4py-3.1.4-gompi-2023a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
easyblock = 'PythonBundle'

name = 'mpi4py'
version = '3.1.4'

homepage = 'https://github.com/mpi4py/mpi4py'
description = """MPI for Python (mpi4py) provides bindings of the Message Passing Interface (MPI) standard for
the Python programming language, allowing any Python program to exploit multiple processors."""

toolchain = {'name': 'gompi', 'version': '2023a'}

dependencies = [
('Python', '3.11.3'),
]

use_pip = True
sanity_pip_check = True

exts_list = [
(name, version, {
'checksums': ['17858f2ebc623220d0120d1fa8d428d033dde749c4bc35b33d81a66ad7f93480'],
}),
]

moduleclass = 'lib'
26 changes: 26 additions & 0 deletions easybuild/easyconfigs/n/nsync/nsync-1.26.0-GCCcore-12.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
easyblock = 'CMakeNinja'

name = 'nsync'
version = '1.26.0'

homepage = 'https://github.com/google/nsync'
description = """nsync is a C library that exports various synchronization primitives, such as mutexes"""

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

source_urls = ['https://github.com/google/nsync/archive/v%(version)s/']
sources = [SOURCE_TAR_GZ]
checksums = ['80fc1e605bb3cf5f272811ece39c4fb6761ffcb9b30563301845cc9ff381eb8b']

builddependencies = [
('binutils', '2.40'),
('CMake', '3.26.3'),
('Ninja', '1.11.1'),
]

sanity_check_paths = {
'files': ['include/nsync.h', 'lib/libnsync.a', 'lib/libnsync_cpp.a'],
'dirs': [],
}

moduleclass = 'devel'
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
easyblock = 'PythonPackage'

name = 'pkgconfig'
version = '1.5.5'
# The -python versionsuffix is used to avoid confusion between
# pkg-config (the tool) and pkgconfig (the Python wrappers)
versionsuffix = '-python'

homepage = 'https://github.com/matze/pkgconfig'
description = """pkgconfig is a Python module to interface with the pkg-config command line tool"""

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

sources = [SOURCE_TAR_GZ]
checksums = ['deb4163ef11f75b520d822d9505c1f462761b4309b1bb713d08689759ea8b899']

builddependencies = [
('binutils', '2.40'),
('poetry', '1.5.1'),
]

dependencies = [
('Python', '3.11.3'),
('pkgconf', '1.9.5'),
]

use_pip = True
download_dep_fail = True
sanity_pip_check = True

moduleclass = 'devel'
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
easyblock = 'PythonPackage'

name = 'protobuf-python'
version = '4.24.0'

homepage = 'https://github.com/google/protobuf/'
description = """Python Protocol Buffers runtime library."""

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

source_urls = ['https://pypi.python.org/packages/source/p/protobuf']
sources = ['protobuf-%(version)s.tar.gz']
checksums = ['5d0ceb9de6e08311832169e601d1fc71bd8e8c779f3ee38a97a78554945ecb85']

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

dependencies = [
('Python', '3.11.3'),
('protobuf', '24.0')
]

download_dep_fail = True
use_pip = True
sanity_pip_check = True

# Make sure protobuf is installed as a regular folder or it will not be found if
# other google packages are installed in other site-packages folders
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages/google/protobuf'],
}

options = {'modulename': 'google.protobuf'}

moduleclass = 'devel'
Loading