From patchwork Fri Oct 11 02:52:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 175900 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp159098ill; Thu, 10 Oct 2019 19:52:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqxsYU2tFQoEJAWd7QqwrUzMc8RKY4WEpX/bM7Nne7TWMYm/rDab4YTdRIpKy7eW3w1znuKf X-Received: by 2002:a17:902:b687:: with SMTP id c7mr12283053pls.116.1570762365937; Thu, 10 Oct 2019 19:52:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570762365; cv=none; d=google.com; s=arc-20160816; b=0TTZA3v9NP4PjpjykBkZZ9bTpqwmBgV5Z1d7HyNcDSmNeWMCD3DIvtNiCzanteNna9 YJpany0dYdPqlbALMaVMpSujwz3vJFysqsJ8VXPDyyahpkkMxK1xSZaXqWDqyfxQBt+m b/QHaJYdy3rCA/HhVZGyOyX//AE/gIzvlZHfjw8665/4Oo2RNAIfZVT1KvFwYdvL7M/S E4AnEODSAftr+eClbuyaI/u0B0HVfR2T6hYIOdEKjMPO+0f1wKr6MdeXpSBOOUYsJH+s ksQjhZ64xbedkUrQ6bkM9F25szDRcstRiuBAua6MAKaa3WjYMcXWjgBqOlX/n2hW+khY LSPQ== 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=YXK3ymXUAlRbu05Dk7dfMgaabcJBkDuhuvsUrTEwlmE=; b=UM4lIMgDCzHWebDIUoGGgAoPhVsCrsIIRMaJMjv56t7PnDuUXISNbc1hD1nbZUcH4k yT5kxbGwLHt3DhFdopWFs10cXRDWf5ZLrX/xkjNe0iUMnp95d7uK1UQWd9bOA3xAaQQV PcWsRT0rJCSQYgGvi00MqrHRMyIuvdgK3tp/fPzUo8CJwQR8ryqnfqXJABUdshrJ5on4 JvBXxxtAxI0OrIYmpOjl/pf+mzqFu7ED+o4UbedzJYJ5ZsiZObcnRIZTuyR6hMXkxQRr TdZ6qeEh0tjijPa0oHFRbWvrSYnMfoJBm4233LAyQzuFJhQ0vyShMYTMD2sa+3S7O7zS RlPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=bHBlWHp8; 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 cp11si7056758pjb.43.2019.10.10.19.52.45; Thu, 10 Oct 2019 19:52:45 -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=bHBlWHp8; 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 5037C7F545; Fri, 11 Oct 2019 02:52:42 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by mail.openembedded.org (Postfix) with ESMTP id AE2566B11A for ; Fri, 11 Oct 2019 02:52:39 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id e1so4903019pgj.6 for ; Thu, 10 Oct 2019 19:52:41 -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=CazRO+mWf7zBCr/r2lUE35x1tOseh2eM6qk/+ND/OgU=; b=bHBlWHp8EIRfXshRlLME+xo3QF/JaAivbEwTvl2l8N13PaH+BEn93G8hx8JkurN/KC OMCTFJXbWSuBT5k5EHWs2BzzT3IHwGGIp7FgIyDFWAPiijh2fL8mUHZvrcY+q5DX7uKy CwVd62cp4jFcbEJHjjhd+bHQg7VpA7d0Q9VHZafgp6m2uJYzxBKdnk+kDBzd10ch8Q/6 M+hNKo288wL1MdvsAzmgtC4esJ/6xkSK5/umYUF8C8Dm8LSTdvrLcl8lGp7ThkFLdRZT SaPkoIXOIEqsPRwwweG3HTejlokfRWqdZYa6+tOJ2ax3Rls1c/+moccjW9ejD/bZWqRM xMDA== 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=CazRO+mWf7zBCr/r2lUE35x1tOseh2eM6qk/+ND/OgU=; b=GBZYZVTbpAU9m8DLYR1e+0gnur0epvpRlQvYYuB8FHJwbqEiGZ/uw+yav2nXeTzQzu N/3NgJFXPsWIvh55n2RV38Hycrgp1x5sOrcE1juoK0vv2qmTYg8IDR4XrH+xZa2y5WcN I3gG0WGFhDgHGvNCJjlFsGKJyB/g2uFWY21FoLjRpAG3xirMIk4YC5beUjTKPcSHReiJ Rc/sLRxQvU+E4Gy8tKUqewzfhBzuLQUuvJDCc+IV6QzdUk8cI+BMmWTe7HQrv2178zrp KMTKy8YDq92g3MOjKS0CiigBrUv6wvIG/UX/yNV1HgPaX+JSexUxGhZdCwIMD9Wajwis hfeQ== X-Gm-Message-State: APjAAAUFW/WYNmu9hZYiG/7szbS6r2LC9S1puFBXIvCTMeMQkVO90DBH MhWuqp+nRn5XM+q588ZP8IUESzlFDTk= X-Received: by 2002:a62:a50b:: with SMTP id v11mr14003169pfm.164.1570762360110; Thu, 10 Oct 2019 19:52:40 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::7275]) by smtp.gmail.com with ESMTPSA id c10sm7517934pfo.49.2019.10.10.19.52.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Oct 2019 19:52:39 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 10 Oct 2019 19:52:31 -0700 Message-Id: <20191011025231.2457830-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH V2] jsonrpc: Disable coverage in default build 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 Building with intrumentation is only useful during development or optimization phases, in production, this will just make it slow and in some cases not work where file system might be readonly. If its needed then enable the packageconfig via a bbappend Signed-off-by: Khem Raj --- v2: Add coverage packageconfig meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.2.0.bb | 3 +++ 1 file changed, 3 insertions(+) -- 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-devtools/jsonrpc/jsonrpc_1.2.0.bb b/meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.2.0.bb index b23775708a..dbf44d796f 100644 --- a/meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.2.0.bb +++ b/meta-oe/recipes-devtools/jsonrpc/jsonrpc_1.2.0.bb @@ -14,6 +14,9 @@ SRCREV = "4ed5b00dcc409405a19e6d8c6478f703153430e1" S = "${WORKDIR}/git" +PACKAGECONFIG ?= "" +PACKAGECONFIG[coverage] = "-DWITH_COVERAGE=YES,-DWITH_COVERAGE=NO,," + inherit cmake EXTRA_OECMAKE += "-DCOMPILE_TESTS=NO -DCOMPILE_STUBGEN=NO -DCOMPILE_EXAMPLES=NO \