From patchwork Sun Nov 17 03:49:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 179560 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1239347ilf; Sat, 16 Nov 2019 19:50:28 -0800 (PST) X-Google-Smtp-Source: APXvYqyXXU20SJAYKD5IdlAnn4BUsowjv1PVUKbIX7swev0/zSlpWpz67y6wH5A9N6tZTquobVMm X-Received: by 2002:a17:90a:d102:: with SMTP id l2mr31564169pju.132.1573962628176; Sat, 16 Nov 2019 19:50:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573962628; cv=none; d=google.com; s=arc-20160816; b=nuG38fUiFfq2KJjUgBXdk6KY3VxEk2XHnqkINE2q4dGnnD+WZXGJI313Z9or8n2Boz Q4iim00LRHB+7VbI6MQWt18123oN3xl0cGyhGJfU6nh5oLfZm8RWSW3PV/2MvStI97lW rwveGcedud1Pi4uIJXmOg/3Avptg+9OGsfRH5FvMdCpulE1h0Fq7gSLeWrv/SUjt8Jxr +oIuSqfJeGaw8/bqxnPpYYP5MSVzmpTnpsHXtxOj6QpfPjBWfbbO7B816I6AJ5lsRNbn MimuktcNGuCXuj+1R7EesBib78wyfuR3A/gRa3BxEFvuU2kaUsMKBSJjRFlZT4NwxRAV 7TAw== 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:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=hVPyo8T7/2H8vHeF0nbFsmm2kzTbnIWJq1ZXxFYTRbs=; b=xVFjrWYHv6fBwBG96n+gKP1ru22wJguWQpziAvs0fve2ULTFsbqTjWEfIkf0ivda9k MEokTDlEQEAYyy87OjyQTV7ivOPdG5oVYxe3/xRB6KbMVCB3OZYxw+p2UsH1RCWy3ReL y1bkBeydbWIALEVo/EjJrTVCkEwe9KQfIqCCERF/Tg7r3vkWEgBh2kBlSpqaaEeK6UnN zUPoF0+by304fcccAtkMD7SrvKgTdsQw3P2fMmcMfmDGHIB59GTW3AMR5g1dPQb03U5E kjlfclDOjIfPjc7m3sEy5pNyew6yo7oaQafw3aStMplQEGeF0z90h8OKwZDx6sGJQv+x pObg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=jtrr4n+o; 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 e4si8783861pgc.353.2019.11.16.19.50.27; Sat, 16 Nov 2019 19:50:28 -0800 (PST) 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=jtrr4n+o; 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 5915C7F9B3; Sun, 17 Nov 2019 03:50:20 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by mail.openembedded.org (Postfix) with ESMTP id EEBDC7F98C for ; Sun, 17 Nov 2019 03:49:44 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id 193so8589491pfc.13 for ; Sat, 16 Nov 2019 19:49:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=p8bxrPfPme51fqfqFuK9mshkdwoKRwZZEgdx7tVdIxI=; b=jtrr4n+ot24cr/gqq6+gWbkrFqnfa/nS42Gtowk/G1u36lZ9+ICx/mE4MLj6hDvpkG wY/+3X58jwIQjPRhzFfPQfElBxfU48kXBnVlksdeyQj+b2XPkOAKb4b5gt5WFQLez/tc 3PdrbXMr2CAaL+fAeddwBzpZt0FcZ8la2bFPNXgaohB4JgZW32loywT07a0OVQITBSaV mQACLj4Wl0qI26P4sQAAp3DYBeFplfwkHowvX4nS5fBLi+kC5ZXQpLOY5/d+U00BQ4Zi Q1MXOT4FwQOtZlPmVmihKTYkOtDVI0GEW6f+J1l1m8hnuGHOP+31eDMY7jDDN8Phcsg/ 20ag== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=p8bxrPfPme51fqfqFuK9mshkdwoKRwZZEgdx7tVdIxI=; b=XbLwzb0WjpVphgjBi1loFNVztp4vOoHwKA9BhXmmp0j0QF2HEJUiJBcsumlJ/Gv9xm hfe6n4H17oHSvgDGOqKWcQg1cRPwVZlUZiQ5aZyENmYKn7hL4Lg2+XauZB5n7o6gYyjd PPy80Mpxuvx+1Ra4DtTN2oQOKDZUb7D+hQqj9g+578yu18vcxLHxYwpReNslTmtlRm/Y JUes8/kahOMypidfTcgmlFZx/cl8VkxhrdZXvzs28lVRfduGnrISAmzYf2f8WseiAgNj yK8QwTBxPVJS/X1H/ZdgjwFk1K2UIklgBrWpIL45WEDwg75KlYOdJtlAlvvxsiP+vXM3 n+tQ== X-Gm-Message-State: APjAAAXeV2/s9qZSonssd5sToYKhiENkjJJtRjDtRdO1g4QUWwlC+CJs PQJH5upVYT5kV4XlEiqx4xNs6nnnk4s= X-Received: by 2002:aa7:9189:: with SMTP id x9mr15902587pfa.41.1573962585580; Sat, 16 Nov 2019 19:49:45 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::30e8]) by smtp.gmail.com with ESMTPSA id w15sm14881103pfn.13.2019.11.16.19.49.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Nov 2019 19:49:45 -0800 (PST) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 16 Nov 2019 19:49:29 -0800 Message-Id: <20191117034929.3298760-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191117034929.3298760-1-raj.khem@gmail.com> References: <20191117034929.3298760-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 3/3] gperftools: Convert static and libunwind support to 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 Disable libunwind on musl/arm Signed-off-by: Khem Raj --- meta-oe/recipes-support/gperftools/gperftools_2.7.bb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) -- 2.24.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/gperftools/gperftools_2.7.bb b/meta-oe/recipes-support/gperftools/gperftools_2.7.bb index fdb82519bc..2cdb2e2740 100644 --- a/meta-oe/recipes-support/gperftools/gperftools_2.7.bb +++ b/meta-oe/recipes-support/gperftools/gperftools_2.7.bb @@ -2,7 +2,6 @@ SUMMARY = "Fast, multi-threaded malloc() and nifty performance analysis tools" HOMEPAGE = "https://github.com/gperftools/gperftools" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=762732742c73dc6c7fbe8632f06c059a" -DEPENDS += "libunwind" SRCREV = "9608fa3bcf8020d35f59fbf70cd3cbe4b015b972" SRC_URI = "git://github.com/gperftools/gperftools \ @@ -28,9 +27,11 @@ COMPATIBLE_HOST_mipsarch_libc-glibc = "null" ARM_INSTRUCTION_SET_armv5 = "arm" ARM_INSTRUCTION_SET_toolchain-clang_arm = "arm" -# Ensure static libs are always enabled, as they seem to be not produced by -# default at least on ARM. -EXTRA_OECONF_append += " --enable-static" +PACKAGECONFIG ?= "libunwind static" +PACKAGECONFIG_remove_arm_libc-musl = "libunwind" + +PACKAGECONFIG[libunwind] = "--enable-libunwind,--disable-libunwind,libunwind" +PACKAGECONFIG[static] = "--enable-static,--disable-static," PACKAGE_BEFORE_PN += "libtcmalloc-minimal" FILES_libtcmalloc-minimal = "${libdir}/libtcmalloc_minimal*${SOLIBS} ${libdir}/libtcmalloc_minimal_debug*${SOLIBS}"