new file: a/ATK/ATK-2.34.1-GCCcore-8.3.0.eb

new file:   a/at-spi2-atk/at-spi2-atk-2.34.1-GCCcore-8.3.0.eb
	new file:   a/at-spi2-core/at-spi2-core-2.34.0-GCCcore-8.3.0.eb
	modified:   b/Boost/Boost-1.72.0-intel-2020a.eb
	modified:   b/binutils/binutils-2.32-GCCcore-8.3.0.eb
	new file:   b/bzip2/bzip2-1.0.8-GCCcore-8.3.0.eb
	new file:   c/CMake/CMake-3.16.2-GCCcore-8.3.0.eb
	new file:   c/cairo/cairo-1.17.2-GCCcore-8.3.0.eb
	new file:   d/DBus/DBus-1.13.8-GCCcore-8.3.0.eb
	new file:   f/FFmpeg/FFmpeg-4.2.2-GCCcore-8.3.0.eb
	new file:   f/FriBidi/FriBidi-1.0.9-GCCcore-8.3.0.eb
	new file:   f/fontconfig/fontconfig-2.12.6-GCCcore-8.3.0.eb
	new file:   g/GLib/GLib-2.64.0-GCCcore-8.3.0.eb
	new file:   g/GObject-Introspection/GObject-Introspection-1.63.1-GCCcore-8.3.0-Py-3.7.eb
	modified:   g/GTK+/GTK+-3.24.13-GCCcore-8.3.0.eb
	new file:   g/Gdk-Pixbuf/Gdk-Pixbuf-2.38.2-GCCcore-8.3.0.eb
	new file:   g/gettext/gettext-0.19.8.1-GCCcore-8.3.0.eb
	modified:   h/HDF5/HDF5-1.10.6-intel-2020a.eb
	new file:   h/HarfBuzz/HarfBuzz-2.6.4-GCCcore-8.3.0.eb
	new file:   i/ICU/ICU-64.2-GCCcore-8.3.0.eb
	new file:   j/JasPer/JasPer-2.0.14-GCCcore-8.3.0.eb
	new file:   l/LibTIFF/LibTIFF-4.1.0-GCCcore-8.3.0.eb
	new file:   l/libffi/libffi-3.3-GCCcore-8.3.0.eb
	new file:   l/libjpeg-turbo/libjpeg-turbo-2.0.4-GCCcore-8.3.0.eb
	modified:   m/Mesa/Mesa-19.2.1-GCCcore-8.3.0.eb
	new file:   n/ncurses/ncurses-6.1-GCCcore-8.3.0.eb
	modified:   n/netCDF/netCDF-4.7.3-intel-2020a.eb
	modified:   n/numpy/numpy-1.18.1-Py-3.7.eb
	modified:   o/OpenCV/OpenCV-3.4.7-intel-2020a-Py-3.7.eb
	new file:   o/OpenCV/OpenCV-4.2.0-intel-2020a-Py-3.7.eb
	new file:   o/OpenCV/OpenCV-4.2.0_disable-AVX512-CascadeLake.patch
	new file:   p/Pango/Pango-1.44.7-GCCcore-8.3.0.eb
	modified:   p/Py/Py-3.6.eb
	modified:   p/Py/Py-3.7.eb
	modified:   p/Py/Py-3.8.eb
	new file:   p/Python/Python-3.6.10-GCCcore-8.3.0-base.eb
	new file:   p/Python/Python-3.7.7-GCCcore-8.3.0-base.eb
	modified:   p/Python/Python-3.8.2-GCC-8.3.0-2.32-base.eb
	new file:   p/Python/Python-3.8.2-GCCcore-8.3.0-base.eb
	new file:   s/SQLite/SQLite-3.30.1-GCCcore-8.3.0.eb
	new file:   t/Tcl/Tcl-8.6.10-GCCcore-8.3.0.eb
	modified:   v/VTK/VTK-8.2.0-foss-2019b-Python-3.7.4.eb
	modified:   v/VTK/VTK-8.2.0-intel-2020a-Py-3.7.eb
	modified:   x/X11/X11-20190717-GCCcore-8.3.0.eb
	modified:   x/XZ/XZ-5.2.4-GCCcore-8.3.0.eb
	new file:   x/x264/x264-20190925-GCCcore-8.3.0.eb
	new file:   x/x265/x265-3.2-GCCcore-8.3.0.eb
	deleted:    o/OpenCV/OpenCV-4.2.0-Py-3.7.eb
This commit is contained in:
Josef 2020-03-31 13:10:58 +02:00
parent e27915aeb6
commit 7b3449095d
48 changed files with 1393 additions and 114 deletions

View File

@ -0,0 +1,40 @@
# JH 2020
easyblock = 'MesonNinja'
name = 'ATK'
version = '2.34.1'
homepage = 'https://developer.gnome.org/ATK/stable/'
description = """
ATK provides the set of accessibility interfaces that are implemented by other
toolkits and applications. Using the ATK interfaces, accessibility tools have
full access to view and control running applications.
"""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
builddependencies = [
('Meson', '0.53.0', '-Py-3.7', True),
('Ninja', '1.9.0', '', True),
('pkg-config', '0.29.2'),
('GObject-Introspection', '1.63.1', '-Py-3.7'),
]
dependencies = [
('GLib', '2.64.0'),
]
configopts = "--buildtype=release --default-library=both "
configopts += "-Dintrospection=true "
sanity_check_paths = {
'files': ['lib/libatk-1.0.%s' % SHLIB_EXT],
'dirs': [],
}
moduleclass = 'vis'

View File

@ -0,0 +1,45 @@
# JH 2020
easyblock = 'MesonNinja'
name = 'at-spi2-atk'
version = '2.34.1'
homepage = 'https://wiki.gnome.org/Accessibility'
description = """
AT-SPI 2 toolkit bridge
"""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
patches = ['at-spi2-atk-2.34.1_add-time-header-test.patch']
checksums = [
'776df930748fde71c128be6c366a987b98b6ee66d508ed9c8db2355bf4b9cc16', # at-spi2-atk-2.34.1.tar.xz
'df7d3e29716d2e5a72bf919df675e3742253a356682f6fe0d75cd3849f4a89a3', # at-spi2-atk-2.34.1_add-time-header-test.patch
]
builddependencies = [
('binutils', '2.32'),
('Meson', '0.53.0', '-Py-3.7', True),
('Ninja', '1.9.0', '', True),
('pkg-config', '0.29.2'),
]
dependencies = [
('GLib', '2.64.0'),
('DBus', '1.13.8'),
('at-spi2-core', '2.34.0'),
('libxml2', '2.9.9'),
('ATK', '2.34.1'),
]
configopts = "--libdir lib "
sanity_check_paths = {
'files': ['lib/libatk-bridge-2.0.%s' % SHLIB_EXT],
'dirs': [],
}
moduleclass = 'vis'

View File

@ -0,0 +1,41 @@
# JH 2020
easyblock = 'MesonNinja'
name = 'at-spi2-core'
version = '2.34.0'
homepage = 'https://wiki.gnome.org/Accessibility'
description = """
Assistive Technology Service Provider Interface.
"""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['d629cdbd674e539f8912028512af583990938c7b49e25184c126b00121ef11c6']
builddependencies = [
('binutils', '2.32'),
('Meson', '0.53.0', '-Py-3.7', True),
('Ninja', '1.9.0', '', True),
('GObject-Introspection', '1.63.1', '-Py-3.7'),
('gettext', '0.20.1'),
('pkg-config', '0.29.2'),
]
dependencies = [
('GLib', '2.64.0'),
('DBus', '1.13.8'),
('X11', '20190717'),
]
configopts = "--libdir lib "
sanity_check_paths = {
'files': ['lib/libatspi.%s' % SHLIB_EXT],
'dirs': [],
}
moduleclass = 'vis'

View File

@ -14,8 +14,8 @@ sources = ['%%(namelower)s_%s.tar.gz' % '_'.join(version.split('.'))]
dependencies = [
('bzip2', '1.0.8', '', True),
('zlib', '1.2.11', '', True),
('bzip2', '1.0.8'),
('zlib', '1.2.11'),
]
configopts = '--without-libraries=python'

View File

