easyconfigs-it4i/p/protobuf/protobuf-3.9.0-GCC-6.3.0-2.27.eb
2019-11-06 13:27:39 +01:00

41 lines
880 B
Plaintext

# IT4Innovations 2019
easyblock = 'CMakeMake'
name = 'protobuf'
version = '3.9.0'
homepage = 'https://code.google.com/p/protobuf/'
description = """Google Protocol Buffers"""
toolchain = {'name': 'GCCcore', 'version': '6.3.0'}
sources = ['%(name)s-python-%(version)s.tar.gz']
source_urls = ['https://github.com/google/protobuf/releases/download/v%(version)s/']
# after instalation: python3 setup.py install --cpp_implementation
builddependencies = [
('local_binutils', '2.27'),
('CMake', '3.14.1', '', True),
]
srcdir = 'cmake'
configopts = '-Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_BUILD_SHARED_LIBS=ON '
postinstallcmds = [
'cp %(builddir)s/%(name)s-%(version)s/ %(installdir)s/build -R',
]
sanity_check_paths = {
'files': ['bin/protoc'],
'dirs': [],
}
modextravars = {
'PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION': 'cpp',
}
moduleclass = 'devel'