Commit 7be452d7 authored by Stepan Nassyr's avatar Stepan Nassyr
Browse files

WIP: armlinux 22.0.1 packages + some expat version fixes

parent c6323cdd
== Temporary log file in case of crash /tmp/eb-tkb_qdm0/eb-z1txuse7/easybuild-fiheml_x.log
== resolving dependencies ...
== processing EasyBuild easyconfig /home/snassyr/SourceCode/git/juawei-easyconfigs/Golden_Repo/2021a/c/CMake/CMake-3.20.0-armlinux-22.0.1.eb
== building and installing Compiler/armlinux/22.0.1/CMake/3.20.0...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== patching...
== preparing...
== ... (took 2 secs)
== configuring...
== ... (took 5 mins 54 secs)
== building...
== ... (took 58 secs)
== testing...
== installing...
== ... (took 12 secs)
== taking care of extensions...
== restore after iterating...
== postprocessing...
== sanity checking...
== ... (took 2 secs)
== cleaning up...
== creating module...
== ... (took 3 secs)
== permissions...
== packaging...
== COMPLETED: Installation ended successfully (took 7 mins 15 secs)
== Results of the build can be found in the log file(s) /software/kp920-RL8/Stages/2021a/software/CMake/3.20.0-armlinux-22.0.1/easybuild/easybuild-CMake-3.20.0-20220506.204602.log
== Build succeeded for 1 out of 1
== Temporary log file(s) /tmp/eb-tkb_qdm0/eb-z1txuse7/easybuild-fiheml_x.log* have been removed.
== Temporary directory /tmp/eb-tkb_qdm0/eb-z1txuse7 has been removed.
== Temporary log file in case of crash /tmp/eb-tkb_qdm0/eb-na5owwf1/easybuild-etxyphsx.log
== resolving dependencies ...
== processing EasyBuild easyconfig /home/snassyr/SourceCode/git/juawei-easyconfigs/Golden_Repo/2021a/p/PostgreSQL/PostgreSQL-13.2-armlinux-22.0.1.eb
== building and installing Compiler/armlinux/22.0.1/PostgreSQL/13.2...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== patching...
== preparing...
== ... (took 4 secs)
== configuring...
== ... (took 16 secs)
== building...
== ... (took 35 secs)
== testing...
== installing...
== ... (took 5 secs)
== taking care of extensions...
== restore after iterating...
== postprocessing...
== sanity checking...
== ... (took 4 secs)
== cleaning up...
== creating module...
== ... (took 5 secs)
== permissions...
== packaging...
== COMPLETED: Installation ended successfully (took 1 min 12 secs)
== Results of the build can be found in the log file(s) /software/kp920-RL8/Stages/2021a/software/PostgreSQL/13.2-armlinux-22.0.1/easybuild/easybuild-PostgreSQL-13.2-20220506.204021.log
== Build succeeded for 1 out of 1
== Temporary log file(s) /tmp/eb-tkb_qdm0/eb-na5owwf1/easybuild-etxyphsx.log* have been removed.
== Temporary directory /tmp/eb-tkb_qdm0/eb-na5owwf1 has been removed.
== Temporary log file in case of crash /tmp/eb-tkb_qdm0/eb-erv4vhvd/easybuild-utoajcc0.log
== resolving dependencies ...
== processing EasyBuild easyconfig /home/snassyr/SourceCode/git/juawei-easyconfigs/Golden_Repo/2021a/s/SQLite/SQLite-3.35.3-armlinux-22.0.1.eb
== building and installing Compiler/armlinux/22.0.1/SQLite/.3.35.3...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== patching...
== preparing...
== ... (took 2 secs)
== configuring...
== ... (took 4 secs)
== building...
== ... (took 2 mins 42 secs)
== testing...
== installing...
== taking care of extensions...
== restore after iterating...
== postprocessing...
== sanity checking...
== ... (took 3 secs)
== cleaning up...
== creating module...
== ... (took 4 secs)
== permissions...
== packaging...
== COMPLETED: Installation ended successfully (took 2 mins 57 secs)
== Results of the build can be found in the log file(s) /software/kp920-RL8/Stages/2021a/software/SQLite/3.35.3-armlinux-22.0.1/easybuild/easybuild-SQLite-3.35.3-20220506.204205.log
== Build succeeded for 1 out of 1
== Temporary log file(s) /tmp/eb-tkb_qdm0/eb-erv4vhvd/easybuild-utoajcc0.log* have been removed.
== Temporary directory /tmp/eb-tkb_qdm0/eb-erv4vhvd has been removed.
......@@ -22,7 +22,7 @@ builddependencies = [
dependencies = [
('APR', '1.7.0'),
('SQLite', '3.35.3'),
('expat', '2.4.2'),
('expat', '2.4.8'),
]
configopts = "--with-apr=$EBROOTAPR/bin/apr-1-config --with-sqlite3=$EBROOTSQLITE --with-expat=$EBROOTEXPAT "
......
# This file is part of JSC's public easybuild repository (https://github.com/easybuilders/jsc)
easyblock = 'ConfigureMake'
name = 'APR-util'
version = '1.6.1'
homepage = 'http://apr.apache.org/'
description = """
Apache Portable Runtime (APR) util libraries.
"""
toolchain = {'name': 'armlinux', 'version': '22.0.1'}
source_urls = ['http://archive.apache.org/dist/apr/']
sources = [SOURCELOWER_TAR_GZ]
builddependencies = [
('binutils', '2.36.1'),
]
dependencies = [
('APR', '1.7.0'),
('SQLite', '3.35.3'),
('expat', '2.4.8'),
]
configopts = "--with-apr=$EBROOTAPR/bin/apr-1-config --with-sqlite3=$EBROOTSQLITE --with-expat=$EBROOTEXPAT "
sanity_check_paths = {
'files': ["bin/apu-1-config", "lib/libaprutil-1.%s" % SHLIB_EXT, "lib/libaprutil-1.a"],
'dirs': ["include/apr-1"],
}
parallel = 1
moduleclass = 'tools'
# This file is part of JSC's public easybuild repository (https://github.com/easybuilders/jsc)
easyblock = 'ConfigureMake'
name = 'APR'
version = '1.7.0'
homepage = 'http://apr.apache.org/'
description = """
Apache Portable Runtime (APR) libraries.
"""
toolchain = {'name': 'armlinux', 'version': '22.0.1'}
source_urls = ['http://archive.apache.org/dist/apr/']
sources = [SOURCELOWER_TAR_GZ]
builddependencies = [
('binutils', '2.36.1')
]
sanity_check_paths = {
'files': ["bin/apr-1-config", "lib/libapr-1.%s" % SHLIB_EXT, "lib/libapr-1.a"],
'dirs': ["include/apr-1"],
}
moduleclass = 'tools'
# This file is part of JSC's public easybuild repository (https://github.com/easybuilders/jsc)
easyblock = 'MesonNinja'
name = 'AT-SPI2-ATK'
version = '2.38.0'
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': 'armlinux', 'version': '22.0.1'}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['cfa008a5af822b36ae6287f18182c40c91dd699c55faa38605881ed175ca464f']
builddependencies = [
('binutils', '2.36.1'),
('GObject-Introspection', '1.68.0'),
('Meson', '0.57.1', '-Python-3.9.4'),
('Ninja', '1.10.2'),
('pkg-config', '0.29.2'),
]
dependencies = [
('DBus', '1.13.18'),
('ATK', '2.36.0'),
('AT-SPI2-core', '2.40.0')
]
modextrapaths = {
'XDG_DATA_DIRS': 'share',
}
sanity_check_paths = {
'files': ['lib/libatk-bridge-2.0.%s' % SHLIB_EXT],
'dirs': [],
}
moduleclass = 'vis'
# This file is part of JSC's public easybuild repository (https://github.com/easybuilders/jsc)
easyblock = 'MesonNinja'
name = 'AT-SPI2-core'
version = '2.40.0'
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': 'armlinux', 'version': '22.0.1'}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['4196a7d30a0051e52a67b8ce4283fe79ae5e4e14a725719934565adf1d333429']
# See https://gitlab.gnome.org/GNOME/at-spi2-core/merge_requests/9/diffs
# patches = ['atspi_meson_fullpath.patch']
builddependencies = [
('binutils', '2.36.1'),
('GObject-Introspection', '1.68.0'),
('Meson', '0.57.1', '-Python-3.9.4'),
('Ninja', '1.10.2'),
('pkg-config', '0.29.2'),
]
dependencies = [
('DBus', '1.13.18'),
('intltool', '0.51.0', '-Perl-5.32.1'),
('X11', '20210331'),
]
# without this, pkg-config can't find gio-2.0, because libselinux.pc is not found at the end of the dependency chain
preconfigopts = 'PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib64/pkgconfig '
modextrapaths = {
'GI_TYPELIB_PATH': 'lib64/girepository-1.0',
'XDG_DATA_DIRS': 'share',
}
sanity_check_paths = {
'files': ['lib64/libatspi.%s' % SHLIB_EXT],
'dirs': [],
}
moduleclass = 'vis'
# This file is part of JSC's public easybuild repository (https://github.com/easybuilders/jsc)
easyblock = 'MesonNinja'
name = 'ATK'
version = '2.36.0'
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': 'armlinux', 'version': '22.0.1'}
source_urls = [FTPGNOME_SOURCE]
sources = [SOURCELOWER_TAR_XZ]
checksums = ['fb76247e369402be23f1f5c65d38a9639c1164d934e40f6a9cf3c9e96b652788']
builddependencies = [
('binutils', '2.36.1'),
('GObject-Introspection', '1.68.0'),
('Meson', '0.57.1', '-Python-3.9.4'),
('Ninja', '1.10.2')
]
dependencies = [
('GLib', '2.68.0'),
]
modextrapaths = {
'GI_TYPELIB_PATH': 'lib64/girepository-1.0',
'XDG_DATA_DIRS': 'share',
}
sanity_check_paths = {
'files': ['lib64/libatk-1.0.%s' % SHLIB_EXT],
'dirs': [],
}
moduleclass = 'vis'
# This file is part of JSC's public easybuild repository (https://github.com/easybuilders/jsc)
easyblock = 'ConfigureMake'
name = 'Autoconf'
version = '2.71'
homepage = 'http://www.gnu.org/software/autoconf/'
description = """Autoconf is an extensible package of M4 macros that produce shell scripts
to automatically configure software source code packages. These scripts can adapt the
packages to many kinds of UNIX-like systems without manual user intervention. Autoconf
creates a configuration script for a package from a template file that lists the
operating system features that the package can use, in the form of M4 macro calls.
"""
toolchain = {'name': 'armlinux', 'version': '22.0.1'}
source_urls = [GNU_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['431075ad0bf529ef13cb41e9042c542381103e80015686222b8a9d4abef42a1c']
builddependencies = [
('binutils', '2.36.1')
]
dependencies = [
('M4', '1.4.18'),
]
sanity_check_paths = {
'files': ["bin/%s" % x for x in ["autoconf", "autoheader", "autom4te", "autoreconf", "autoscan",
"autoupdate", "ifnames"]],
'dirs': [],
}
moduleclass = 'devel'
# This file is part of JSC's public easybuild repository (https://github.com/easybuilders/jsc)
##
# This file is an EasyBuild reciPY as per https://github.com/hpcugent/easybuild
#
# Copyright:: Copyright 2012-2014 Uni.Lu/LCSB, NTUA
# Authors:: Fotis Georgatos <fotis@cern.ch>
# 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/
##
easyblock = 'ConfigureMake'
name = 'Automake'
version = "1.16.3"
homepage = 'http://www.gnu.org/software/automake/automake.html'
description = """
Automake: GNU Standards-compliant Makefile generator
"""
toolchain = {'name': 'armlinux', 'version': '22.0.1'}
source_urls = [GNU_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['ce010788b51f64511a1e9bb2a1ec626037c6d0e7ede32c1c103611b9d3cba65f']
builddependencies = [('binutils', '2.36.1')]
dependencies = [('Autoconf', '2.71')]
sanity_check_paths = {
'files': ['bin/automake', 'bin/aclocal'],
'dirs': []
}
moduleclass = 'devel'
# This file is part of JSC's public easybuild repository (https://github.com/easybuilders/jsc)
easyblock = 'Bundle'
name = 'Autotools'
version = '20210330' # date of the most recent change
homepage = 'http://autotools.io'
description = """
This bundle collect the standard GNU build tools: Autoconf, Automake and libtool
"""
toolchain = {'name': 'armlinux', 'version': '22.0.1'}
dependencies = [
('Autoconf', '2.71'), # 20120424
('Automake', '1.16.3'), # 20180311
('libtool', '2.4.6'), # 20150215
]
moduleclass = 'devel'
easyblock = 'CMakeNinja'
name = 'abseil-cpp'
version = '20210324.1'
homepage = 'https://abseil.io/'
description = "Abseil is an open source collection of C++ libraries drawn from the most fundamental pieces of Google’s internal codebase."
toolchain = {'name': 'armlinux', 'version': '22.0.1'}
toolchainopts = {'pic' : True}
github_account = 'abseil'
source_urls = [GITHUB_SOURCE]
sources = ['%(version)s.tar.gz']
checksums = ['441db7c09a0565376ecacf0085b2d4c2bbedde6115d7773551bc116212c2a8d6']
builddependencies = [
('binutils', '2.36.1'),
('CMake', '3.20.0'),
('Ninja', '1.10.2'),
]
configopts = "-DABSL_ENABLE_INSTALL=ON "
# Only check a subset of the files
sanity_check_paths = {
'files': ['include/absl/base/%s.h' % x for x in ['attributes','call_once','casts','config','const_init','dynamic_annotations','log_severity','macros','optimization','options','policy_checks','port','thread_annotations']]+
['lib/libabsl_%s.a' % x for x in ['base','city','flags','hash','log_severity','raw_hash_set','status','strings','time']]+
['lib/pkgconfig/absl_%s.pc' % x for x in ['any','base','config','flags','hash','log_severity','strings','time']]+
['lib/cmake/absl/absl%s.cmake' % x for x in ['Config','ConfigVersion','Targets','Targets-release']],
'dirs': ['include/absl/%s' % x for x in ['algorithm','base','cleanup','container','debugging','flags','functional','hash','memory','meta','numeric','random','status','strings','synchronization','time','types','utility']]
}
moduleclass = 'lib'
# This file is part of JSC's public easybuild repository (https://github.com/easybuilders/jsc)
easyblock = 'ConfigureMake'
name = 'Bison'
version = '3.7.6'
homepage = 'http://www.gnu.org/software/bison'
description = """Bison is a general-purpose parser generator that converts an annotated context-free grammar
into a deterministic LR or generalized LR (GLR) parser employing LALR(1) parser tables.
"""
toolchain = {'name': 'armlinux', 'version': '22.0.1'}
source_urls = [GNU_SOURCE]
sources = [SOURCELOWER_TAR_GZ]
checksums = ['69dc0bb46ea8fc307d4ca1e0b61c8c355eb207d0b0c69f4f8462328e74d7b9ea']
builddependencies = [
('M4', '1.4.18'),
# use same binutils version that was used when building GCCcore toolchain
('binutils', '2.36.1', '', True),
]
sanity_check_paths = {
'files': ["bin/%s" % x for x in ["bison", "yacc"]] + ["lib/liby.a"],
'dirs': [],
}
moduleclass = 'lang'
# This file is part of JSC's public easybuild repository (https://github.com/easybuilders/jsc)
name = 'Boost'
version = '1.75.0'
versionsuffix = '-Python-%(pyver)s'
homepage = 'http://www.boost.org/'
description = """Boost provides free peer-reviewed portable C++ source libraries."""
toolchain = {'name': 'alplompi', 'version': '22.0.1'}
toolchainopts = {'pic': True, 'usempi': True}
source_urls = ["https://boostorg.jfrog.io/artifactory/main/release/%(version)s/source/"]
sources = ['%%(namelower)s_%s.tar.gz' % '_'.join(version.split('.'))]
patches = [
# No 'm' for 3.8.0
# 'Boost-1.65.1_fix-Python3.patch',
'Boost-1.75.0_fix-armclang.patch'
]
checksums = ['aeb26f80e80945e82ee93e5939baebdca47b9dee80a07d3144be1e1a6a66dd6a']
dependencies = [
('bzip2', '1.0.8'),
('zlib', '1.2.11'),
('Python', '3.9.4'),
('ICU', '68.2'),
]
toolset='clang'
# also build boost_mpi
boost_mpi = True
moduleclass = 'devel'
# This file is part of JSC's public easybuild repository (https://github.com/easybuilders/jsc)
easyblock = 'ConfigureMake'
name = 'binutils'
version = '2.36.1'
homepage = 'http://directory.fsf.org/project/binutils/'
description = """
binutils: GNU binary utilities
"""
toolchain = {'name': 'armlinux', 'version': '22.0.1'}
toolchainopts = {'pic': True}
source_urls = [GNU_SOURCE]
sources = [SOURCE_TAR_GZ]
checksums = ['e68edeaaeb6ca9687b6dcbaedd1b376506baad2d48de26a885fc5ab6acb839da']
builddependencies = [
('flex', '2.6.4'),
('M4', '1.4.18'),
('Bison', '3.7.6'),
# zlib required, but being linked in statically, so not a runtime dep
('zlib', '1.2.11'),
# use same binutils version that was used when building GCC toolchain, to 'bootstrap' this binutils
('binutils', version, '', True)
]
# statically link with zlib, to avoid runtime dependency on zlib
preconfigopts = 'LIBS="$EBROOTZLIB/lib/libz.a"'
prebuildopts = 'LIBS="$EBROOTZLIB/lib/libz.a"'
# make sure that system libraries are also considered by ld and ld.gold is also built
# --enable-plugins should be used whenever --enable-gold is used, see http://llvm.org/docs/GoldPlugin.html
configopts = '--with-sysroot=/ --enable-gold --enable-ld=default --enable-plugins --enable-shared --enable-static'
postinstallcmds = [
"cp libiberty/libiberty.a %(installdir)s/lib/",
"cp include/libiberty.h %(installdir)s/include",
"cp include/demangle.h %(installdir)s/include/",
"mkdir %(installdir)s/info",
"cp libiberty/libiberty.texi %(installdir)s/info/"
]
local_binlist = ['addr2line', 'ar', 'as', 'c++filt', 'elfedit', 'gprof', 'ld', 'ld.bfd', 'ld.gold', 'nm',
'objcopy', 'objdump', 'ranlib', 'readelf', 'size', 'strings', 'strip']
sanity_check_paths = {
'files': ['bin/%s' % x for x in local_binlist] +
['lib/lib%s.%s' % (l, x) for l in ['bfd', 'opcodes'] for x in ['a', SHLIB_EXT]] +
['include/%s' % x for x in ['ansidecl.h', 'bfd.h', 'bfdlink.h', 'dis-asm.h', 'symcat.h']],
'dirs': [],
}
moduleclass = 'tools'
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': 'armlinux', 'version': '22.0.1'}
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 = [('binutils', '2.36.1')]
moduleclass = 'tools'
# This file is part of JSC's public easybuild repository (https://github.com/easybuilders/jsc)
easyblock = 'ConfigureMake'
name = 'CMake'