diff mbox series

[meta-oe,5/8] poco: Sync MongoDB architecture exclusions with mongodb

Message ID 20261127041517.1773986-6-khem.raj@oss.qualcomm.com
State New
Headers show
Series Major upgrades: opencv 5, mongodb 7, influxdb3 and more | expand

Commit Message

Khem Raj Nov. 27, 2026, 4:15 a.m. UTC
The MongoDB PACKAGECONFIG pulls mongodb into the ptest image, and
mongodb 7.0 only builds for x86_64, aarch64 and powerpc64le. Also
remove MongoDB on 32-bit arm and x86, loongarch64 and big-endian
powerpc64.

Anchor UPSTREAM_CHECK_GITTAGREGEX and match only the -release tags,
which are the ones SRC_URI uses.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-oe/recipes-support/poco/poco_1.15.4.bb | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/poco/poco_1.15.4.bb b/meta-oe/recipes-support/poco/poco_1.15.4.bb
index 7bca5fcc6a..43151a0095 100644
--- a/meta-oe/recipes-support/poco/poco_1.15.4.bb
+++ b/meta-oe/recipes-support/poco/poco_1.15.4.bb
@@ -28,10 +28,15 @@  inherit cmake ptest
 PACKAGECONFIG ??= "XML JSON PDF Util Net NetSSL Crypto JWT Data DataPostgreSQL DataSQLite DNSSDAvahi Zip Encodings Prometheus FastLogger"
 # MongoDB does not build for all architectures yet keep in sync with COMPATIBLE_HOST list in mongodb recipe
 # and mongodb needs meta-python enabled as well
+PACKAGECONFIG:remove:arm = "MongoDB"
+PACKAGECONFIG:remove:i586 = "MongoDB"
+PACKAGECONFIG:remove:i686 = "MongoDB"
+PACKAGECONFIG:remove:loongarch64 = "MongoDB"
 PACKAGECONFIG:remove:riscv32 = "MongoDB"
 PACKAGECONFIG:remove:riscv64 = "MongoDB"
 PACKAGECONFIG:remove:mipsarch = "MongoDB"
 PACKAGECONFIG:remove:powerpc = "MongoDB"
+PACKAGECONFIG:remove:powerpc64 = "MongoDB"
 # Following options have dependencies on recipes which don't have native variant
 PACKAGECONFIG:remove:class-native = "MongoDB DataODBC DataPostgreSQL DNSSDAvahi"