new file: h/HyperLoom/HyperLoom-0.9.eb

new file:   l/libuv/libuv-1.20.3.eb
	new file:   l/loom/loom-0.9-Py-3.6.eb


Former-commit-id: 083e34a3b17e796a1c2236e8051442ae148970b9
This commit is contained in:
Lukáš Krupčík 2018-05-30 09:09:47 +02:00
parent 2998c34d59
commit 1dd4bba036
3 changed files with 109 additions and 0 deletions

View File

@ -0,0 +1,54 @@
## IT4Innovations
easyblock = 'CMakeMake'
name = 'HyperLoom'
version = '0.9'
homepage = 'https://code.it4i.cz/ADAS/loom'
description = "Framework for distributed task execution"
toolchain = {'name': 'dummy', 'version': ''}
toolchainopts = {'pic': True}
source_urls = ['https://code.it4i.cz/ADAS/loom/-/archive/v0.9/']
sources = ['loom-v0.9.tar.gz']
builddependencies = [
('CMake', '3.9.1'),
]
dependencies = [
('zlib', '1.2.11'),
('libuv', '1.20.3'),
('protobuf-python' , '3.2.0', '-GCC-7.1.0-2.28-Python-3.6.1'),
]
separate_build_dir = True
#configopts = " -DPROTOBUF_INCLUDE_DIR=$EBROOTPROTOBUF/include "
#configopts += " -DPROTOBUF_LIBRARY=$EBROOTPROTOBUF/lib/libprotobuf.so "
#configopts += " -DCMAKE_INSTALL_PREFIX=$EBROOTLIBUV "
#configopts += " -DPYTHON_LIBRARY=$EBROOTPYTHON/lib/libpython3.6m.so "
#configopts += " -DPYTHON_INCLUDE_DIR=$EBROOTPYTHON/include/python3.6m "
#configopts += " -DPROTOBUF_PROTOC_EXECUTABLE=$EBROOTPYTHON/bin/protoc "
configopts = " -DPROTOBUF_INCLUDE_DIR=/apps/all/protobuf/3.2.0-GCC-7.1.0-2.28-Python-3.6.1/include "
configopts += " -DPROTOBUF_LIBRARY=/apps/all/protobuf/3.2.0-GCC-7.1.0-2.28-Python-3.6.1/lib/libprotobuf.so "
configopts += " -DCMAKE_INSTALL_PREFIX=/apps/all/libuv/1.20.3 "
configopts += " -DPYTHON_LIBRARY=/apps/all/Python/3.6.1/lib/libpython3.6m.so "
configopts += " -DPYTHON_INCLUDE_DIR=/apps/all/Python/3.6.1/include/python3.6m "
configopts += " -DPROTOBUF_PROTOC_EXECUTABLE=/apps/all/protobuf/3.2.0-GCC-7.1.0-2.28-Python-3.6.1/bin/protoc"
postinstallcmds = [
'mkdir %(installdir)s/bin',
'cp %(builddir)s/easybuild_obj/src/server/loom-server %(installdir)s/bin/',
'cp %(builddir)s/easybuild_obj/src/worker/loom-worker %(installdir)s/bin/',
'cp %(builddir)s/loom-v0.9/python %(installdir)s/python -R',
]
sanity_check_paths = {
'files': ['bin/%s' % x for x in ['loom-server', 'loom-worker']],
'dirs': ['python'],
}
moduleclass = 'lib'

26
l/libuv/libuv-1.20.3.eb Normal file
View File

@ -0,0 +1,26 @@
# IT4Innovations 2018
easyblock = 'ConfigureMake'
name = 'libuv'
version = '1.20.3'
homepage = 'https://github.com/libuv'
description = "libuv is a multi-platform support library with a focus on asynchronous I/O. It was primarily developed for use by Node.js, but it's also used by Luvit, Julia, pyuv, and others."
toolchain = {'name': 'dummy', 'version': ''}
toolchainopts = {'pic': True}
source_urls = ['https://github.com/libuv/libuv/archive/']
sources = ['v1.20.3.tar.gz']
preconfigopts = "./autogen.sh && "
builddependencies = [('Autotools', '20150215')]
sanity_check_paths = {
'files': [],
'dirs': ['include', 'lib'],
}
moduleclass = 'lib'

29
l/loom/loom-0.9-Py-3.6.eb Normal file
View File

@ -0,0 +1,29 @@
# IT4Innovations 2018
easyblock = 'PythonPackage'
name = 'loom'
version = '0.9'
homepage = 'https://code.it4i.cz/ADAS/loom'
description = "Framework for distributed task execution"
toolchain = {'name': 'Py', 'version': '3.6'}
toolchainopts = {'pic': True}
source_urls = ['https://code.it4i.cz/ADAS/loom/-/archive/v0.9/']
sources = ['loom-v0.9.tar.gz']
dependencies = [
('HyperLoom', '0.9', '', True),
]
prebuildopts = 'cd python && '
preinstallopts = 'cd python && '
sanity_check_paths = {
'files': ['lib/python3.6/site-packages/loom-0.8-py3.6.egg'],
'dirs': ['lib'],
}
moduleclass = 'python'