Expand description
DuckDB build platform validation.
DuckDB community extensions must build for a standard set of platforms.
Extensions that cannot support a platform must declare it in
extension.excluded_platforms. This module validates those declarations.
§Reference
The list below is derived from config/distribution_matrix.json in
duckdb/extension-ci-tools, which is the file the community-extensions
build actually reads. scripts/check-platform-table.py re-derives it and
fails CI when the two diverge, because a stale list is worse than none: it
rejects platforms that exist and accepts ones that do not.
Constants§
- DUCKDB_
CI_ PLATFORMS - The platforms the community-extension CI actually builds.
- DUCKDB_
OPT_ IN_ PLATFORMS - The
DUCKDB_CI_PLATFORMSthat are opt-in: the community CI does not build them unless an extension asks for them. - DUCKDB_
PLATFORMS - Every platform identifier
validate_platformrecognises. - DUCKDB_
PLATFORM_ GROUPS - The group names
distribution_matrix.jsonorganises its architectures under, which appear in realexcluded_platformsfields. - DUCKDB_
RETIRED_ PLATFORMS - Platforms
DuckDBno longer builds, whichvalidate_excluded_platformsnevertheless accepts.
Functions§
- is_
opt_ in_ platform - Returns
trueifplatformis only built when an extension opts into it. - validate_
excluded_ platforms - Validates a list of excluded platform identifiers.
- validate_
platform - Validates that a platform identifier is a known
DuckDBbuild target.