mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00

new file: p/protobuf-python/protobuf-python-3.9.0-GCC-6.3.0-2.27-Python-3.7.3.eb new file: p/protobuf/protobuf-3.9.0-GCC-6.3.0-2.27.eb modified: v/VTune/VTune-2019_update4.eb
41 lines
874 B
Plaintext
41 lines
874 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 = [
|
|
('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'
|