summaryrefslogtreecommitdiff
path: root/odb-tests/manifest
blob: 74d760c9cf975aac68237ad5fb162b94ac1a85f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
: 1
name: odb-tests
version: 2.5.0-b.26.z
project: odb
type: tests
language: c++
summary: ODB compiler tests
license: GPL-2.0-only
description-file: README.md
url: https://www.codesynthesis.com/products/odb/
doc-url: https://www.codesynthesis.com/products/odb/doc/manual.xhtml
src-url: https://git.codesynthesis.com/cgit/odb/odb/
email: odb-users@codesynthesis.com ; Mailing list

# @@ TMP
#
builds: all
#builds: mysql sqlite pgsql oracle mssql
#
# @@ BUILD2 The odb dependency can only be built with GCC. However, shouldn't
#           we test that the odb-generated mappings can be compiled by other
#           compilers and properly run afterwards?
#
builds: -( +windows -gcc ) ; Requires MinGW GCC.
builds: &gcc               ; Requires GCC with plugin support enabled.
builds: &gcc-5+            ; Requires GCC 5 or later.
builds: -static            ; Implementation uses plugins and requires -fPIC.

# @@ TMP Bump the toolchain version to 0.17.0 after it is released.
#
depends: * build2 >= 0.16.0-
depends: * bpkg >= 0.16.0-

depends: * odb == $

depends: libodb        == $
depends: libodb-mysql  == $ ? ($mysql)
depends: libodb-sqlite == $ ? ($sqlite)
depends: libodb-pgsql  == $ ? ($pgsql)
depends: libodb-oracle == $ ? ($oracle)
depends: libodb-mssql  == $ ? ($mssql)

# Reflect whether libodb-pgsql is likely to support bulk operations. This is
# normally the case on POSIX platforms if libodb-pgsql is linked against libpq
# of the version 14 or above.
#
# Note, though, that this approach doesn't work well for libodb-pgsql
# configured as a system package, since the version of libpq it is linked to
# may not be the same as what we can get from the repository. Also note that
# the following depends clause (without alternatives) is required to avoid the
# 'unable to select dependency alternative' failure when libodb-pgsql is
# configured as a system package.
#
depends: libpq           ? ($pgsql)
depends: libpq >= 14.0.0 ? ($pgsql) config.odb_tests.pgsql.bulk_default=true | \
         libpq >= 7.4.0  ? ($pgsql) config.odb_tests.pgsql.bulk_default=false

# @@ TODO/LATER: use an alternative to automatically detect whether we are
#    using MySQL or MariaDB? But maybe we don't need to know?

depends: mysql >= 5.0.3 ? ($mysql)
depends: psql  >= 7.4.0 ? ($pgsql)