From 0a85f33110dff3d329661b11364dadc45eea8f38 Mon Sep 17 00:00:00 2001 From: Josef Date: Mon, 28 Jan 2019 08:16:24 +0100 Subject: [PATCH] modified: l/LAMMPS/LAMMPS-20181212-intel-2017c.eb new file: l/libsodium/libsodium-1.0.17.eb new file: o/OpenPGM/OpenPGM-5.2.122-intel-2017c.eb modified: s/Score-P/Score-P-3.1-intel-2017a.eb new file: u/util-linux/util-linux-2.33.1.eb new file: z/ZeroMQ/ZeroMQ-4.3.1-intel-2017c.eb deleted: z/ZeroMQ/ZeroMQ-4.2.0-foss-2016b.eb deleted: z/ZeroMQ/ZeroMQ-4.2.0-intel-2016b.eb --- l/LAMMPS/LAMMPS-20181212-intel-2017c.eb | 2 +- l/libsodium/libsodium-1.0.17.eb | 28 ++++++++++++ o/OpenPGM/OpenPGM-5.2.122-intel-2017c.eb | 30 +++++++++++++ s/Score-P/Score-P-3.1-intel-2017a.eb | 2 +- u/util-linux/util-linux-2.33.1.eb | 44 +++++++++++++++++++ z/ZeroMQ/ZeroMQ-4.2.0-intel-2016b.eb | 37 ---------------- ...s-2016b.eb => ZeroMQ-4.3.1-intel-2017c.eb} | 33 +++++++------- 7 files changed, 122 insertions(+), 54 deletions(-) create mode 100644 l/libsodium/libsodium-1.0.17.eb create mode 100644 o/OpenPGM/OpenPGM-5.2.122-intel-2017c.eb create mode 100644 u/util-linux/util-linux-2.33.1.eb delete mode 100644 z/ZeroMQ/ZeroMQ-4.2.0-intel-2016b.eb rename z/ZeroMQ/{ZeroMQ-4.2.0-foss-2016b.eb => ZeroMQ-4.3.1-intel-2017c.eb} (52%) diff --git a/l/LAMMPS/LAMMPS-20181212-intel-2017c.eb b/l/LAMMPS/LAMMPS-20181212-intel-2017c.eb index a601ebe1..ac6a2d63 100644 --- a/l/LAMMPS/LAMMPS-20181212-intel-2017c.eb +++ b/l/LAMMPS/LAMMPS-20181212-intel-2017c.eb @@ -17,7 +17,7 @@ meso, or continuum scale. toolchain = {'name': 'intel', 'version': '2017c'} source_urls = ['https://github.com/lammps/lammps/archive'] -sources = ['patch_22Jun2018.tar.gz'] +sources = ['stable_12Dec2018.tar.gz'] dependencies = [ ('tbb', '2017.6.196', '', True), diff --git a/l/libsodium/libsodium-1.0.17.eb b/l/libsodium/libsodium-1.0.17.eb new file mode 100644 index 00000000..f297269d --- /dev/null +++ b/l/libsodium/libsodium-1.0.17.eb @@ -0,0 +1,28 @@ +# IT4Inovations 2019 + +easyblock = 'ConfigureMake' + +name = 'libsodium' +version = '1.0.17' + +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': 'dummy', 'version': ''} + +source_urls = ['https://download.libsodium.org/libsodium/releases/'] +sources = [SOURCE_TAR_GZ] + +sanity_check_paths = { + 'files': [ + 'include/sodium.h', + 'lib/libsodium.%s' % + SHLIB_EXT, + 'lib/libsodium.a'], + 'dirs': [ + 'include/sodium', + 'lib/pkgconfig'], +} + +moduleclass = 'lib' diff --git a/o/OpenPGM/OpenPGM-5.2.122-intel-2017c.eb b/o/OpenPGM/OpenPGM-5.2.122-intel-2017c.eb new file mode 100644 index 00000000..8bd9fb4d --- /dev/null +++ b/o/OpenPGM/OpenPGM-5.2.122-intel-2017c.eb @@ -0,0 +1,30 @@ +# IT4Innovations 2019 + +easyblock = 'ConfigureMake' + +name = 'OpenPGM' +version = '5.2.122' + +homepage = 'http://code.google.com/p/openpgm/' +description = """OpenPGM is an open source implementation of the Pragmatic General Multicast (PGM) + specification in RFC 3208 available at www.ietf.org. PGM is a reliable and scalable multicast protocol + that enables receivers to detect loss, request retransmission of lost data, or notify an application + of unrecoverable loss. PGM is a receiver-reliable protocol, which means the receiver is responsible + for ensuring all data is received, absolving the sender of reception responsibility.""" + +toolchain = {'name': 'intel', 'version': '2017c'} +toolchainopts = {'pic': True} + +source_urls = ['https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/openpgm/'] +sources = ['libpgm-%(version)s.tar.gz'] + +configopts = '--with-pic' + +start_dir = 'pgm' + +sanity_check_paths = { + 'files': ['lib/libpgm.%s' % SHLIB_EXT, 'lib/libpgm.a'], + 'dirs': ['include'], +} + +moduleclass = 'system' diff --git a/s/Score-P/Score-P-3.1-intel-2017a.eb b/s/Score-P/Score-P-3.1-intel-2017a.eb index 836a1447..3a8c7e99 100644 --- a/s/Score-P/Score-P-3.1-intel-2017a.eb +++ b/s/Score-P/Score-P-3.1-intel-2017a.eb @@ -25,7 +25,7 @@ checksums = [ dependencies = [ # ('libunwind', '1.1'), - ('Cube', '4.3.5'), + ('Cube', '4.3.5', '', True), ('OPARI2', '2.0.2', '', True), ('OTF2', '2.1', '', True), ('PAPI', '5.4.3', '', True), diff --git a/u/util-linux/util-linux-2.33.1.eb b/u/util-linux/util-linux-2.33.1.eb new file mode 100644 index 00000000..03a20bc8 --- /dev/null +++ b/u/util-linux/util-linux-2.33.1.eb @@ -0,0 +1,44 @@ +# IT4Innovations 2019 + +easyblock = 'ConfigureMake' + +name = 'util-linux' +version = '2.33.1' + +homepage = 'http://www.kernel.org/pub/linux/utils/util-linux' + +description = "Set of Linux utilities" + +toolchain = {'name': 'dummy', 'version': ''} +toolchainopts = {'pic': True} + +source_urls = ['%s/v%%(version_major_minor)s' % homepage] +sources = [SOURCELOWER_TAR_GZ] + +# 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.27'), +] + +dependencies = [ + ('ncurses', '6.1'), + ('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' diff --git a/z/ZeroMQ/ZeroMQ-4.2.0-intel-2016b.eb b/z/ZeroMQ/ZeroMQ-4.2.0-intel-2016b.eb deleted file mode 100644 index f6bbed7a..00000000 --- a/z/ZeroMQ/ZeroMQ-4.2.0-intel-2016b.eb +++ /dev/null @@ -1,37 +0,0 @@ -easyblock = 'ConfigureMake' - -name = 'ZeroMQ' -version = '4.2.0' - -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': 'intel', 'version': '2016b'} - -source_urls = [ - 'https://github.com/zeromq/libzmq/releases/download/v%(version)s/'] -sources = [SOURCELOWER_TAR_GZ] -checksums = ['1fb2595d2a905a9e820c976a1d8348bc'] - -# --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.29'), - ('libsodium', '1.0.11'), -] - -sanity_check_paths = { - 'files': ['lib/libzmq.so', 'lib/libzmq.a'], - 'dirs': ['include', 'lib'], -} - -moduleclass = 'devel' diff --git a/z/ZeroMQ/ZeroMQ-4.2.0-foss-2016b.eb b/z/ZeroMQ/ZeroMQ-4.3.1-intel-2017c.eb similarity index 52% rename from z/ZeroMQ/ZeroMQ-4.2.0-foss-2016b.eb rename to z/ZeroMQ/ZeroMQ-4.3.1-intel-2017c.eb index 73a8c340..9c710772 100644 --- a/z/ZeroMQ/ZeroMQ-4.2.0-foss-2016b.eb +++ b/z/ZeroMQ/ZeroMQ-4.3.1-intel-2017c.eb @@ -1,7 +1,9 @@ -easyblock = 'ConfigureMake' +# IT4Innovations 2019 + +easyblock = 'CMakeMake' name = 'ZeroMQ' -version = '4.2.0' +version = '4.3.1' homepage = 'http://www.zeromq.org/' description = """ZeroMQ looks like an embeddable networking library but acts like a concurrency framework. @@ -11,27 +13,28 @@ description = """ZeroMQ looks like an embeddable networking library but acts lik 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': '2016b'} +toolchain = {'name': 'intel', 'version': '2017c'} +toolchainopts = {'pic': True} -source_urls = [ - 'https://github.com/zeromq/libzmq/releases/download/v%(version)s/'] -sources = [SOURCELOWER_TAR_GZ] -checksums = ['1fb2595d2a905a9e820c976a1d8348bc'] +source_urls = ['https://github.com/zeromq/libzmq/archive/'] +sources = ['v%(version)s.tar.gz'] +checksums = ['7e32132123473bb38ee76e07c0f30e4f'] -# --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" ' +builddependencies = [ + ('CMake', '3.13.1', '', True) +] dependencies = [ ('OpenPGM', '5.2.122'), - ('util-linux', '2.29'), - ('libsodium', '1.0.11'), + ('util-linux', '2.33.1', '', True), + ('libsodium', '1.0.17', '', True), ] +separate_build_dir = True + sanity_check_paths = { - 'files': ['lib/libzmq.so', 'lib/libzmq.a'], - 'dirs': ['include', 'lib'], + 'files': [('lib/libzmq.a', 'lib64/libzmq.a'), ('lib/libzmq.%s' % SHLIB_EXT, 'lib64/libzmq.%s' % SHLIB_EXT)], + 'dirs': ['include', 'lib/pkgconfig'], } moduleclass = 'devel'