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
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
easyblock = 'ConfigureMake'

name = 'libsodium'
version = '1.0.16'

homepage = 'http://doc.libsodium.org/'

description = """
Sodium is a modern, easy-to-use software library for encryption, decryption,
signatures, password hashing and more.
"""

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

source_urls = ['https://download.libsodium.org/libsodium/releases/']
sources = [SOURCE_TAR_GZ]
checksums = ['eeadc7e1e1bcef09680fb4837d448fbdf57224978f865ac1c16745868fbd0533']

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

sanity_check_paths = {
'files': ['include/sodium.h', 'lib/libsodium.so', 'lib/libsodium.a'],
'dirs': ['include/sodium', 'lib/pkgconfig'],
}

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

name = 'PyZMQ'
version = '17.0.0'
zmqversion = '4.2.5'
versionsuffix = '-Python-%%(pyver)s-zmq%s' % zmqversion.split('.')[0]

homepage = 'http://www.zeromq.org/bindings:python'
description = """Python bindings for ZeroMQ"""

toolchain = {'name': 'foss', 'version': '2018a'}

source_urls = [PYPI_LOWER_SOURCE]
sources = [SOURCELOWER_TAR_GZ]

checksums = ['0145ae59139b41f65e047a3a9ed11bbc36e37d5e96c64382fcdff911c4d8c3f0']

dependencies = [
('Python', '2.7.14'),
('ZeroMQ', zmqversion),
]

options = {'modulename': 'zmq'}

sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages/zmq'],
}

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

name = 'PyZMQ'
version = '17.0.0'
zmqversion = '4.2.5'
versionsuffix = '-Python-%%(pyver)s-zmq%s' % zmqversion.split('.')[0]

homepage = 'http://www.zeromq.org/bindings:python'
description = """Python bindings for ZeroMQ"""

toolchain = {'name': 'foss', 'version': '2018a'}

source_urls = [PYPI_LOWER_SOURCE]
sources = [SOURCELOWER_TAR_GZ]

checksums = ['0145ae59139b41f65e047a3a9ed11bbc36e37d5e96c64382fcdff911c4d8c3f0']

dependencies = [
('Python', '3.6.4'),
('ZeroMQ', zmqversion),
]

options = {'modulename': 'zmq'}

sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages/zmq'],
}

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

name = 'util-linux'
version = '2.32'

homepage = 'http://www.kernel.org/pub/linux/utils/util-linux'

description = "Set of Linux utilities"

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

source_urls = ['%s/v%%(version_major_minor)s' % homepage]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['ce43afee3182f1bddb0be83f68bd378770efb9b6fdd8f464333ff8e07903db56']

# disable account related utilities (they need OS dependent pam-devel files)
# disable wall and friends (requires group changing permissions for install user)
# install systemd service files in install dir
# install bash completion files in install dir
configopts = "--disable-chfn-chsh --disable-login --disable-su --disable-rfkill "
configopts += "--disable-wall --disable-use-tty-group "
configopts += "--disable-makeinstall-chown --disable-makeinstall-setuid "
configopts += "--with-systemdsystemunitdir='${prefix}/systemd' "
configopts += "--with-bashcompletiondir='${prefix}/share/bash-completion/completions' "
# disable building Python bindings (since we don't include Python as a dep)
configopts += "--without-python "

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

dependencies = [
('ncurses', '6.0'),
('zlib', '1.2.11'),
]

sanity_check_paths = {
'files': ['lib/lib%s.a' % x for x in ['blkid', 'mount', 'uuid']],
'dirs': ['include', 'bin', 'share', 'sbin'],
}

moduleclass = 'tools'
36 changes: 36 additions & 0 deletions easybuild/easyconfigs/z/ZeroMQ/ZeroMQ-4.2.5-foss-2018a.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
easyblock = 'ConfigureMake'

name = 'ZeroMQ'
version = '4.2.5'

homepage = 'http://www.zeromq.org/'
description = """ZeroMQ looks like an embeddable networking library but acts like a concurrency framework.
It gives you sockets that carry atomic messages across various transports like in-process,
inter-process, TCP, and multicast. You can connect sockets N-to-N with patterns like fanout,
pub-sub, task distribution, and request-reply. It's fast enough to be the fabric for clustered
products. Its asynchronous I/O model gives you scalable multicore applications, built as asynchronous
message-processing tasks. It has a score of language APIs and runs on most operating systems."""

toolchain = {'name': 'foss', 'version': '2018a'}

source_urls = ['https://github.com/zeromq/libzmq/releases/download/v%(version)s/']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['cc9090ba35713d59bb2f7d7965f877036c49c5558ea0c290b0dcc6f2a17e489f']

# --with-pgm will use shipped OpenPGM (in foreign subdir)
configopts = '--with-pic --with-system-pgm '
configopts += 'OpenPGM_CFLAGS="-I$EBROOTOPENPGM/include/pgm-${EBVERSIONOPENPGM%.*}" '
configopts += 'OpenPGM_LIBS="-L$EBROOTOPENPGM/lib -lpgm -lrt -lpthread -lm" '

dependencies = [
('OpenPGM', '5.2.122'),
('util-linux', '2.31.1'),
('libsodium', '1.0.16'),
]

sanity_check_paths = {
'files': ['lib/libzmq.%s' % SHLIB_EXT, 'lib/libzmq.a'],
'dirs': ['include', 'lib'],
}

moduleclass = 'devel'