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

{lang,lib}[GCCcore/13.3.0] Python v3.12.3, libreadline v8.2, Tcl v8.6.14, libffi v3.4.5, SQLite v3.45.3 #20579

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
29 changes: 29 additions & 0 deletions easybuild/easyconfigs/l/libffi/libffi-3.4.5-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
easyblock = 'ConfigureMake'

name = 'libffi'
version = '3.4.5'

homepage = 'https://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': '13.3.0'}
toolchainopts = {'pic': True}

source_urls = ['https://github.com/libffi/libffi/releases/download/v%(version)s/']
sources = [SOURCELOWER_TAR_GZ]
checksums = ['96fff4e589e3b239d888d9aa44b3ff30693c2ba1617f953925a70ddebcc102b2']

builddependencies = [
('binutils', '2.42'),
]

configopts = '--disable-exec-static-tramp '

sanity_check_paths = {
'files': ['lib/libffi.a', 'lib/libffi.%s' % SHLIB_EXT],
'dirs': ['include', 'share'],
}

moduleclass = 'lib'
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
easyblock = 'ConfigureMake'

name = 'libreadline'
version = '8.2'

homepage = 'https://tiswww.case.edu/php/chet/readline/rltop.html'
description = """
The GNU Readline library provides a set of functions for use by applications
that allow users to edit command lines as they are typed in. Both Emacs and
vi editing modes are available. The Readline library includes additional
functions to maintain a list of previously-entered command lines, to recall
and perhaps reedit those lines, and perform csh-like history expansion on
previous commands.
"""

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
toolchainopts = {'pic': True}

source_urls = ['https://ftp.gnu.org/gnu/readline']
sources = ['readline-%(version)s.tar.gz']
checksums = ['3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35']

builddependencies = [
('binutils', '2.42'),
]
dependencies = [
('ncurses', '6.5'),
]

# for the termcap symbols, use EB ncurses
buildopts = "SHLIB_LIBS='-lncurses'"

sanity_check_paths = {
'files': ['lib/libreadline.a', 'lib/libhistory.a'] +
['include/readline/%s' % x
for x in ['chardefs.h', 'history.h', 'keymaps.h', 'readline.h',
'rlconf.h', 'rlstdc.h', 'rltypedefs.h', 'tilde.h']],
'dirs': [],
}

moduleclass = 'lib'
68 changes: 68 additions & 0 deletions easybuild/easyconfigs/p/Python/Python-3.12.3-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name = 'Python'
version = '3.12.3'

homepage = 'https://python.org/'
description = """Python is a programming language that lets you work more quickly and integrate your systems
more effectively."""

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
toolchainopts = {'pic': True}

source_urls = ['https://www.python.org/ftp/%(namelower)s/%(version)s/']
sources = [SOURCE_TGZ]
checksums = ['a6b9459f45a6ebbbc1af44f5762623fa355a0c87208ed417628b379d762dddb0']

builddependencies = [
('UnZip', '6.0'),
('pkgconf', '2.2.0'),
]

dependencies = [
('binutils', '2.42'),
('bzip2', '1.0.8'), # required for bz2 package in Python stdlib
('zlib', '1.3.1'),
('libreadline', '8.2'),
('ncurses', '6.5'),
('SQLite', '3.45.3'),
('XZ', '5.4.5'),
('libffi', '3.4.5'),
('OpenSSL', '3', '', SYSTEM),
]

install_pip = True

exts_default_options = {
'source_urls': [PYPI_SOURCE],
'use_pip': True,
}

