From patchwork Tue Oct 8 04:44:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 175445 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp5204320ill; Mon, 7 Oct 2019 21:45:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqy2XOfexqdpbwShIsXDaXCGqzysFaHhRgmTS69qk4bzoVkxIsEwJCbpJW/N31EpHOTBEn4+ X-Received: by 2002:a17:90a:ac11:: with SMTP id o17mr3382528pjq.34.1570509903374; Mon, 07 Oct 2019 21:45:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570509903; cv=none; d=google.com; s=arc-20160816; b=PePTfV3uE+xz7HAl0EXfhoi5DdCECCgBSRZJcShax2WWMIeBoz/f0IQHOa7ckWFcH4 tWUnPtru9wImDLREougr8vPQfRV+sP6JWb9SPgk4+mPqumS2BkbGniJheJeAPPgEzckN deexAF8+bHMNs02oFxlXlnovOiywd4dppXsuq2sfnSRC3VUG7MH6SQuLxFaicD/8zpwc oXnytAAZWOxyIE39zaiT/vbPXLjOZL0vlE5+MRlIc4wOA3GqVhwhQl4nDTJtdlY8zG9w +mIBg+YXKG6uQLq1qsTC2Q71XRiArypiVZ7c6v92xv1NACVzOkA0dwpoJqlARBjRDZEr n5Ow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=FQp9t/cl3B/rctVCJpyWAb7SgxGDqkGJLNLl08vCfIk=; b=UzyWqmB/0I+9ydlDNWDr+yq6L5drPbBfwlWD1HA9hh6oJgnHPuEWp6qMBBDZb9X5Ss nbFN7jKBaQQmd28WK9UvttjbQUGQdgcKM4uPLVyccxPe5cknIMXmRxHFr1noMOeE9WhJ IlInjgUyF0aXadO5c2BtOUiMFJC+aqIvpOEAJEZWDxQGFrLW4e69ApFguwMhkLTkf05/ ZcrZ57wnM7F0BqDIq7Nua+Xi+nRyS6SpFnP6pZD1wkJF0IC0u7RB0E3LkHpduhTkCWFp tHyvhG37B3oyhAycHcSB8NC5tNBngdUyybN0hvgxlgzdqGhHZQoS4Oy4AxkFmdjjenRN Y2TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=aWl60HiW; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id o35si1720409pje.106.2019.10.07.21.45.02; Mon, 07 Oct 2019 21:45:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=aWl60HiW; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 228B87E553; Tue, 8 Oct 2019 04:44:54 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by mail.openembedded.org (Postfix) with ESMTP id 42FE47D2D6 for ; Tue, 8 Oct 2019 04:44:51 +0000 (UTC) Received: by mail-pg1-f195.google.com with SMTP id 23so9586033pgk.3 for ; Mon, 07 Oct 2019 21:44:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TeMr6DtCOffC2qdTyv7q9FHgtliS35x9x1x8f6j+hKQ=; b=aWl60HiWYbeeEI14nykOaDLoGYVZfWUkUtb+sFYf1fnTG/AQuxTtkn8pBMnARwQovX R8PTB/dJCBcmUy519V2R9U5CgVME30/sBHTVTdYkdTeM4PTTxK4EicUj4V3OsJ08Co6X nJY9/w0hNC4n5n42By2t11z849OVLMcc7XTpzEJqVN1Xa0+BsAg0MixK4dq83Iebbnw7 KpIhrAxrsNcL5mLHkbF+HeDmVysAi9T6SFutgiijNrYVcAhnHn17uwrf8p9CZBBMclY5 xFwuxgu/GPBRnZj20Dz09fJfJd9NSmf0/Phx+ohY7I3NrXbSFKKJOr+Qx5vZY/XdhAXh 2Tbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TeMr6DtCOffC2qdTyv7q9FHgtliS35x9x1x8f6j+hKQ=; b=r7mvFOrONZSLwzK0MFp2TX0yz62UUk2AFXhUE+odZCE/osXnLO7DEki1VUIox90ry8 jW4TE7XG34cGGIONk5rhz3LyQX1T9gNeTtvyaT4xo8fprJom0yt8Ig8Kh1w1rN+FDm1V cSJ/GVk6IanbC6EKpwkEldQhR9NBBIOSApyIDSVxASVn67x7Rkg8xgiXNbyRVdiIx94H B4uDWJwwBTGTXXWPXTYuUljImtwsC+8SPN0TaiarRaP43U6P8wY55saSw//7waEd25KL 6W+ZLrwghU1CcJwhViTGVgHMRFu7KM/KeNGQwxnefb1KSTnXo8eOcuhM799NHgtBUSz2 lBmg== X-Gm-Message-State: APjAAAWLDc/PCYf6AhsrqfEIes6V74woXU3/V0/YarcVDKevUPJwew7R 4j+3uztqn6xTgvfSdFuDgf87ctVc2NQ= X-Received: by 2002:a17:90a:bc49:: with SMTP id t9mr3272643pjv.111.1570509891622; Mon, 07 Oct 2019 21:44:51 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::7275]) by smtp.gmail.com with ESMTPSA id e184sm19166607pfa.87.2019.10.07.21.44.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2019 21:44:51 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 7 Oct 2019 21:44:41 -0700 Message-Id: <20191008044441.577191-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH] mongodb: Turn system libpcre support into packageconfig X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org when libpcre is built with clang and mongodb with gcc then they dont link well, in such cases its better to use in-tree pcre, this paves a way to achieve that if needed Signed-off-by: Khem Raj --- meta-oe/recipes-dbs/mongodb/mongodb_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.23.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-dbs/mongodb/mongodb_git.bb b/meta-oe/recipes-dbs/mongodb/mongodb_git.bb index e7e03a4e14..cd8ccdc8ab 100644 --- a/meta-oe/recipes-dbs/mongodb/mongodb_git.bb +++ b/meta-oe/recipes-dbs/mongodb/mongodb_git.bb @@ -3,7 +3,7 @@ LICENSE = "SSPL-1 & Apache-2.0 & Zlib" LIC_FILES_CHKSUM = "file://LICENSE-Community.txt;md5=3a865f27f11f43ecbe542d9ea387dcf1 \ file://APACHE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" -DEPENDS = "openssl libpcre libpcap zlib boost curl python3 \ +DEPENDS = "openssl libpcap zlib boost curl python3 \ python3-setuptools-native \ python3-pyyaml-native python3-cheetah-native \ python3-psutil-native python3-regex-native \ @@ -38,7 +38,7 @@ S = "${WORKDIR}/git" COMPATIBLE_HOST ?= '(x86_64|powerpc64|aarch64).*-linux' -PACKAGECONFIG ??= "tcmalloc" +PACKAGECONFIG ??= "tcmalloc system-pcre" # gperftools compilation fails for arm below v7 because of missing support of # dmb operation. So we use system-allocator instead of tcmalloc PACKAGECONFIG_remove_armv6 = "tcmalloc" @@ -46,6 +46,7 @@ PACKAGECONFIG_remove_libc-musl = "tcmalloc" PACKAGECONFIG[tcmalloc] = "--use-system-tcmalloc,--allocator=system,gperftools," PACKAGECONFIG[shell] = ",--js-engine=none,," +PACKAGECONFIG[system-pcre] = "--use-system-pcre,,libpcre," EXTRA_OESCONS = "--prefix=${D}${prefix} \ LIBPATH=${STAGING_LIBDIR} \ @@ -54,7 +55,6 @@ EXTRA_OESCONS = "--prefix=${D}${prefix} \ TARGET_ARCH=${TARGET_ARCH} \ --ssl \ --disable-warnings-as-errors \ - --use-system-pcre \ --use-system-zlib \ --nostrip \ --endian=${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \