easyconfigs-it4i/f/flatbuffers/flatbuffers-2.0.7-GCCcore-11.3.0.eb
easybuild 3178cb7962 new file: f/flatbuffers/flatbuffers-2.0.7-GCCcore-11.3.0.eb
new file:   o/OpenMPI/OpenMPI-4.1.4-GCC-12.2.0.eb
	modified:   q/QuantumESPRESSO/QuantumESPRESSO-7.1-NVHPC-21.9.eb
	new file:   t/Tensorflow/TensorFlow-2.10.1-foss-2022a-CUDA-11.7.0.eb
	new file:   t/Tensorflow/TensorFlow-2.8.4_exclude-xnnpack-on-ppc.patch
	new file:   t/Tensorflow/TensorFlow-2.8.4_resolve-gcc-symlinks.patch
	new file:   t/Tensorflow/TensorFlow-2.9.1_remove-duplicate-gpu-tests.patch
	new file:   t/Tensorflow/TensorFlow-2.9.1_remove-libclang-and-io-gcs-deps.patch
	new file:   u/UCX/UCX-1.13.1-GCCcore-12.2.0.eb
	new file:   x/XALT/XALT-2.10.45-GPU-eb.eb
	modified:   x/XALT/XALT-2.10.45-eb.eb
2023-01-25 17:48:29 +01:00

65 lines
1.6 KiB
Plaintext

# IT4Innovations 2023
# JK
# --from-pr 17168
##
# Author: Robert Mijakovic <robert.mijakovic@lxp.lu>
##
easyblock = 'CMakeNinja'
name = 'flatbuffers'
version = '2.0.7'
homepage = 'https://github.com/google/flatbuffers/'
description = """FlatBuffers: Memory Efficient Serialization Library
Includes the Flatbuffers compiler, C/C++ bindings and Python runtime library.
"""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
toolchainopts = {'pic': True}
source_urls = ['https://github.com/google/flatbuffers/archive/v%(version)s/']
sources = [SOURCE_TAR_GZ]
checksums = ['4c7986174dc3941220bf14feaacaad409c3e1526d9ad7f490366fede9a6f43fa']
builddependencies = [
('binutils', '2.38'),
('CMake', '3.23.1'),
('Ninja', '1.10.2'),
]
dependencies = [
('Python', '3.10.4'),
]
# Install into the same dir as the Python extension which is /lib
configopts = '-DFLATBUFFERS_ENABLE_PCH=ON -DCMAKE_INSTALL_LIBDIR=lib'
exts_defaultclass = 'PythonPackage'
exts_default_options = {
'source_urls': [PYPI_SOURCE],
'download_dep_fail': True,
'use_pip': True,
'sanity_pip_check': True,
}
exts_list = [
('flatbuffers', version, {
'sources': {
'download_filename': SOURCE_TAR_GZ,
'filename': '%(name)s-python-%(version)s.tar.gz',
},
'checksums': ['0ae7d69c5b82bf41962ca5fde9cc43033bc9501311d975fd5a25e8a7d29c1245'],
}),
]
sanity_check_paths = {
'files': ['include/flatbuffers/flatbuffers.h', 'bin/flatc', 'lib/libflatbuffers.a'],
'dirs': ['lib/cmake', 'lib/python%(pyshortver)s/site-packages'],
}
modextrapaths = {'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages'}
moduleclass = 'devel'