# order is important!
# package versions updated 2024-05-21
exts_list = [
('flit_core', '3.9.0', {
'checksums': ['72ad266176c4a3fcfab5f2930d76896059851240570ce9a98733b658cb786eba'],
}),
('wheel', '0.43.0', {
'checksums': ['465ef92c69fa5c5da2d1cf8ac40559a8c940886afcef87dcf14b9470862f1d85'],
}),
('tomli', '2.0.1', {
'checksums': ['de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f'],
}),
('packaging', '24.0', {
'checksums': ['eb82c5e3e56209074766e6885bb04b8c38a0c015d0a30036ebe7ece34c9989e9'],
}),
('typing_extensions', '4.11.0', {
'checksums': ['83f085bd5ca59c80295fc2a82ab5dac679cbe02b9f33f7d83af68e241bea51b0'],
}),
('setuptools', '70.0.0', {
'checksums': ['f211a66637b8fa059bb28183da127d4e86396c991a942b028c6650d4319c3fd0'],
}),
('setuptools_scm', '8.1.0', {
'checksums': ['42dea1b65771cba93b7a515d65a65d8246e560768a66b9106a592c8e7f26c8a7'],
}),
('pip', '24.0', {
'checksums': ['ea9bd1a847e8c5774a5777bb398c19e80bcd4e2aa16a4b301b718fe6f593aba2'],
}),
]

moduleclass = 'lang'
39 changes: 39 additions & 0 deletions easybuild/easyconfigs/s/SQLite/SQLite-3.45.3-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
easyblock = 'ConfigureMake'

name = 'SQLite'
version = '3.45.3'
local_filename_version = '3450300'

homepage = 'https://www.sqlite.org/'
description = "SQLite: SQL Database Engine in a C Library"

toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
toolchainopts = {'pic': True}

source_urls = ['https://www.sqlite.org/2024/']
sources = ['%%(namelower)s-autoconf-%s.tar.gz' % (local_filename_version)]
checksums = ['b2809ca53124c19c60f42bf627736eae011afdcc205bb48270a5ee9a38191531']

builddependencies = [
('binutils', '2.42'),
]
dependencies = [
('libreadline', '8.2'),
('Tcl', '8.6.14'),
]

# enable additional APIs that provide access to meta-data about tables and queries
# needed for GDAL when it used as a dep for QGIS
buildopts = 'CC="$CC" CFLAGS="$CFLAGS -DSQLITE_ENABLE_COLUMN_METADATA"'

sanity_check_paths = {
'files': ['bin/sqlite3', 'include/sqlite3ext.h', 'include/sqlite3.h',
'lib/libsqlite3.a', 'lib/libsqlite3.%s' % SHLIB_EXT],
'dirs': ['lib/pkgconfig'],
}

sanity_check_commands = [
'sqlite3 --version | grep ^%(version)s',
]

moduleclass = 'devel'
41 changes: 41 additions & 0 deletions easybuild/easyconfigs/t/Tcl/Tcl-8.6.14-GCCcore-13.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
easyblock = 'ConfigureMake'

name = 'Tcl'
version = '8.6.14'

homepage = 'https://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': '13.3.0'}

source_urls = ['http://prdownloads.sourceforge.net/%(namelower)s']
sources = ['%(namelower)s%(version)s-src.tar.gz']
checksums = ['5880225babf7954c58d4fb0f5cf6279104ce1cd6aa9b71e9a6322540e1c4de66']

builddependencies = [
('binutils', '2.42'),
]
dependencies = [
('zlib', '1.3.1'),
]

configopts = '--enable-threads EXTRA_INSTALL="install-private-headers"'

runtest = 'test'

start_dir = 'unix'

postinstallcmds = ['ln -s %(installdir)s/bin/tclsh%(version_major)s.%(version_minor)s %(installdir)s/bin/tclsh']

sanity_check_paths = {
'files': ['bin/tclsh%(version_major)s.%(version_minor)s', 'bin/tclsh',
'include/tcl.h', 'lib/libtcl%%(version_major)s.%%(version_minor)s.%s' % SHLIB_EXT,
'lib/tclConfig.sh', 'man/man1/tclsh.1'],
'dirs': ['share'],
}

moduleclass = 'lang'
Loading