From de60098b876e851731487a447602d0bba65ed9b2 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 15 Jun 2021 21:30:41 -0700 Subject: mongodb: Enable wiredtiger only on aarch64/x86_64 hosts Other 64bit arch where its enabled is ppc64le and it does not compile since build/opt/third_party/wiredtiger/src/checksum/power8/crc32.o is not built, its not setting HOST_ARCH to ppc64le due to cross compiling Signed-off-by: Khem Raj --- .../dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta-oe/dynamic-layers/meta-python') diff --git a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb index 95e0cf7a88..9c1e485b31 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb_git.bb @@ -61,6 +61,9 @@ PACKAGECONFIG[system-pcre] = "--use-system-pcre,,libpcre," MONGO_ARCH ?= "${HOST_ARCH}" MONGO_ARCH_powerpc64le = "ppc64le" +WIREDTIGER ?= "off" +WIREDTIGER_x86-64 = "on" +WIREDTIGER_aarch64 = "on" EXTRA_OESCONS = "PREFIX=${prefix} \ DESTDIR=${D} \ @@ -75,7 +78,7 @@ EXTRA_OESCONS = "PREFIX=${prefix} \ --use-system-zlib \ --nostrip \ --endian=${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \ - --wiredtiger=${@['off','on'][d.getVar('SITEINFO_BITS') != '32']} \ + --wiredtiger='${WIREDTIGER}' \ --separate-debug \ ${PACKAGECONFIG_CONFARGS}" -- cgit 1.2.3-korg