@ -13,8 +13,8 @@ sources = [SOURCE_TAR_GZ]
checksums = ['9b0d97b3d30df184d302bced12f976aa1e5fbf4b0be696cdebc6cca30411a46e']
builddependencies = [
('flex', '2.6.4', '', True),
('Bison', '3.3.2', '', True),
('flex', '2.6.4'),
('Bison', '3.3.2'),
# use same local_binutils version that was used when building GCC toolchain, to 'bootstrap' this local_binutils
('binutils', version, '', True)
]
@ -22,7 +22,7 @@ builddependencies = [
dependencies = [
# zlib is a runtime dep to avoid that it gets embedded in libbfd.so,
# see https://github.com/easybuilders/easybuild-easyblocks/issues/1350
('zlib', '1.2.11', '', True),
('zlib', '1.2.11'),
]
moduleclass = 'tools'

View File

@ -0,0 +1,34 @@
# IT4Innovations 2020
name = 'bzip2'
version = '1.0.8'
homepage = 'https://sourceware.org/bzip2'
description = """
bzip2 is a freely available, patent free, high-quality data compressor. It
typically compresses files to within 10% to 15% of the best available
techniques (the PPM family of statistical compressors), whilst being around
twice as fast at compression and six times faster at decompression.
"""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
toolchainopts = {'pic': True}
source_urls = ['https://sourceware.org/pub/bzip2/']
sources = [SOURCE_TAR_GZ]
patches = ['bzip2-1.0.6-pkgconfig.patch']
checksums = [
'ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269', # bzip2-1.0.8.tar.gz
'5a823e820b332eca3684416894f58edc125ac3dace9f46e62f98e45362aa8a6d', # bzip2-1.0.6-pkgconfig.patch
]
builddependencies = [
('CMake', '3.16.2'),
]
buildopts = 'CC="gcc" CFLAGS="-fpic -fPIC -Wall -Winline -O2 -g -D_FILE_OFFSET_BITS=64"'
parallel = 1
moduleclass = 'tools'

View File

@ -0,0 +1,30 @@
# IT4Innovations 2020
easyblock = 'ConfigureMake'
name = 'CMake'
version = '3.16.2'
homepage = 'http://www.cmake.org'
description = """CMake, the cross-platform, open-source build system.
CMake is a family of tools designed to build, test and package software."""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = ['http://www.cmake.org/files/v%(version_major_minor)s']
sources = [SOURCELOWER_TAR_GZ]
configopts = '-- -DCMAKE_USE_OPENSSL=1'
dependencies = [
('ncurses', '6.1'),
]
osdependencies = [('openssl-devel', 'libssl-dev', 'libopenssl-devel')]
sanity_check_paths = {
'files': ["bin/%s" % x for x in ['cmake', 'cpack', 'ctest']],
'dirs': [],
}
moduleclass = 'devel'

View File

@ -0,0 +1,68 @@
# JH 2020
easyblock = 'ConfigureMake'
name = 'cairo'
version = '1.17.2'
homepage = 'http://cairographics.org'
description = """Cairo is a 2D graphics library with support for multiple output devices.
Currently supported output targets include the X Window System (via both Xlib and XCB), Quartz, Win32, image buffers,
PostScript, PDF, and SVG file output. Experimental backends include OpenGL, BeOS, OS/2, and DirectFB"""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = ['https://cairographics.org/snapshots/']
sources = [SOURCE_TAR_XZ]
dependencies = [
('bzip2', '1.0.8'),
('zlib', '1.2.11'),
('libpng', '1.6.37'),
('freetype', '2.10.1'),
('pixman', '0.38.4'),
('expat', '2.2.7'),
('GLib', '2.64.0'),
('X11', '20190717'),
]
# disable symbol lookup, which requires -lbfd, to avoid link issues with
# (non-PIC) libiberty.a provided by GCC
configopts = "--enable-symbol-lookup=no --enable-gobject=yes --enable-svg=yes --enable-tee=yes --enable-xlib-xcb "
# workaround for "hidden symbol .* in .* is referenced by DSO" and "ld:
# final link failed: Bad value"
buildopts = 'LD="$CC" LDFLAGS="$LDFLAGS"'
sanity_check_paths = {
'files': [
'bin/cairo-trace',
'lib/cairo/libcairo-trace.so',
'lib/cairo/libcairo-trace.a',
'lib/libcairo.a',
'lib/libcairo-gobject.a',
'lib/libcairo-script-interpreter.a',
'lib/libcairo-gobject.so',
'lib/libcairo-script-interpreter.so',
'lib/libcairo.so'] +
[
'include/cairo/cairo%s.h' %
x for x in [
'',
'-deprecated',
'-features',
'-ft',
'-gobject',
'-pdf',
'-ps',
'-script',
'-script-interpreter',
'-svg',
'-version',
'-xcb',
'-xlib',
'-xlib-xrender']],
'dirs': ['lib/pkgconfig'],
}
moduleclass = 'vis'

View File

@ -0,0 +1,41 @@
# JH 2020
easyblock = 'ConfigureMake'
name = 'DBus'
version = '1.13.8'
homepage = 'http://dbus.freedesktop.org/'
description = """
D-Bus is a message bus system, a simple way for applications to talk
to one another. In addition to interprocess communication, D-Bus helps
coordinate process lifecycle; it makes it simple and reliable to code
a "single instance" application or daemon, and to launch applications
and daemons on demand when their services are needed.
"""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = ['http://dbus.freedesktop.org/releases/dbus']
sources = [SOURCELOWER_TAR_XZ]
builddependencies = [
('binutils', '2.32'),
]
dependencies = [
('expat', '2.2.7'),
]
configopts = '--without-systemdsystemunitdir'
sanity_check_paths = {
'files': ['bin/dbus-%s' % x for x in
['cleanup-sockets', 'daemon', 'launch', 'monitor',
'run-session', 'send', 'uuidgen']] +
['lib/libdbus-1.%s' % x for x in ['a', SHLIB_EXT]],
'dirs': ['include', 'share'],
}
moduleclass = 'devel'

View File

@ -0,0 +1,45 @@
# JH 2020
easyblock = 'ConfigureMake'
name = 'FFmpeg'
version = '4.2.2'
homepage = 'https://www.ffmpeg.org/'
description = """A complete, cross-platform solution to record, convert and stream audio and video."""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = ['https://ffmpeg.org/releases/']
sources = [SOURCELOWER_TAR_BZ2]
builddependencies = [
('binutils', '2.32'),
('pkg-config', '0.29.2')
]
dependencies = [
('NASM', '2.13.03', '', True),
('zlib', '1.2.11'),
('bzip2', '1.0.8'),
('x264', '20190925'),
('LAME', '3.100'),
('x265', '3.2'),
('X11', '20190717'),
('freetype', '2.10.1'),
('fontconfig', '2.12.6'),
('FriBidi', '1.0.9'),
]
configopts = '--enable-pic --enable-shared --enable-gpl --enable-version3 --enable-nonfree --cc="$CC" --cxx="$CXX" '
configopts += '--enable-libx264 --enable-libx265 --enable-libmp3lame --enable-libfreetype --enable-fontconfig '
configopts += '--enable-libfribidi'
sanity_check_paths = {
'files': ['bin/ff%s' % x for x in ['mpeg', 'probe']] +
['lib/lib%s.%s' % (x, y) for x in ['avdevice', 'avfilter', 'avformat', 'avcodec', 'postproc',
'swresample', 'swscale', 'avutil'] for y in [SHLIB_EXT, 'a']],
'dirs': ['include']
}
moduleclass = 'vis'

View File

@ -0,0 +1,34 @@
# JH 2020
easyblock = 'ConfigureMake'
name = 'FriBidi'
version = '1.0.9'
homepage = 'https://github.com/fribidi/fribidi'
description = """
The Free Implementation of the Unicode Bidirectional Algorithm.
"""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = [
'https://github.com/%(namelower)s/%(namelower)s/releases/download/v%(version)s']
sources = [SOURCELOWER_TAR_XZ]
builddependencies = [
('Autotools', '20180311'),
('binutils', '2.32'),
('pkg-config', '0.29.2'),
]
configopts = '--disable-docs'
sanity_check_paths = {
'files': ['bin/%(namelower)s', 'include/%(namelower)s/%(namelower)s.h',
'lib/lib%%(namelower)s.%s' % SHLIB_EXT],
'dirs': []
}
moduleclass = 'lang'

View File

@ -0,0 +1,30 @@
# JH 2020
easyblock = 'ConfigureMake'
name = "fontconfig"
version = '2.12.6'
homepage = 'http://www.freedesktop.org/software/fontconfig'
description = """Fontconfig is a library designed to provide system-wide font configuration, customization and
application access."""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = ['http://www.freedesktop.org/software/fontconfig/release/']
sources = [SOURCE_TAR_GZ]
builddependencies = [
('gperf', '3.1'),
('pkg-config', '0.29.2'),
]
dependencies = [
('expat', '2.2.7'),
('freetype', '2.10.1'),
('util-linux', '2.34'),
]
configopts = '--disable-docs '
moduleclass = 'vis'

View File

@ -0,0 +1,44 @@
# JH 2020
easyblock = 'MesonNinja'
name = 'GLib'
version = '2.64.0'
homepage = 'http://www.gtk.org/'
description = """GLib is one of the base libraries of the GTK+ project"""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
toolchainopts = {'pic': True}
source_urls = ['http://ftp.gnome.org/pub/gnome/sources/glib/%(version_major_minor)s/']
sources = ['glib-%(version)s.tar.xz']
builddependencies = [
('Meson', '0.53.0', '-Py-3.7', True),
('Ninja', '1.9.0', '', True),
('binutils', '2.32'),
('pkg-config', '0.29.2'),
]
dependencies = [
('libffi', '3.3'),
('gettext', '0.20.1'),
('libxml2', '2.9.9'),
('PCRE', '8.43'),
('util-linux', '2.34'),
]
# avoid using hardcoded path to Python binary in build step
preconfigopts = "export PYTHON=python && "
configopts = "--buildtype=release --default-library=both "
fix_python_shebang_for = ['bin/*']
sanity_check_paths = {
'files': ['lib/libglib-%(version_major)s.0.a', 'lib/libglib-%%(version_major)s.0.%s' % SHLIB_EXT],
'dirs': ['bin', 'include'],
}
moduleclass = 'vis'

View File

@ -0,0 +1,45 @@
# JH 2020
easyblock = 'MesonNinja'
name = 'GObject-Introspection'
version = '1.63.1'
versionsuffix = '-Py-3.7'
homepage = 'https://wiki.gnome.org/GObjectIntrospection/'
description = """GObject introspection is a middleware layer between C libraries
(using GObject) and language bindings. The C library can be scanned at
compile time and generate a metadata file, in addition to the actual
native C library. Then at runtime, language bindings can read this
metadata and automatically provide bindings to call into the C library."""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['476379bde8d080d92dd1bb1684f6aa8d79d90ddb81fc85dfa3576e36f9777ab6']
builddependencies = [
('Meson', '0.53.0', '-Py-3.7', True),
('Ninja', '1.9.0', '', True),
('flex', '2.6.4', '', True),
('Bison', '3.3.2', '', True),
('cairo', '1.17.2'),
]
dependencies = [
('Py', '3.7', '', True),
('GLib', '2.64.0'),
('libffi', '3.3'),
('util-linux', '2.34'),
]
preconfigopts = "env GI_SCANNER_DISABLE_CACHE=true "
sanity_check_paths = {
'files': ['bin/g-ir-%s' % x for x in ['annotation-tool', 'compiler', 'generate', 'scanner']] +
['lib/libgirepository-1.0.' + SHLIB_EXT],
'dirs': ['include', 'share']
}
moduleclass = 'devel'

View File

@ -17,21 +17,21 @@ toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
builddependencies = [
('binutils', '2.32'),
('GObject-Introspection', '1.63.1', '-Py-3.7', True),
('gettext', '0.20.1', '', True),
('GObject-Introspection', '1.63.1', '-Py-3.7'),
('gettext', '0.20.1'),
('pkg-config', '0.29.2'),
('cairo', '1.17.2', '', True),
('cairo', '1.17.2'),
('Perl', '5.30.0'),
]
dependencies = [
('ATK', '2.34.1', '', True),
('at-spi2-atk', '2.34.1', '', True),
('Gdk-Pixbuf', '2.38.2', '', True),
('Pango', '1.44.7', '', True),
('ATK', '2.34.1'),
('at-spi2-atk', '2.34.1'),
('Gdk-Pixbuf', '2.38.2'),
('Pango', '1.44.7'),
('libepoxy', '1.5.4'),
('X11', '20190717'),
('FriBidi', '1.0.9', '', True),
('FriBidi', '1.0.9'),
]
default_easyblock = 'ConfigureMake'

View File

@ -0,0 +1,48 @@
# JH 2020
easyblock = 'MesonNinja'
name = 'Gdk-Pixbuf'
version = '2.38.2'
homepage = 'https://developer.gnome.org/gdk-pixbuf/stable/'
description = """
The Gdk Pixbuf is a toolkit for image loading and pixel buffer manipulation.
It is used by GTK+ 2 and GTK+ 3 to load and manipulate images. In the past it
was distributed as part of GTK+ 2 but it was split off into a separate package
in preparation for the change to GTK+ 3.
"""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
patches = ['Gdk-Pixbuf-2.38.1-post-install-bin.patch']
builddependencies = [
('Meson', '0.53.0', '-Py-3.7', True),
('Ninja', '1.9.0', '', True),
('binutils', '2.32'),
('pkg-config', '0.29.2'),
('GObject-Introspection', '1.63.1', '-Py-3.7'),
]
dependencies = [
('GLib', '2.64.0'),
('libjpeg-turbo', '2.0.4'),
('libpng', '1.6.37'),
('LibTIFF', '4.1.0'),
('X11', '20190717'),
]
configopts = "--buildtype=release --default-library=both "
configopts += "-Dgio_sniffing=false -Dgir=true -Dman=false"
maxparallel = 1
sanity_check_paths = {
'files': ['lib/libgdk_pixbuf-%(version_major)s.0.a', 'lib/libgdk_pixbuf-%%(version_major)s.0.%s' % SHLIB_EXT],
'dirs': ['bin', 'include/gdk-pixbuf-%(version_major)s.0', 'lib/gdk-pixbuf-%(version_major)s.0', 'share'],
}
moduleclass = 'vis'

View File

@ -0,0 +1,27 @@
# IT4Innovations 2020
easyblock = 'ConfigureMake'
name = 'gettext'
version = '0.19.8.1'
homepage = 'http://www.gnu.org/software/gettext/'
description = """GNU `gettext' is an important step for the GNU Translation Project, as it is an asset on which we may
build many other steps. This package offers to programmers, translators, and even users, a well integrated set of tools
and documentation"""
# This is a basic stripped down version of gettext without any
# dependencies on other packages used as initial builddep for XZ
# It is the first step in the cyclic dependency chain of
# XZ -> libxml2 -> gettext -> XZ
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
sources = [SOURCE_TAR_GZ]
source_urls = [GNU_SOURCE]
dependencies = [('ncurses', '6.1')]
configopts = '--without-emacs --with-included-libxml --without-xz --without-bzip2'
moduleclass = 'vis'

View File

@ -15,8 +15,8 @@ source_urls = [
sources = [SOURCELOWER_TAR_GZ]
dependencies = [
('zlib', '1.2.11', '', True),
('Szip', '2.1', '', True),
('zlib', '1.2.11'),
('Szip', '2.1.1'),
]
moduleclass = 'data'

View File

@ -0,0 +1,37 @@
# JH 2020
easyblock = 'ConfigureMake'
name = 'HarfBuzz'
version = '2.6.4'
homepage = 'https://www.freedesktop.org/wiki/Software/HarfBuzz'
description = """HarfBuzz is an OpenType text shaping engine."""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = ['https://www.freedesktop.org/software/harfbuzz/release/']
sources = [SOURCELOWER_TAR_XZ]
checksums = ['9413b8d96132d699687ef914ebb8c50440efc87b3f775d25856d7ec347c03c12']
builddependencies = [
('binutils', '2.32'),
('GObject-Introspection', '1.63.1', '-Py-3.7'),
('pkg-config', '0.29.2'),
]
dependencies = [
('GLib', '2.64.0'),
('ICU', '64.2'),
('cairo', '1.17.2'),
('freetype', '2.10.1'),
]
configopts = "--enable-introspection=yes --with-gobject=yes --enable-static --enable-shared --with-cairo "
sanity_check_paths = {
'files': ['lib/libharfbuzz.%s' % SHLIB_EXT, 'bin/hb-view'],
'dirs': []
}
moduleclass = 'vis'

View File

@ -0,0 +1,31 @@
# JH 2020
easyblock = 'ConfigureMake'
name = 'ICU'
version = '64.2'
homepage = 'http://site.icu-project.org/home'
description = """ICU is a mature, widely used set of C/C++ and Java libraries providing Unicode and Globalization
support for software applications."""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
toolchainopts = {'pic': True}
source_urls = ['http://download.icu-project.org/files/icu4c/%(version)s']
sources = ['icu4c-%(version_major)s_%(version_minor)s-src.tgz']
checksums = ['627d5d8478e6d96fc8c90fed4851239079a561a6a8b9e48b0892f24e82d31d6c']
builddependencies = [
('binutils', '2.32'),
('Py', '3.7', '', True),
]
start_dir = 'source'
sanity_check_paths = {
'files': ['lib/libicu%s.%s' % (x, SHLIB_EXT) for x in ['data', 'i18n', 'io', 'test', 'tu', 'uc']],
'dirs': ['bin', 'include/unicode', 'share/icu', 'share/man'],
}
moduleclass = 'lib'

View File

@ -0,0 +1,31 @@
# JH 2020
easyblock = 'CMakeMake'
name = 'JasPer'
version = '2.0.14'
homepage = 'http://www.ece.uvic.ca/~frodo/jasper/'
description = """The JasPer Project is an open-source initiative to provide a free
software-based reference implementation of the codec specified in the JPEG-2000 Part-1 standard."""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
toolchainopts = {'pic': True}
sources = [SOURCELOWER_TAR_GZ]
source_urls = ['http://www.ece.uvic.ca/~frodo/jasper/software/']
builddependencies = [
('CMake', '3.16.2', '', True),
]
separate_build_dir = True
configopts = '-DJAS_ENABLE_DOC=OFF '
sanity_check_paths = {
'files': ['bin/jasper', ('lib/libjasper.%s' % SHLIB_EXT, 'lib64/libjasper.%s' % SHLIB_EXT)],
'dirs': ['include'],
}
moduleclass = 'vis'

View File

@ -0,0 +1,21 @@
# JH 2020
easyblock = 'ConfigureMake'
name = 'LibTIFF'
version = '4.1.0'
homepage = 'http://download.osgeo.org/libtiff/'
description = "tiff: Library and tools for reading and writing TIFF data files"
source_urls = ['https://download.osgeo.org/libtiff']
sources = ['tiff-%(version)s.tar.gz']
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
sanity_check_paths = {
'files': ['bin/tiffinfo'],
'dirs': [],
}
moduleclass = 'lib'

View File

@ -0,0 +1,31 @@
# JH 2020
easyblock = 'ConfigureMake'
name = 'libffi'
version = '3.3'
homepage = 'http://sourceware.org/libffi/'
description = """The libffi library provides a portable, high level programming interface to various calling
conventions. This allows a programmer to call any function specified by a call interface description at run-time."""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = [
'ftp://sourceware.org/pub/libffi/',
'http://www.mirrorservice.org/sites/sourceware.org/pub/libffi/',
]
sources = [SOURCELOWER_TAR_GZ]
sanity_check_paths = {
'files': [
('lib/libffi.%s' %
SHLIB_EXT,
'lib64/libffi.%s' %
SHLIB_EXT),
('lib/libffi.a',
'lib64/libffi.a')],
'dirs': [],
}
moduleclass = 'lib'

View File

@ -0,0 +1,49 @@
# JH 2020
easyblock = 'CMakeMake'
name = 'libjpeg-turbo'
version = '2.0.4'
homepage = 'http://sourceforge.net/projects/libjpeg-turbo/'
description = """libjpeg-turbo is a fork of the original IJG libjpeg which uses SIMD to accelerate baseline JPEG
local_compression and delocal_compression. libjpeg is a library that implements JPEG image encoding, decoding and transcoding.
"""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
toolchainopts = {'pic': True}
source_urls = [SOURCEFORGE_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
dependencies = [
('NASM', '2.13.03', '', True),
]
builddependencies = [
('CMake', '3.16.2', '', True),
]
#configopts = "--with-jpeg8"
runtest = "test"
sanity_check_paths = {
'files': [
'bin/cjpeg',
'bin/djpeg',
'bin/jpegtran',
'bin/rdjpgcom',
'bin/tjbench',
'bin/wrjpgcom',
'lib/libjpeg.a',
'lib/libjpeg.%s' %
SHLIB_EXT,
'lib/libturbojpeg.a',
'lib/libturbojpeg.%s' %
SHLIB_EXT],
'dirs': [
'include',
'share'],
}
moduleclass = 'lib'

View File

@ -42,23 +42,23 @@ builddependencies = [
('binutils', '2.32'),
('Meson', '0.53.0', '-Py-3.7', True),
('Ninja', '1.9.0', '', True),
('flex', '2.6.4', '', True),
('Bison', '3.3.2', '', True),
('pkg-config', '0.29.2', '', True),
('flex', '2.6.4'),
('Bison', '3.3.2'),
('pkg-config', '0.29.2'),
('Mako', '1.1.2', '-Py-3.7', True),
('libxml2', '2.9.9', '', True),
('expat', '2.2.0','', True),
('gettext', '0.19.4', '', True),
('libxml2', '2.9.9'),
('expat', '2.2.7'),
('gettext', '0.20.1'),
]
dependencies = [
('zlib', '1.2.11', '', True),
('nettle', '3.4.1', '', True),
('libdrm', '2.4.99', '', True),
('zlib', '1.2.11'),
('nettle', '3.5.1'),
('libdrm', '2.4.99'),
('LLVM', '8.0.1'),
('X11', '20190717', '', True),
('libunwind', '1.2.1', '', True),
('libglvnd', '1.2.0', '', True),
('X11', '20190717'),
('libunwind', '1.3.1'),
('libglvnd', '1.2.0'),
]
configopts = " -Dplatforms=x11 -Dosmesa=gallium -Ddri-drivers='' -Dvulkan-drivers=''"

View File

@ -0,0 +1,38 @@
# IT4Innovations 2020
easyblock = 'ConfigureMake'
name = 'ncurses'
version = '6.1'
homepage = 'http://www.gnu.org/software/ncurses/'
description = """The Ncurses (new curses) library is a free software emulation of curses in System V Release 4.0,
and more. It uses Terminfo format, supports pads and color and multiple highlights and forms characters and
function-key mapping, and has all the other SYSV-curses enhancements over BSD Curses."""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
toolchainopts = {'optarch': True, 'pic': True}
source_urls = [GNU_SOURCE]
sources = [SOURCE_TAR_GZ]
buildopts = 'CFLAGS="-O3 -fPIC"'
configopts = [
# default build
'--with-shared --enable-overwrite',
# the UTF-8 enabled version (ncursesw)
'--with-shared --enable-overwrite --enable-ext-colors --enable-widec --includedir=%(installdir)s/include/ncursesw/'
]
libs = ["form", "menu", "ncurses", "panel"]
sanity_check_paths = {
'files': ['bin/%s' % x for x in ["captoinfo", "clear", "infocmp", "infotocap", "ncurses%(version_major)s-config",
"reset", "tabs", "tic", "toe", "tput", "tset"]] +
['lib/lib%s%s.a' % (x, y) for x in libs for y in ['', '_g', 'w', 'w_g']] +
['lib/lib%s%s.%s' % (x, y, SHLIB_EXT) for x in libs for y in ['', 'w']] +
['lib/libncurses++%s.a' % x for x in ['', 'w']],
'dirs': ['include', 'include/ncursesw'],
}
moduleclass = 'devel'

View File

@ -19,7 +19,7 @@ source_urls = [
dependencies = [
('HDF5', '1.10.6'),
('cURL', '7.65.3', '', True),
('Szip', '2.1', '', True),
('Szip', '2.1.1'),
]
builddependencies = [

View File

@ -21,7 +21,7 @@ local_patch = [
dependencies = [
('mkl', '2019.5.281', '', True),
('Cython', '0.29.14'),
('libffi', '3.3', '', True), #RT#22207
('libffi', '3.3', '', ('GCCcore', '8.3.0')), #RT#22207
]
sanity_check_paths = {'files': [], 'dirs': [

View File

@ -1,4 +1,4 @@
# 2020
# JH 2020
name = 'OpenCV'
version = '3.4.7'
@ -10,8 +10,8 @@ description = """OpenCV (Open Source Computer Vision Library) is an open source
a common infrastructure for computer vision applications and to accelerate
the use of machine perception in the commercial products."""
#toolchain = {'name': 'intel', 'version': '2020a'}
toolchain = SYSTEM
toolchain = {'name': 'intel', 'version': '2020a'}
#toolchain = SYSTEM
source_urls = [
'https://github.com/opencv/opencv/archive/',
@ -36,19 +36,17 @@ builddependencies = [
dependencies = [
('Py', '3.7', '', True),
('numpy', '1.18.1', versionsuffix, True),
('scipy', '1.3.3', versionsuffix, True),
# ('mpi4py', '3.0.1', versionsuffix),
('pandas', '1.0.0', versionsuffix, True),
('zlib', '1.2.11', '', True),
('FFmpeg', '4.2.2', '', True),
('libjpeg-turbo', '2.0.4', '', True),
('libpng', '1.6.37', '', True),
('LibTIFF', '4.1.0', '', True),
('JasPer', '2.0.14', '', True),
('mpi4py', '3.0.1', versionsuffix),
('zlib', '1.2.11'),
('FFmpeg', '4.2.2'),
('libjpeg-turbo', '2.0.4'),
('libpng', '1.6.37'),
('LibTIFF', '4.1.0'),
('JasPer', '2.0.14'),
('Java', '13.0.1', '', True),
('ant', '1.10.7', '-Java-13.0.1', True),
('GLib', '2.62.4', '', True),
('GTK+', '3.24.13', '', True),
('GLib', '2.64.0'),
('GTK+', '3.24.13'),
]
moduleclass = 'vis'

View File

@ -1,41 +0,0 @@
# JH 2020
name = 'OpenCV'
version = '4.20'
versionsuffix = '-Py-3.7'
homepage = 'https://opencv.org/'
description = """OpenCV (Open Source Computer Vision Library) is an open source computer vision
and machine learning software library. OpenCV was built to provide
a common infrastructure for computer vision applications and to accelerate
the use of machine perception in the commercial products."""
toolchain = {'name': 'intel', 'version': '2020a'}
source_urls = ['https://github.com/opencv/opencv/archive/4.2.0']
sources = [SOURCELOWER_TAR_GZ]
builddependencies = [
('CMake', '3.16.2', '', True),
('slepc4py','3.12.0', '-Py-3.7', True),
('petsc4py','3.12.0', '-Py-3.7', True),
('VTK','8.2.0', '-intel-2020a-Py-3.7', True),
('numba','0.48.0', '-intel-2020a-Py-3.7', True),
]
dependencies = [
('Py', '3.7', '', True),
('numpy', '1.18.1', versionsuffix, True),
('zlib', '1.2.11', '', True),
('FFmpeg', '4.2.2', '', True),
('libjpeg-turbo', '2.0.4', '', True),
('libpng', '1.6.37', '', True),
('LibTIFF', '4.1.0', '', True),
('JasPer', '2.0.14', '', True),
('Java', '13.0.1', '', True),
('ant', '1.10.7', '-Java-13.0.1', True),
('GLib', '2.64.0', '', True),
('GTK+', '3.24.13'),
]
moduleclass = 'vis'

View File

@ -0,0 +1,54 @@
# JH 2020
name = 'OpenCV'
version = '4.20'
versionsuffix = '-Py-3.7'
homepage = 'https://opencv.org/'
description = """OpenCV (Open Source Computer Vision Library) is an open source computer vision
and machine learning software library. OpenCV was built to provide
a common infrastructure for computer vision applications and to accelerate
the use of machine perception in the commercial products."""
toolchain = {'name': 'intel', 'version': '2020a'}
toolchainopts = {}
source_urls = [
'https://github.com/opencv/opencv/archive/4.2.0',
# the hash is version dependent! see 3rdparty/ippicv/ippicv.cmake
'https://github.com/opencv/opencv_3rdparty/raw/ippicv/master_20191018/ippicv/',
]
sources = [
SOURCELOWER_TAR_GZ,
{'filename': 'ippicv_2020_lnx_intel64_20191018_general.tgz', 'extract_cmd': "cp %s %(builddir)s"},
]
patches = ['OpenCV-4.2.0_disable-AVX512-CascadeLake.patch']
builddependencies = [
('CMake', '3.16.2', '', True),
# compatibility test
#('slepc4py','3.12.0', '-Py-3.7', True),
#('petsc4py','3.12.0', '-Py-3.7', True),
#('VTK','8.2.0', '-intel-2020a-Py-3.7', True),
#('numba','0.48.0', '-intel-2020a-Py-3.7', True),
]
dependencies = [
('Py', '3.7', '', True),
('numpy', '1.18.1', versionsuffix, True),
('zlib', '1.2.11'),
('FFmpeg', '4.2.2'),
('libjpeg-turbo', '2.0.4'),
('libpng', '1.6.37'),
('LibTIFF', '4.1.0'),
('JasPer', '2.0.14'),
('Java', '13.0.1', '', True),
('ant', '1.10.7', '-Java-13.0.1', True),
('GLib', '2.64.0'),
('GTK+', '3.24.13'),
]
#configopts = "-DCPU_BASELINE=SSE3 -DCPU_BASELINE_DISABLE=AVX512-ICL,AVX512-CLX,AVX512-CNL,AVX512-KNM,AVX512-KNL"
moduleclass = 'vis'

View File

@ -0,0 +1,71 @@
--- opencv-4.2.0/cmake/OpenCVCompilerOptimizations.cmake.orig 2020-03-31 12:57:34.691679964 +0200
+++ opencv-4.2.0/cmake/OpenCVCompilerOptimizations.cmake 2020-03-31 13:01:52.155926840 +0200
@@ -45,7 +45,7 @@
# CPU_{opt}_ENABLED_DEFAULT=ON/OFF - has compiler support without additional flag (CPU_BASELINE_DETECT=ON only)
set(CPU_ALL_OPTIMIZATIONS "SSE;SSE2;SSE3;SSSE3;SSE4_1;SSE4_2;POPCNT;AVX;FP16;AVX2;FMA3;AVX_512F")
-list(APPEND CPU_ALL_OPTIMIZATIONS "AVX512_COMMON;AVX512_KNL;AVX512_KNM;AVX512_SKX;AVX512_CNL;AVX512_CLX;AVX512_ICL")
+list(APPEND CPU_ALL_OPTIMIZATIONS "AVX512_COMMON;AVX512_SKX;AVX512_CLX")
list(APPEND CPU_ALL_OPTIMIZATIONS NEON VFPV3 FP16)
list(APPEND CPU_ALL_OPTIMIZATIONS MSA)
list(APPEND CPU_ALL_OPTIMIZATIONS VSX VSX3)
@@ -165,15 +165,11 @@
endif()
if(X86 OR X86_64)
- ocv_update(CPU_KNOWN_OPTIMIZATIONS "SSE;SSE2;SSE3;SSSE3;SSE4_1;POPCNT;SSE4_2;FP16;FMA3;AVX;AVX2;AVX_512F;AVX512_COMMON;AVX512_KNL;AVX512_KNM;AVX512_SKX;AVX512_CNL;AVX512_CLX;AVX512_ICL")
+ ocv_update(CPU_KNOWN_OPTIMIZATIONS "SSE;SSE2;SSE3;SSSE3;SSE4_1;POPCNT;SSE4_2;FP16;FMA3;AVX;AVX2;AVX_512F;AVX512_COMMON;AVX512_SKX;AVX512_CLX")
ocv_update(CPU_AVX512_COMMON_GROUP "AVX_512F;AVX_512CD")
- ocv_update(CPU_AVX512_KNL_GROUP "AVX512_COMMON;AVX512_KNL_EXTRA")
- ocv_update(CPU_AVX512_KNM_GROUP "AVX512_KNL;AVX512_KNM_EXTRA;AVX_512VPOPCNTDQ")
ocv_update(CPU_AVX512_SKX_GROUP "AVX512_COMMON;AVX_512VL;AVX_512BW;AVX_512DQ")
- ocv_update(CPU_AVX512_CNL_GROUP "AVX512_SKX;AVX_512IFMA;AVX_512VBMI")
ocv_update(CPU_AVX512_CLX_GROUP "AVX512_SKX;AVX_512VNNI")
- ocv_update(CPU_AVX512_ICL_GROUP "AVX512_SKX;AVX_512IFMA;AVX_512VBMI;AVX_512VNNI;AVX_512VBMI2;AVX_512BITALG;AVX_512VPOPCNTDQ") # ? VPCLMULQDQ, GFNI, VAES
ocv_update(CPU_SSE_TEST_FILE "${OpenCV_SOURCE_DIR}/cmake/checks/cpu_sse.cpp")
ocv_update(CPU_SSE2_TEST_FILE "${OpenCV_SOURCE_DIR}/cmake/checks/cpu_sse2.cpp")
@@ -187,20 +183,12 @@
ocv_update(CPU_FP16_TEST_FILE "${OpenCV_SOURCE_DIR}/cmake/checks/cpu_fp16.cpp")
ocv_update(CPU_AVX_512F_TEST_FILE "${OpenCV_SOURCE_DIR}/cmake/checks/cpu_avx512.cpp")
ocv_update(CPU_AVX512_COMMON_TEST_FILE "${OpenCV_SOURCE_DIR}/cmake/checks/cpu_avx512common.cpp")
- ocv_update(CPU_AVX512_KNL_TEST_FILE "${OpenCV_SOURCE_DIR}/cmake/checks/cpu_avx512knl.cpp")
- ocv_update(CPU_AVX512_KNM_TEST_FILE "${OpenCV_SOURCE_DIR}/cmake/checks/cpu_avx512knm.cpp")
ocv_update(CPU_AVX512_SKX_TEST_FILE "${OpenCV_SOURCE_DIR}/cmake/checks/cpu_avx512skx.cpp")
- ocv_update(CPU_AVX512_CNL_TEST_FILE "${OpenCV_SOURCE_DIR}/cmake/checks/cpu_avx512cnl.cpp")
ocv_update(CPU_AVX512_CLX_TEST_FILE "${OpenCV_SOURCE_DIR}/cmake/checks/cpu_avx512clx.cpp")
- ocv_update(CPU_AVX512_ICL_TEST_FILE "${OpenCV_SOURCE_DIR}/cmake/checks/cpu_avx512icl.cpp")
if(NOT OPENCV_CPU_OPT_IMPLIES_IGNORE)
- ocv_update(CPU_AVX512_ICL_IMPLIES "AVX512_SKX")
ocv_update(CPU_AVX512_CLX_IMPLIES "AVX512_SKX")
- ocv_update(CPU_AVX512_CNL_IMPLIES "AVX512_SKX")
ocv_update(CPU_AVX512_SKX_IMPLIES "AVX512_COMMON")
- ocv_update(CPU_AVX512_KNM_IMPLIES "AVX512_KNL")
- ocv_update(CPU_AVX512_KNL_IMPLIES "AVX512_COMMON")
ocv_update(CPU_AVX512_COMMON_IMPLIES "AVX_512F")
ocv_update(CPU_AVX_512F_IMPLIES "AVX2")
ocv_update(CPU_AVX_512F_FORCE "") # Don't force other optimizations
@@ -249,12 +237,8 @@
endif()
ocv_intel_compiler_optimization_option(AVX_512F "-xCOMMON-AVX512" "/Qx:COMMON-AVX512")
ocv_intel_compiler_optimization_option(AVX512_COMMON "-xCOMMON-AVX512" "/Qx:COMMON-AVX512")
- ocv_intel_compiler_optimization_option(AVX512_KNL "-xKNL" "/Qx:KNL")
- ocv_intel_compiler_optimization_option(AVX512_KNM "-xKNM" "/Qx:KNM")
ocv_intel_compiler_optimization_option(AVX512_SKX "-xSKYLAKE-AVX512" "/Qx:SKYLAKE-AVX512")
- ocv_intel_compiler_optimization_option(AVX512_CNL "-xCANNONLAKE" "/Qx:CANNONLAKE")
ocv_intel_compiler_optimization_option(AVX512_CLX "-xCASCADELAKE" "/Qx:CASCADELAKE")
- ocv_intel_compiler_optimization_option(AVX512_ICL "-xICELAKE-CLIENT" "/Qx:ICELAKE-CLIENT")
elseif(CV_GCC OR CV_CLANG)
ocv_update(CPU_AVX2_FLAGS_ON "-mavx2")
ocv_update(CPU_FP16_FLAGS_ON "-mf16c")
@@ -270,8 +254,6 @@
if(NOT (CV_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "5.0")) # GCC >= 5.0
ocv_update(CPU_AVX_512F_FLAGS_ON "-mavx512f")
ocv_update(CPU_AVX_512CD_FLAGS_ON "-mavx512cd")
- ocv_update(CPU_AVX512_KNL_EXTRA_FLAGS_ON "-mavx512er -mavx512pf")
- ocv_update(CPU_AVX512_KNM_EXTRA_FLAGS_ON "-mavx5124fmaps -mavx5124vnniw")
ocv_update(CPU_AVX_512BW_FLAGS_ON "-mavx512bw")
ocv_update(CPU_AVX_512DQ_FLAGS_ON "-mavx512dq")
ocv_update(CPU_AVX_512VL_FLAGS_ON "-mavx512vl")

View File

@ -0,0 +1,45 @@
# JH 2020
easyblock = 'MesonNinja'
name = 'Pango'
version = '1.44.7'
homepage = 'https://www.pango.org/'
description = """Pango is a library for laying out and rendering of text, with an emphasis on internationalization.
Pango can be used anywhere that text layout is needed, though most of the work on Pango so far has been done in the
context of the GTK+ widget toolkit. Pango forms the core of text and font handling for GTK+-2.x."""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['66a5b6cc13db73efed67b8e933584509f8ddb7b10a8a40c3850ca4a985ea1b1f']
builddependencies = [
('binutils', '2.32'),
('Meson', '0.53.0', '-Py-3.7', True),
('Ninja', '1.9.0', '', True),
('GObject-Introspection', '1.63.1', '-Py-3.7'),
('pkg-config', '0.29.2'),
]
dependencies = [
('X11', '20190717'),
('GLib', '2.64.0'),
('cairo', '1.17.2'),
('HarfBuzz', '2.6.4'),
('FriBidi', '1.0.9'),
]
maxparallel = 1
configopts = "--buildtype=release --default-library=both "
sanity_check_paths = {
'files': ['bin/pango-view', 'lib/libpango-1.0.%s' % SHLIB_EXT, 'lib/libpangocairo-1.0.%s' % SHLIB_EXT,
'lib/libpangoft2-1.0.%s' % SHLIB_EXT, 'lib/libpangoxft-1.0.%s' % SHLIB_EXT],
'dirs': [],
}
moduleclass = 'vis'

View File

@ -11,7 +11,7 @@ description = """Python 3.6 toolchain"""
toolchain = SYSTEM
dependencies = [
('Python', '3.6.9', '-base', ('GCC', '8.3.0-2.32')),
('Python', '3.6.10', '-base', ('GCCcore', '8.3.0')),
('GCC', '8.3.0-2.32'),
]

View File

@ -11,7 +11,7 @@ description = """Python 3.7 toolchain"""
toolchain = SYSTEM
dependencies = [
('Python', '3.7.5', '-base', ('GCC', '8.3.0-2.32')),
('Python', '3.7.7', '-base', ('GCCcore', '8.3.0')),
('GCC', '8.3.0-2.32'),
]

View File

@ -11,7 +11,7 @@ description = """Python 3.7 toolchain"""
toolchain = SYSTEM
dependencies = [
('Python', '3.8.2', '-base', ('GCC', '8.3.0-2.32')),
('Python', '3.8.2', '-base', ('GCCcore', '8.3.0')),
('GCC', '8.3.0-2.32'),
]

View File

@ -0,0 +1,63 @@
# IT4Innovations 2020
name = 'Python'
version = '3.6.10'
versionsuffix = '-base'
homepage = 'http://python.org/'
description = """Python is a programming language that lets you work more quickly and integrate your systems
more effectively."""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
toolchainopts = {'pic': True}
source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/']
sources = [SOURCE_TGZ]
dependencies = [
('binutils', '2.32'), # required for pip install that involves compilation
('bzip2', '1.0.8'), # required for bz2 package in Python stdlib
('zlib', '1.2.11'),
('libreadline', '8.0'),
('ncurses', '6.1'),
('SQLite', '3.30.1'),
('XZ', '5.2.4'),
('GMP', '6.1.2'), # required for pycrypto
('libffi', '3.3'), # required for cryptography
# OS dependency should be preferred if the os version is more recent then this version,
# it's nice to have an up to date openssl for security reasons
# Python 3.7 requires OpenSSL >= 1.0.2, uncomment line below if OS version is too old (e.g. CentOS 6)
# ('OpenSSL', '1.1.0j'),
]
#osdependencies = [('openssl-devel', 'libssl-dev', 'libopenssl-devel')]
# symlink 'pip' command to 'pip3' that is included with Python installation
# required so we can update pip to version included in extensions, using pip
installopts = " && ln -s %(installdir)s/bin/pip3 %(installdir)s/bin/pip"
#exts_default_options = {
# 'download_dep_fail': True,
# 'use_pip': True,
#}
# order is important!
# package versions updated Mar 15th 2019
exts_list = [
('pip', '20.0.2', {
'source_urls': ['https://pypi.python.org/packages/source/p/pip/'],
# don't use --ignore-installed, i.e. let pip remove older pip version included with Python
'pip_ignore_installed': False,
}),
('setuptools', '46.0.0', {
'source_urls': ['https://pypi.python.org/packages/source/s/setuptools'],
'source_tmpl': '%(name)s-%(version)s.zip',
# don't use --ignore-installed, i.e. let pip remove older setuptools version included with Python
'pip_ignore_installed': False,
}),
('wheel', '0.34.2', {
'source_urls': ['https://pypi.python.org/packages/source/w/wheel'],
})
]
moduleclass = 'lang'

View File

@ -0,0 +1,63 @@
# IT4Innovations 2020
name = 'Python'
version = '3.7.7'
versionsuffix = '-base'
homepage = 'http://python.org/'
description = """Python is a programming language that lets you work more quickly and integrate your systems
more effectively."""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
toolchainopts = {'pic': True}
source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/']
sources = [SOURCE_TGZ]
dependencies = [
('binutils', '2.32'), # required for pip install that involves compilation
('bzip2', '1.0.8'), # required for bz2 package in Python stdlib
('zlib', '1.2.11'),
('libreadline', '8.0'),
('ncurses', '6.1'),
('SQLite', '3.30.1'),
('XZ', '5.2.4'),
('GMP', '6.1.2'), # required for pycrypto
('libffi', '3.3'), # required for cryptography
# OS dependency should be preferred if the os version is more recent then this version,
# it's nice to have an up to date openssl for security reasons
# Python 3.7 requires OpenSSL >= 1.0.2, uncomment line below if OS version is too old (e.g. CentOS 6)
# ('OpenSSL', '1.1.0j'),
]
#osdependencies = [('openssl-devel', 'libssl-dev', 'libopenssl-devel')]
# symlink 'pip' command to 'pip3' that is included with Python installation
# required so we can update pip to version included in extensions, using pip
installopts = " && ln -s %(installdir)s/bin/pip3 %(installdir)s/bin/pip"
#exts_default_options = {
# 'download_dep_fail': True,
# 'use_pip': True,
#}
# order is important!
# package versions updated Mar 15th 2019
exts_list = [
('pip', '20.0.2', {
'source_urls': ['https://pypi.python.org/packages/source/p/pip/'],
# don't use --ignore-installed, i.e. let pip remove older pip version included with Python
'pip_ignore_installed': False,
}),
('setuptools', '46.0.0', {
'source_urls': ['https://pypi.python.org/packages/source/s/setuptools'],
'source_tmpl': '%(name)s-%(version)s.zip',
# don't use --ignore-installed, i.e. let pip remove older setuptools version included with Python
'pip_ignore_installed': False,
}),
('wheel', '0.34.2', {
'source_urls': ['https://pypi.python.org/packages/source/w/wheel'],
})
]
moduleclass = 'lang'

View File

@ -15,14 +15,14 @@ source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/']
sources = [SOURCE_TGZ]
dependencies = [
('bzip2', '1.0.8', '', True), # required for bz2 package in Python stdlib
('zlib', '1.2.11', '', True),
('libreadline', '8.0', '', True),
('ncurses', '6.1', '', True),
('SQLite', '3.30.1', '', True),
('XZ', '5.2.4', '', True),
('GMP', '6.1.2', '', True), # required for pycrypto
('libffi', '3.3', '', True), # required for cryptography
('bzip2', '1.0.8'), # required for bz2 package in Python stdlib
('zlib', '1.2.11'),
('libreadline', '8.0'),
('ncurses', '6.1'),
('SQLite', '3.30.1'),
('XZ', '5.2.4'),
('GMP', '6.1.2'), # required for pycrypto
('libffi', '3.3'), # required for cryptography
# OS dependency should be preferred if the os version is more recent then this version,
# it's nice to have an up to date openssl for security reasons
# Python 3.7 requires OpenSSL >= 1.0.2, uncomment line below if OS version is too old (e.g. CentOS 6)

View File

@ -0,0 +1,63 @@
# IT4Innovations 2020
name = 'Python'
version = '3.8.2'
versionsuffix = '-base'
homepage = 'http://python.org/'
description = """Python is a programming language that lets you work more quickly and integrate your systems
more effectively."""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
toolchainopts = {'pic': True}
source_urls = ['http://www.python.org/ftp/%(namelower)s/%(version)s/']
sources = [SOURCE_TGZ]
dependencies = [
('binutils', '2.32'), # required for pip install that involves compilation
('bzip2', '1.0.8'), # required for bz2 package in Python stdlib
('zlib', '1.2.11'),
('libreadline', '8.0'),
('ncurses', '6.1'),
('SQLite', '3.30.1'),
('XZ', '5.2.4'),
('GMP', '6.1.2'), # required for pycrypto
('libffi', '3.3'), # required for cryptography
# OS dependency should be preferred if the os version is more recent then this version,
# it's nice to have an up to date openssl for security reasons
# Python 3.7 requires OpenSSL >= 1.0.2, uncomment line below if OS version is too old (e.g. CentOS 6)
# ('OpenSSL', '1.1.0j'),
]
#osdependencies = [('openssl-devel', 'libssl-dev', 'libopenssl-devel')]
# symlink 'pip' command to 'pip3' that is included with Python installation
# required so we can update pip to version included in extensions, using pip
installopts = " && ln -s %(installdir)s/bin/pip3 %(installdir)s/bin/pip"
#exts_default_options = {
# 'download_dep_fail': True,
# 'use_pip': True,
#}
# order is important!
# package versions updated Mar 15th 2019
exts_list = [
('pip', '20.0.2', {
'source_urls': ['https://pypi.python.org/packages/source/p/pip/'],
# don't use --ignore-installed, i.e. let pip remove older pip version included with Python
'pip_ignore_installed': False,
}),
('setuptools', '46.0.0', {
'source_urls': ['https://pypi.python.org/packages/source/s/setuptools'],
'source_tmpl': '%(name)s-%(version)s.zip',
# don't use --ignore-installed, i.e. let pip remove older setuptools version included with Python
'pip_ignore_installed': False,
}),
('wheel', '0.34.2', {
'source_urls': ['https://pypi.python.org/packages/source/w/wheel'],
})
]
moduleclass = 'lang'

View File

@ -0,0 +1,39 @@
# IT4Innovations 2020
easyblock = 'ConfigureMake'
name = 'SQLite'
version = '3.30.1'
homepage = 'http://www.sqlite.org/'
description = 'SQLite: SQL Database Engine in a C Library'
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = ['http://www.sqlite.org/2019/']
local_version_minor_etc = version.split('.')[1:]
local_version_minor_etc += '0' * (3 - len(local_version_minor_etc))
local_version_str = '%(version_major)s' + ''.join('%02d' % int(x)
for x in local_version_minor_etc)
sources = [
'sqlite-autoconf-%s.tar.gz' % local_version_str,
'sqlite-amalgamation-%s.zip' % local_version_str,
]
dependencies = [
('libreadline', '8.0'),
('Tcl', '8.6.10'),
]
sanity_check_paths = {
'files': [
'bin/sqlite3',
'include/sqlite3ext.h',
'include/sqlite3.h',
'lib/libsqlite3.a',
'lib/libsqlite3.%s' %
SHLIB_EXT],
'dirs': ['lib/pkgconfig'],
}
moduleclass = 'devel'

View File

@ -0,0 +1,27 @@
# IT4Innovations 2020
easyblock = 'ConfigureMake'
name = 'Tcl'
version = '8.6.10'
homepage = 'http://www.tcl.tk/'
description = """Tcl (Tool Command Language) is a very powerful but easy to learn dynamic programming language,
suitable for a very wide range of uses, including web and desktop applications, networking, administration,
testing and many more."""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = ["http://prdownloads.sourceforge.net/tcl"]
sources = ['%(namelower)s%(version)s-src.tar.gz']
dependencies = [
('zlib', '1.2.11'),
]
configopts = '--enable-threads EXTRA_INSTALL="install-private-headers"'
runtest = 'test'
start_dir = 'unix'
moduleclass = 'lang'

View File

@ -13,7 +13,7 @@ description = """The Visualization Toolkit (VTK) is an open-source, freely avail
algorithms including: scalar, vector, tensor, texture, and volumetric methods; and advanced modeling techniques
such as: implicit modeling, polygon reduction, mesh smoothing, cutting, contouring, and Delaunay triangulation."""
toolchain = {'name': 'intel', 'version': '2020a'}
toolchain = {'name': 'foss', 'version': '2019b'}
toolchainopts = {'usempi': True}
source_urls = ['https://www.vtk.org/files/release/%(version_major_minor)s']

View File

@ -1,4 +1,4 @@
# IT4Innovations 2020
# JH 2020
easyblock = 'CMakeMake'
@ -6,9 +6,9 @@ name = 'VTK'
version = '8.2.0'
versionsuffix = '-Py-3.7'
homepage = 'http://www.vtk.org'
homepage = 'https://www.vtk.org'
description = """The Visualization Toolkit (VTK) is an open-source, freely available software system for
3D local_computer graphics, image processing and visualization. VTK consists of a C++ class library and several
3D computer graphics, image processing and visualization. VTK consists of a C++ class library and several
interpreted interface layers including Tcl/Tk, Java, and Python. VTK supports a wide variety of visualization
algorithms including: scalar, vector, tensor, texture, and volumetric methods; and advanced modeling techniques
such as: implicit modeling, polygon reduction, mesh smoothing, cutting, contouring, and Delaunay triangulation."""
@ -21,9 +21,11 @@ sources = [
SOURCE_TAR_GZ,
'%(name)sData-%(version)s.tar.gz',
]
patches = [('vtk-version.egg-info', '.')]
checksums = [
'34c3dc775261be5e45a8049155f7228b6bd668106c72a3c435d95730d17d57bb', # VTK-8.2.0.tar.gz
'd1ff312f7a63d90d8b7033a99109801f16a462ae411d648642838aae04bcc21e', # VTKData-8.2.0.tar.gz
'787b82415ae7a4a1f815b4db0e25f7abc809a05fc85d7d219627f3a7e5d3867b', # vtk-version.egg-info
]
builddependencies = [('CMake', '3.16.2', '', True)]
@ -34,15 +36,13 @@ dependencies = [
('HDF5', '1.10.6'),
('netCDF', '4.7.3'),
('libGLU', '9.0.1', '-Mesa-19.2.1'),
('X11', '20190717', '', True),
('X11', '20190717'),
('numpy', '1.18.1', versionsuffix, True),
('mpi4py', '3.0.1', versionsuffix),
]
separate_build_dir = True
maxparallel = 1
# Third party modules
configopts = "-DVTK_USE_SYSTEM_MPI4PY=ON "
configopts += "-DVTK_USE_SYSTEM_LZMA=ON "
@ -54,16 +54,23 @@ configopts += "-DOPENGL_gl_LIBRARY=$EBROOTMESA/lib/libGL.%s " % SHLIB_EXT
configopts += "-DOPENGL_INCLUDE_DIR=$EBROOTMESA/include "
# Python
configopts += "-DVTK_WRAP_PYTHON=ON "
configopts += "-DVTK_PYTHON_VERSION=2.7 "
configopts += "-DVTK_PYTHON_VERSION=3.7 "
configopts += "-DPYTHON_INCLUDE_DIR=$EBROOTPYTHON/include/python3.7m "
configopts += "-DPYTHON_LIBRARY=$EBROOTPYTHON/lib/libpython3.%s " % SHLIB_EXT
configopts += "-DPYTHON_LIBRARY=$EBROOTPYTHON/lib/libpython3.7m.%s " % SHLIB_EXT
# Other
configopts += "-DVTK_Group_MPI:BOOL=ON "
configopts += "-DCMAKE_INSTALL_LIBDIR=lib"
preinstallopts = "export PYTHONPATH=%(installdir)s/lib/python3.7/site-packages:$PYTHONPATH && "
modextrapaths = {'PYTHONPATH': ['lib/python2.7/site-packages']}
# Install a egg-info file so VTK is more python friendly, required for mayavi
local_egg_info_src = '%(builddir)s/VTK-%(version)s/vtk-version.egg-info'
local_egg_info_dest = '%(installdir)s/lib/python3.7/site-packages/vtk-%(version)s.egg-info'
postinstallcmds = [
'sed "s/#VTK_VERSION#/%%(version)s/" %s > %s' % (local_egg_info_src, local_egg_info_dest),
]
modextrapaths = {'PYTHONPATH': ['lib/python3.7/site-packages']}
sanity_check_paths = {
'files': ['bin/vtk%s-%%(version_major_minor)s' % x for x in
@ -72,6 +79,10 @@ sanity_check_paths = {
'dirs': ['lib/python3.7/site-packages/', 'include/vtk-%(version_major_minor)s'],
}
sanity_check_commands = [('python', "-c 'import %(namelower)s'")]
sanity_check_commands = [
('python', "-c 'import %(namelower)s'"),
('python', "-c 'import pkg_resources; pkg_resources.get_distribution(\"vtk\")'"),
]
moduleclass = 'vis'

View File

@ -1,4 +1,4 @@
# IT4Innovations 2019
# JH 2020
easyblock = 'Bundle'
@ -21,17 +21,17 @@ source_urls = [
]
dependencies = [
('bzip2', '1.0.6', '', True),
('fontconfig', '2.13.1'),
('bzip2', '1.0.8'),
('fontconfig', '2.12.6'),
('freetype', '2.10.1'),
('zlib', '1.2.11', '', True),
('zlib', '1.2.11'),
]
builddependencies = [
('binutils', '2.32'),
('Autotools', '20180311', '', True),
('Bison', '3.3.2', '', True),
('gettext', '0.19.4', '', True),
('pkg-config', '0.29.2', '', True),
('gettext', '0.20.1'),
('pkg-config', '0.29.2'),
('intltool', '0.51.0'),
]

View File

@ -20,9 +20,8 @@ checksums = [
builddependencies = [
# use gettext built with dummy as build dep to avoid cyclic dependency (XZ -> gettext -> libxml2 -> XZ)
('gettext', '0.19.8.1', '', True),
('gettext', '0.19.8.1'),
# use same binutils version that was used when building GCCcore toolchain
('binutils', '2.32'),
]
# may become useful in non-x86 archs

View File

@ -0,0 +1,39 @@
# JH 2020
easyblock = 'ConfigureMake'
name = 'x264'
version = '20190925'
homepage = 'https://www.videolan.org/developers/x264.html'
description = """
x264 is a free software library and application for encoding video streams
into the H.264/MPEG-4 AVC compression format, and is released under the
terms of the GNU GPL.
"""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
toolchainopts = {'pic': True}
source_urls = [
'https://download.videolan.org/pub/videolan/x264/snapshots/',
'ftp://ftp.videolan.org/pub/videolan/x264/snapshots/',
]
sources = ['x264-snapshot-%(version)s-2245-stable.tar.bz2']
checksums = ['e55c11466c2ff33463d6bb45399432140a730689d01a1131dadcf0f768fe290e']
builddependencies = [
('binutils', '2.32'),
('NASM', '2.13.03', '', True),
]
configopts = " --enable-shared --enable-static"
sanity_check_paths = {
'files': ['bin/x264', 'include/x264_config.h', 'include/x264.h',
'lib/libx264.a', 'lib/libx264.%s' % SHLIB_EXT],
'dirs': [],
}
moduleclass = 'vis'

View File

@ -0,0 +1,38 @@
# JH 2020
easyblock = 'CMakeMake'
name = 'x265'
version = '3.2'
homepage = 'https://x265.org/'
description = """
x265 is a free software library and application for encoding video streams
into the H.265 AVC compression format, and is released under the terms of
the GNU GPL.
"""
toolchain = {'name': 'GCCcore', 'version': '8.3.0'}
source_urls = [
'https://bitbucket.org/multicoreware/x265/downloads/',
'https://download.videolan.org/pub/videolan/x265/',
]
sources = ['%(name)s_%(version)s.tar.gz']
checksums = ['364d79bcd56116a9e070fdeb1d9d2aaef1a786b4970163fb56ff0991a183133b']
builddependencies = [
('binutils', '2.32'),
('CMake', '3.16.2', '', True),
('Yasm', '1.3.0'),
]
start_dir = 'source'
sanity_check_paths = {
'files': ['bin/x265', 'include/x265_config.h', 'include/x265.h', 'lib/libx265.a', 'lib/libx265.%s' % SHLIB_EXT],
'dirs': [],
}
moduleclass = 'vis'