diff options
| -rw-r--r-- | meta-oe/recipes-dbs/mongodb/mongodb_git.bb | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/meta-oe/recipes-dbs/mongodb/mongodb_git.bb b/meta-oe/recipes-dbs/mongodb/mongodb_git.bb index bcb15e6c5b..d39ab0a314 100644 --- a/meta-oe/recipes-dbs/mongodb/mongodb_git.bb +++ b/meta-oe/recipes-dbs/mongodb/mongodb_git.bb | |||
| @@ -29,26 +29,18 @@ SRC_URI_append_libc-musl ="\ | |||
| 29 | " | 29 | " |
| 30 | S = "${WORKDIR}/git" | 30 | S = "${WORKDIR}/git" |
| 31 | 31 | ||
| 32 | # Wiredtiger supports only 64-bit platforms | 32 | COMPATIBLE_HOST ?= '(x86_64|i.86|powerpc64|arm|aarch64).*-linux' |
| 33 | PACKAGECONFIG_x86-64 ??= "tcmalloc wiredtiger" | 33 | |
| 34 | PACKAGECONFIG_aarch64 ??= "tcmalloc wiredtiger" | 34 | COMPATIBLE_HOST_arm = "null" |
| 35 | COMPATIBLE_HOST_libc-musl_x86 = "null" | ||
| 36 | |||
| 35 | PACKAGECONFIG ??= "tcmalloc" | 37 | PACKAGECONFIG ??= "tcmalloc" |
| 36 | # gperftools compilation fails for arm below v7 because of missing support of | 38 | # gperftools compilation fails for arm below v7 because of missing support of |
| 37 | # dmb operation. So we use system-allocator instead of tcmalloc | 39 | # dmb operation. So we use system-allocator instead of tcmalloc |
| 38 | PACKAGECONFIG_remove_armv6 = "tcmalloc" | 40 | PACKAGECONFIG_remove_armv6 = "tcmalloc" |
| 39 | PACKAGECONFIG_remove_libc-musl = "tcmalloc" | 41 | PACKAGECONFIG_remove_libc-musl = "tcmalloc" |
| 40 | 42 | ||
| 41 | #std::current_exception is undefined for arm < v6 | ||
| 42 | COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*" | ||
| 43 | COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*" | ||
| 44 | COMPATIBLE_MACHINE_armv7a = "(!.*armv7a).*" | ||
| 45 | COMPATIBLE_MACHINE_armv7ve = "(!.*armv7ve).*" | ||
| 46 | COMPATIBLE_MACHINE_powerpc = "(!.*ppc).*" | ||
| 47 | # https://jira.mongodb.org/browse/SERVER-16898 | ||
| 48 | COMPATIBLE_HOST_mipsarch = "null" | ||
| 49 | |||
| 50 | PACKAGECONFIG[tcmalloc] = "--use-system-tcmalloc,--allocator=system,gperftools," | 43 | PACKAGECONFIG[tcmalloc] = "--use-system-tcmalloc,--allocator=system,gperftools," |
| 51 | PACKAGECONFIG[wiredtiger] = "--wiredtiger=on,--wiredtiger=off,," | ||
| 52 | 44 | ||
| 53 | EXTRA_OESCONS = "--prefix=${D}${prefix} \ | 45 | EXTRA_OESCONS = "--prefix=${D}${prefix} \ |
| 54 | LIBPATH=${STAGING_LIBDIR} \ | 46 | LIBPATH=${STAGING_LIBDIR} \ |
| @@ -62,6 +54,7 @@ EXTRA_OESCONS = "--prefix=${D}${prefix} \ | |||
| 62 | --js-engine=none \ | 54 | --js-engine=none \ |
| 63 | --nostrip \ | 55 | --nostrip \ |
| 64 | --endian=${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \ | 56 | --endian=${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \ |
| 57 | --wiredtiger=${@['off','on'][d.getVar('SITEINFO_BITS') != '32']} \ | ||
| 65 | ${PACKAGECONFIG_CONFARGS} \ | 58 | ${PACKAGECONFIG_CONFARGS} \ |
| 66 | mongod mongos" | 59 | mongod mongos" |
| 67 | 60 | ||
