mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 14:19:52 +00:00
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 <raj.khem@gmail.com>
This commit is contained in:
@@ -61,6 +61,9 @@ PACKAGECONFIG[system-pcre] = "--use-system-pcre,,libpcre,"
|
|||||||
|
|
||||||
MONGO_ARCH ?= "${HOST_ARCH}"
|
MONGO_ARCH ?= "${HOST_ARCH}"
|
||||||
MONGO_ARCH_powerpc64le = "ppc64le"
|
MONGO_ARCH_powerpc64le = "ppc64le"
|
||||||
|
WIREDTIGER ?= "off"
|
||||||
|
WIREDTIGER_x86-64 = "on"
|
||||||
|
WIREDTIGER_aarch64 = "on"
|
||||||
|
|
||||||
EXTRA_OESCONS = "PREFIX=${prefix} \
|
EXTRA_OESCONS = "PREFIX=${prefix} \
|
||||||
DESTDIR=${D} \
|
DESTDIR=${D} \
|
||||||
@@ -75,7 +78,7 @@ EXTRA_OESCONS = "PREFIX=${prefix} \
|
|||||||
--use-system-zlib \
|
--use-system-zlib \
|
||||||
--nostrip \
|
--nostrip \
|
||||||
--endian=${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \
|
--endian=${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \
|
||||||
--wiredtiger=${@['off','on'][d.getVar('SITEINFO_BITS') != '32']} \
|
--wiredtiger='${WIREDTIGER}' \
|
||||||
--separate-debug \
|
--separate-debug \
|
||||||
${PACKAGECONFIG_CONFARGS}"
|
${PACKAGECONFIG_CONFARGS}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user