Skip to content
Snippets Groups Projects
Commit 3c98e7af authored by Alexandre Strube's avatar Alexandre Strube
Browse files

Merge branch 'soci' into '2022'

SOCI

See merge request hps-public/easybuild-repository!974
parents 53df7eb1 9e42ed03
Branches
No related tags found
No related merge requests found
easyblock = 'CMakeMake'
name = 'SOCI'
version = '4.0.2'
homepage = 'http://soci.sourceforge.net/'
description = """SOCI is a database access library for C++ that makes the illusion of embedding SQL queries in the
regular C++ code, staying entirely within the Standard C++."""
toolchain = {'name': 'GCCcore', 'version': '11.2.0'}
source_urls = ['https://github.com/SOCI/soci/archive']
sources = ['v%(version)s.tar.gz']
checksums = ['f293192a412ed82693d17dfe46e2734b140bff835bc3259e3cbd7c315e5e2d74']
builddependencies = [
('binutils', '2.37'),
('CMake', '3.21.1', '', SYSTEM),
]
dependencies = [
('Boost', '1.77.0'),
('SQLite', '3.36'),
('PostgreSQL', '13.4'),
]
# Matches RStudio (1.4.1717) install options
# https://github.com/rstudio/rstudio/blob/ddcd7191ec89c4da00e77afae7e9f27e61e87c36/dependencies/common/install-soci
configopts = "-DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true "
configopts += "-DSOCI_TESTS=OFF "
configopts += "-DSOCI_CXX11=ON "
configopts += "-DSOCI_EMPTY=OFF "
configopts += '-DCMAKE_INCLUDE_PATH="$EBROOTBOOST/include" '
configopts += "-DBoost_USE_STATIC_LIBS=ON "
configopts += '-DCMAKE_LIBRARY_PATH="$EBROOTBOOST/lib" '
configopts += "-DWITH_BOOST=ON "
configopts += "-DWITH_POSTGRESQL=ON "
configopts += "-DWITH_SQLITE3=ON "
configopts += "-DWITH_DB2=OFF "
configopts += "-DWITH_MYSQL=OFF "
configopts += "-DWITH_ORACLE=OFF "
configopts += "-DWITH_FIREBIRD=OFF "
configopts += "-DWITH_ODBC=OFF "
configopts += "-DBoost_DEBUG=1 "
local_dbs = ['postgresql', 'sqlite3']
sanity_check_paths = {
'files': ['lib/libsoci_%s.%s' % (x, SHLIB_EXT) for x in local_dbs + ['core']],
'dirs': ['include/soci/%s' % x for x in local_dbs],
}
moduleclass = 'lang'
...@@ -266,6 +266,9 @@ software: ...@@ -266,6 +266,9 @@ software:
- name: 'snappy' - name: 'snappy'
owner: 'goebbert1' owner: 'goebbert1'
base: True base: True
- name: 'SOCI'
owner: 'goebbert1'
base: True
- name: 'spdlog' - name: 'spdlog'
owner: 'goebbert1' owner: 'goebbert1'
base: True base: True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment