new file: e/expat/expat-2.2.9-GCCcore-9.3.0.eb

new file:   p/PCRE2/PCRE2-10.34-GCCcore-9.3.0.eb
	new file:   t/Tk/Tk-8.6.10-GCCcore-9.3.0.eb
	new file:   u/UDUNITS/UDUNITS-2.2.26-GCCcore-9.3.0.eb
	modified:   v/VASP/VASP-5.4.4-intel-2020a-mkl=sequential.eb
	new file:   x/XZ/XZ-5.2.5-GCCcore-9.3.0.eb
This commit is contained in:
Lukáš Krupčík 2020-05-28 10:51:53 +02:00
parent 699a70be5c
commit aec51f6dad
6 changed files with 186 additions and 3 deletions

View File

@ -0,0 +1,35 @@
# JH 2020
easyblock = 'ConfigureMake'
name = 'expat'
version = '2.2.9'
homepage = 'https://libexpat.github.io'
description = """
Expat is an XML parser library written in C. It is a stream-oriented parser
in which an application registers handlers for things the parser might find
in the XML document (like start tags)
"""
toolchain = {'name': 'GCCcore', 'version': '9.3.0'}
toolchainopts = {'pic': True}
source_urls = ['https://fossies.org/linux/www/']
sources = [SOURCELOWER_TAR_BZ2]
checksums = ['f1063084dc4302a427dabcca499c8312b3a32a29b7d2506653ecc8f950a9a237']
builddependencies = [('binutils', '2.34')]
# Since expat 2.2.6, docbook2X is needed to produce manpage of xmlwf.
# Docbook2X needs XML-Parser and XML-Parser needs expat.
# -> circular dependency. "--without-docbook" breaks this circle.
configopts = ['--without-docbook']
sanity_check_paths = {
'files': ['include/expat.h', 'lib/libexpat.a', 'lib/libexpat.%s' % SHLIB_EXT],
'dirs': []
}
moduleclass = 'tools'

View File

@ -0,0 +1,30 @@
# JH 2020
easyblock = 'ConfigureMake'
name = 'PCRE2'
version = '10.34'
homepage = 'https://www.pcre.org/'
description = """
The PCRE library is a set of functions that implement regular expression pattern matching using the same syntax
and semantics as Perl 5.
"""
toolchain = {'name': 'GCCcore', 'version': '9.3.0'}
toolchainopts = {'pic': True}
source_urls = ['https://ftp.pcre.org/pub/pcre/']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['da6aba7ba2509e918e41f4f744a59fa41a2425c59a298a232e7fe85691e00379']
builddependencies = [('binutils', '2.34')]
configopts = "--enable-shared --enable-jit --enable-pcre2-16 --enable-unicode"
sanity_check_paths = {
'files': ["bin/pcre2-config", "bin/pcre2grep", "bin/pcre2test", "lib/libpcre2-8.a", "lib/libpcre2-16.a"],
'dirs': [],
}
moduleclass = 'devel'

View File

@ -0,0 +1,42 @@
# JH 2020
easyblock = 'ConfigureMake'
name = 'Tk'
version = '8.6.10'
homepage = 'https://www.tcl.tk/'
description = """Tk is an open source, cross-platform widget toolchain that provides a library of basic elements for
building a graphical user interface (GUI) in many different programming languages."""
toolchain = {'name': 'GCCcore', 'version': '9.3.0'}
source_urls = ["https://ftp.osuosl.org/pub/blfs/conglomeration/tk/"]
sources = ['%(namelower)s%(version)s-src.tar.gz']
patches = ['Tk-8.6.4_different-prefix-with-tcl.patch']
checksums = [
'63df418a859d0a463347f95ded5cd88a3dd3aaa1ceecaeee362194bc30f3e386', # tk8.6.10-src.tar.gz
'7a6daa8349393af3d340e774aebf07c7410c51e01bc654ceb3679877063b961d', # Tk-8.6.4_different-prefix-with-tcl.patch
]
builddependencies = [('binutils', '2.34')]
dependencies = [
('Tcl', version),
('X11', '20200222'),
('zlib', '1.2.11'),
]
configopts = '--enable-threads --with-tcl=$EBROOTTCL/lib CFLAGS="-I$EBROOTTCL/include"'
installopts = "&& make install-private-headers"
postinstallcmds = ["ln -s wish%(version_major_minor)s %(installdir)s/bin/wish"]
sanity_check_paths = {
'files': ["bin/wish", "lib/tkConfig.sh", "include/tkInt.h"],
'dirs': [],
}
start_dir = 'unix'
moduleclass = 'vis'

View File

