Skip to content

[SQLite] [package list]

SQLite/3.36.0-cpeGNU-21.12 (SQLite-3.36.0-cpeGNU-21.12.eb)

This software is archived in the LUMI-SoftwareStack GitHub repository as easybuild/easyconfigs/__archive__/s/SQLite/SQLite-3.36.0-cpeGNU-21.12.eb. The corresponding module would be SQLite/3.36.0-cpeGNU-21.12.

# Contributed by Luca Marsella (CSCS)
# Adapted by Kurt Lust (kurt.lust@uantwerpen.be) for the LUMI consortium
#
# 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'

local_libreadline_version =  '8.1'           # https://ftp.gnu.org/pub/gnu/readline/
local_Tcl_version =          '8.6.11'        # https://tcl.tk/

local_SQLite_version =       '3.36.0'        # https://www.sqlite.org/
local_filename_version = '3360000'

name =    'SQLite'
version = local_SQLite_version

homepage = 'http://www.sqlite.org/'

whatis = [
    'Description: SQLite: SQL Database Engine in a C Library'
]
description = """
SQLite is a C-language library that implements a small, fast, self-contained,
high-reliability, full-featured, SQL database engine. SQLite is the most used
database engine in the world. SQLite is built into all mobile phones and most
computers and comes bundled inside countless other applications that people
use every day. More Information...

The SQLite file format is stable, cross-platform, and backwards compatible and
the developers pledge to keep it that way through the year 2050. SQLite database f
iles are commonly used as containers to transfer rich content between systems
and as a long-term archival format for data. There are over 1 trillion (1e12)
SQLite databases in active use.

SQLite source code is in the public-domain and is free to everyone to use for
any purpose.
"""

toolchain = {'name': 'cpeGNU', 'version': '21.12'}
toolchainopts = {'pic': True}

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

builddependencies = [ # Create a reproducible build environment.
    ('buildtools',   '%(toolchain_version)s',   '', True),
]

dependencies = [
    ('libreadline', local_libreadline_version),
    ('Tcl',         local_Tcl_version),
]

# 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"'

parallel = 1

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'

[SQLite] [package list]