aboutsummaryrefslogtreecommitdiff
path: root/manifest
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-12-13 21:57:53 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-01-23 21:20:44 +0300
commitfc3fb39c90ab7fe5fccbe3f3bc0eb2645157bb96 (patch)
tree6c8c1bfb5fe89f7378b92ac066b4ca8ecfd25228 /manifest
parent02367faedb16b6186e8852de47e5b749dc48c2df (diff)
Switch to build2
Diffstat (limited to 'manifest')
-rw-r--r--manifest48
1 files changed, 48 insertions, 0 deletions
diff --git a/manifest b/manifest
new file mode 100644
index 0000000..858baa7
--- /dev/null
+++ b/manifest
@@ -0,0 +1,48 @@
+: 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
+
+# @@ 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: default
+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.
+
+depends: * build2 >= 0.16.0
+depends: * bpkg >= 0.16.0
+
+depends: * odb [2.5.0-b.26.1 2.5.0-b.27)
+
+depends: libodb [2.5.0-b.26.1 2.5.0-b.27)
+depends: libodb-mysql [2.5.0-b.26.1 2.5.0-b.27) ? ($mysql)
+depends: libodb-sqlite [2.5.0-b.26.1 2.5.0-b.27) ? ($sqlite)
+depends: libodb-pgsql [2.5.0-b.26.1 2.5.0-b.27) ? ($pgsql)
+depends: libodb-oracle [2.5.0-b.26.1 2.5.0-b.27) ? ($oracle)
+depends: libodb-mssql [2.5.0-b.26.1 2.5.0-b.27) ? ($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.
+#
+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)