@ -0,0 +1,41 @@
##
# This file is an EasyBuild reciPY as per https://github.com/easybuilders/easybuild
#
# Copyright:: Copyright 2012-2013 University of Luxembourg, Ghent University
# Authors:: Fotis Georgatos <fotis@cern.ch>, Kenneth Hoste (Ghent University)
# License:: MIT/GPL
# $Id$
#
# This work implements a part of the HPCBIOS project and is a component of the policy:
# http://hpcbios.readthedocs.org/en/latest/HPCBIOS_2012-97.html
##
easyblock = 'ConfigureMake'
name = 'UDUNITS'
version = '2.2.26'
homepage = 'https://www.unidata.ucar.edu/software/udunits/'
description = """UDUNITS supports conversion of unit specifications between formatted and binary forms,
arithmetic manipulation of units, and conversion of values between compatible scales of measurement."""
toolchain = {'name': 'GCCcore', 'version': '9.3.0'}
toolchainopts = {'pic': True}
source_urls = ['https://fossies.org/linux/privat/']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['368f4869c9c7d50d2920fa8c58654124e9ed0d8d2a8c714a9d7fdadc08c7356d']
builddependencies = [('binutils', '2.34')]
dependencies = [('expat', '2.2.9')]
sanity_check_paths = {
'files': ['bin/udunits2', 'include/converter.h', 'include/udunits2.h', 'include/udunits.h',
'lib/libudunits2.a', 'lib/libudunits2.%s' % SHLIB_EXT],
'dirs': ['share'],
}
parallel = 1
moduleclass = 'phys'

View File

@ -1,4 +1,5 @@
# IT4Innovations 2020
# LK
easyblock = 'MakeCp'
@ -22,8 +23,6 @@ toolchainopts = {'pic': True, 'usempi': True}
# how to get access to the code
sources = ['%(namelower)s.%(version)s.tar.gz']
#checksums = ['8ac646b108f974371eef398973373bf6']
dependencies = [
('zlib', '1.2.11', '', True),
]
@ -38,13 +37,14 @@ prebuildopts += 'sed -i "s|\$(MKLROOT)/interfaces/fftw3xf|\$(FFTW_LIB_DIR)|" mak
prebuildopts += 'sed -i "s|-mkl=sequential ||" makefile.include && '
# OFLAG = -O2 -xAVX
prebuildopts += 'sed -i "s|OFLAG = -O2|OFLAG = -O2 -ip -xHost|" makefile.include && '
prebuildopts += 'sed -i "s|OFLAG = -O2|OFLAG = -O3 -ip -xHost|" makefile.include && '
# objects add MKLROOT
prebuildopts += 'sed -i "s|OBJECTS = fftmpiw.o fftmpi_map.o fft3dlib.o fftw3d.o|OBJECTS = fftmpiw.o fftmpi_map.o fft3dlib.o fftw3d.o \$(MKLROOT)/lib/intel64_lin/libfftw3xf_intel.a|" makefile.include && '
prebuildopts += 'sed -i "s|FFLAGS = -assume byterecl -w|FFLAGS = -FR -assume byterecl|" makefile.include && '
prebuildopts += 'sed -i "s|BLAS =|BLAS = -mkl=sequential|" makefile.include && '
prebuildopts += 'sed -i "s|FCL = mpiifort -lstdc++|FCL = mpiifort -mkl=sequential -lstdc++|" makefile.include && '
# VASP uses LIBS as a list of folders
prebuildopts += 'unset LIBS && '

View File

@ -0,0 +1,35 @@
# JH 2020
easyblock = 'ConfigureMake'
name = 'XZ'
version = '5.2.5'
homepage = 'https://tukaani.org/xz/'
description = "xz: XZ utilities"
toolchain = {'name': 'GCCcore', 'version': '9.3.0'}
source_urls = ['https://fossies.org/linux/misc/']
sources = [SOURCELOWER_TAR_XZ]
patches = ['XZ-5.2.2_compat-libs.patch']
checksums = [
'3e1e518ffc912f86608a8cb35e4bd41ad1aec210df2a47aaa1f95e7f5576ef56', # xz-5.2.5.tar.bz2
'578da3ea2ddb551972891a60fe31478b16a516d6ea8b6aa3af89e1d558adb703', # XZ-5.2.2_compat-libs.patch
]
builddependencies = [
# use gettext built with system toolchain as build dep to avoid cyclic dependency (XZ -> gettext -> libxml2 -> XZ)
('gettext', '0.20.1', '', True),
('binutils', '2.34'),
]
# may become useful in non-x86 archs
# configopts = ' --disable-assembler '
sanity_check_paths = {
'files': ["bin/xz", "bin/lzmainfo"],
'dirs': []
}
moduleclass = 'tools'