Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{data}[GCC/13.3.0] DBD-mysql v4.051, MariaDB v11.7.0, Judy v1.0.5 #21813

Merged
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
30 changes: 30 additions & 0 deletions easybuild/easyconfigs/d/DBD-mysql/DBD-mysql-4.051-GCC-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
easyblock = 'PerlModule'

name = 'DBD-mysql'
version = '4.051'

homepage = 'https://metacpan.org/pod/distribution/DBD-mysql/lib/DBD/mysql.pm'
description = "Perl binding for MySQL"

toolchain = {'name': 'GCC', 'version': '13.3.0'}

source_urls = ['https://cpan.metacpan.org/authors/id/D/DV/DVEEDEN']
sources = [SOURCE_TAR_GZ]
checksums = ['16969bfae7a080384167be3fb1803450fde87f7b0e2682276b3f6469fa147864']

dependencies = [
('Perl', '5.38.2'),
('Perl-bundle-CPAN', '5.38.2'),
('MariaDB', '11.7.0'),
('zlib', '1.3.1'),
('OpenSSL', '3', '', SYSTEM),
]

options = {'modulename': 'DBD::mysql'}

sanity_check_paths = {
'files': ['lib/perl5/site_perl/%%(perlver)s/%s-linux-thread-multi/DBD/mysql.pm' % ARCH],
'dirs': ['lib/perl5/site_perl/%%(perlver)s/%s-linux-thread-multi/DBD/mysql' % ARCH],
}

moduleclass = 'data'
34 changes: 34 additions & 0 deletions easybuild/easyconfigs/j/Judy/Judy-1.0.5-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
easyblock = 'ConfigureMake'

name = 'Judy'
version = '1.0.5'

homepage = 'http://judy.sourceforge.net/'
description = "A C library that implements a dynamic array."

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}

source_urls = ['http://downloads.sourceforge.net/judy']
sources = ['%(name)s-%(version)s.tar.gz']
patches = ['Judy-1.0.5_parallel-make.patch'] # fix Make dependencies, so parallel build also works

builddependencies = [
('Autotools', '20231222'),
('binutils', '2.42'),
]
checksums = [
'd2704089f85fdb6f2cd7e77be21170ced4b4375c03ef1ad4cf1075bd414a63eb', # Judy-1.0.5.tar.gz
'14c2eba71088f3db9625dc4605c6d7183d72412d75ef6c9fd9b95186165cf009', # Judy-1.0.5_parallel-make.patch
]

preconfigopts = "sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac && "
preconfigopts += "autoreconf -i && "

configopts = '--enable-shared --enable-static'

sanity_check_paths = {
'files': ["include/%(name)s.h", "lib/lib%(name)s.a", "lib/lib%(name)s.la", "lib/lib%%(name)s.%s" % SHLIB_EXT],
'dirs': ["share/man"]
}

moduleclass = 'lib'
65 changes: 65 additions & 0 deletions easybuild/easyconfigs/m/MariaDB/MariaDB-11.7.0-GCC-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
easyblock = 'CMakeMake'

name = 'MariaDB'
version = '11.7.0'

homepage = 'https://mariadb.org/'
description = """MariaDB is an enhanced, drop-in replacement for MySQL.
Included engines: myISAM, Aria, InnoDB, RocksDB, TokuDB, OQGraph, Mroonga."""

toolchain = {'name': 'GCC', 'version': '13.3.0'}

source_urls = [
'https://archive.mariadb.org/mariadb-%(version)s/source/',
'http://ftp.hosteurope.de/mirror/archive.mariadb.org/mariadb-%(version)s/source',
]
sources = [SOURCELOWER_TAR_GZ]
patches = ['MariaDB-10.1.13-link-rt-for-jemalloc.patch']
checksums = [
{'mariadb-11.7.0.tar.gz': 'b0059a9550bb277790f1ec51e0eb329a8fbb8acfd98b5adb259bc0560ff70553'},
{'MariaDB-10.1.13-link-rt-for-jemalloc.patch': '8295837e623f6c782e1d64b00e0877ea98cce4bf8846755bb86c8a7732797c19'},
]

builddependencies = [
('CMake', '3.29.3'),
('libaio', '0.3.113'),
]

dependencies = [
('ncurses', '6.5'),
('zlib', '1.3.1'),
('LZO', '2.10'), # optional
('lz4', '1.9.4'), # optional
('XZ', '5.4.5'), # optional
('jemalloc', '5.3.0'), # optional
('snappy', '1.1.10'), # needed by RocksDB; optional for InnoDB
('libxml2', '2.12.7'), # needed by Connect XML
('Boost', '1.85.0'), # needed by OQGraph
('Judy', '1.0.5'), # needed by OQGraph
('PCRE2', '10.43'),
('OpenSSL', '3', '', SYSTEM), # runtime dep for mysql and PCRE2 for mysqltest
]

configopts = "-DCMAKE_SHARED_LINKER_FLAGS='-fuse-ld=bfd' " # Linking fails with default gold linker
configopts += "-DMYSQL_MAINTAINER_MODE=OFF " # disabled to not treat warnings as errors (-Werror)
configopts += "-DWITH_PCRE=auto " # External download sometimes fails so we build PCRE2 directly.
configopts += "-DWITH_ZLIB=system "
configopts += "-DWITH_EMBEDDED_SERVER=ON " # for libmysqld.so & co
configopts += "-DWITH_SAFEMALLOC=OFF " # Disable memory debugger with jemalloc

sanity_check_commands = ["mysql --help", "mysqltest --help"]

sanity_check_paths = {
'files': ['bin/mysql', 'bin/mysqld_safe', 'lib/libmysqlclient.%s' % SHLIB_EXT, 'lib/libmysqld.%s' % SHLIB_EXT,
'lib/plugin/ha_connect.%s' % SHLIB_EXT, 'lib/plugin/ha_rocksdb.%s' % SHLIB_EXT,
'lib/plugin/ha_oqgraph.%s' % SHLIB_EXT, 'scripts/mysql_install_db'],
'dirs': ['include', 'share'],
}

modextrapaths = {'PATH': 'scripts'}

# Ensure that jemalloc does not use transparent hugepages.
# Database workloads with THP can cause memory bloat, potentially hiting OOM errors.
modextravars = {'MALLOC_CONF': 'thp:never'}

moduleclass = 'data'
Loading