Message ID | 20191229184415.19514-4-raj.khem@gmail.com |
---|---|
State | Accepted |
Commit | f8d2cd0025f97819898da26041f353d527a27952 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5506275ild; Sun, 29 Dec 2019 10:45:02 -0800 (PST) X-Google-Smtp-Source: APXvYqy/muEiKzrwljMTsJKgqoVqkCieXxEfCoEslE8qOpmRY6QstJzSNs4hRLcX06SmuyCM7Fjg X-Received: by 2002:a62:ab0d:: with SMTP id p13mr67029977pff.135.1577645102128; Sun, 29 Dec 2019 10:45:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645102; cv=none; d=google.com; s=arc-20160816; b=soDXyiJ2rVYWMrIwzlx2M7me6nOJ22jzDLz/wI07oxHo8m0WTGxA2e81EeHhDF3VGi iaYe0+NKeqfFM1s+j9ZdRLZcbc/cUJdLdmQJUsw8ZUzNbYFZu5GxqcD5kQ8s032ZCZol pcTBGcZgFWMlfU04pHCwOqkR5Q76/qLidUDnVFgNWRxfVknaIPEj4beIAJ/Eo8hHGRg3 zc6Baq7gGLPYCxzV05q7uBxb22HJjYHG2/+PVWFfqxWDKH1NAHDwZc55iHH6/V1XSQgG yTrgJQT5v/Mr4whHZUlvoFmA3eheyaHzr/hAFAad77x3bItj4zKNguwDqdu7XbL8g7qk armA== 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=E7PrbBFgiVwcgSmMFD2oaTi1EKRW2qlpsmpVUGpu4NE=; b=Zj2uYLifpHZIRcKk0G/0WNk3+7sn8ksH79/n/JIFfeOC9nvXvS6kcyCe7ZcvZPAA1r NYt+BBbxgIIxWScaudj2GWAFuPlikcuVVhgPWI6K0BSDfrbmQGDnJ2Ivp1UiZOdkxMb+ 0KC3U9r324oDCTFeKf+wfaYL5+U1mlEEqV72uzznbe9JKQuBzIQMqTieaU6uixKV9Tlt xzycPYn7fxyVisvReZRyCzVgdHedaVpXrUOijv8dYIb+YHUs0sqSWqEhtzvy0je+MYY2 AdDFVEGU0IO4RSqFdeQ+L3A84uwfHaZY6tDaGMpebFgYYkrPbWtLqFQSRZaMmRUPuNam qFHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=l26j+06r; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: <openembedded-core-bounces@lists.openembedded.org> Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id c6si20588651pjo.29.2019.12.29.10.45.01; Sun, 29 Dec 2019 10:45:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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=l26j+06r; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-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 018EE7F8B5; Sun, 29 Dec 2019 18:44:51 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by mail.openembedded.org (Postfix) with ESMTP id 19B2C7F817 for <openembedded-core@lists.openembedded.org>; Sun, 29 Dec 2019 18:44:31 +0000 (UTC) Received: by mail-pg1-f194.google.com with SMTP id z124so16979543pgb.13 for <openembedded-core@lists.openembedded.org>; Sun, 29 Dec 2019 10:44:32 -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=njWVssZMXtOLGq41MCze2G9CKHHQ7gCsmR4/PCAo0VM=; b=l26j+06rHiooYSgAhjauRWaaN8Bv0ayXjR9kBr8OBwvDaijLtOL4fy/lkA2Jwh5VJ2 HZhBJTsnGmSh6LHpuwWTbCPkOgtPdYF5lOelJra/QfS9NFaA6opQ9WS7eSR1GzwJftRv ZTGk3yrwWLd7Qe8aEKLknkMdr876yQGqkNJuAnhp7cJBVdgRnEYnqkmmxAy9WFt31bDZ dWqYz9cpGgUwoJtrzVq/KMVLso1CUNIZg7yRImZopDO+dFSHLlpoEytYcK/Qpg9olVFE MY3ObTO4rk4FGyT14ETOM5L9Nnfu42oglqV/Gb3I2+X/JhmplzZvvQFwQA8MXxk9WIV8 QzZA== 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=njWVssZMXtOLGq41MCze2G9CKHHQ7gCsmR4/PCAo0VM=; b=kfGkOk4AMh8tU1KIetce43IzFp7C+fGOJfMx99mUXcM5o/wmuTBjMb9cBuwNpmWyjZ lWzoMP2Wh55tPM3v6TROs1oCRwtv3kztxSZlwW78GIZtPFIqmrqVGS7/WItGUu6+M271 FDT7HDbp86sWU5gIiRcduDhV+AV/LMLorn6mihcnogF38qswVcUqfTOrH+onEQJFoBI/ g2FHG9q/Y6XFtZsRjhqh4pE1qAw4swBD1kDBLvWYDbLiyFfOG6eBBEwt91Uvc2ZwAtgZ YGT+RsrgeIt9r9ZyMYJ1Am2zdnYZI+1LWyxlYnZe9Yj0IFxAHtJXBTfuhLZQF61eGAX6 sGwA== X-Gm-Message-State: APjAAAWqNaUuVOCU9LCIJULUd1vINsb+oxlSsTS5O1twD6y5PMcxgdy9 LDBkXYrO87NQJWbQddhZQhsLsWlE04U= X-Received: by 2002:aa7:8e13:: with SMTP id c19mr32469014pfr.227.1577645071773; Sun, 29 Dec 2019 10:44:31 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:31 -0800 (PST) From: Khem Raj <raj.khem@gmail.com> To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:00 -0800 Message-Id: <20191229184415.19514-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 04/19] cmake: Add a knob for cmake VERBOSE settings X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer <openembedded-core.lists.openembedded.org> List-Unsubscribe: <http://lists.openembedded.org/mailman/options/openembedded-core>, <mailto:openembedded-core-request@lists.openembedded.org?subject=unsubscribe> List-Archive: <http://lists.openembedded.org/pipermail/openembedded-core/> List-Post: <mailto:openembedded-core@lists.openembedded.org> List-Help: <mailto:openembedded-core-request@lists.openembedded.org?subject=help> List-Subscribe: <http://lists.openembedded.org/mailman/listinfo/openembedded-core>, <mailto:openembedded-core-request@lists.openembedded.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org |
Series |
[01/19] util-linux: Use PCRE for hardlink
|
expand
|
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 8ccb1eefc7..11ffb0d33f 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass @@ -181,9 +181,18 @@ cmake_do_configure() { -Wno-dev } +# To disable verbose cmake logs for a given recipe or globally config metadata e.g. local.conf +# add following +# +# CMAKE_VERBOSE = "" +# + +CMAKE_VERBOSE ??= "VERBOSE=1" + +# Then run do_compile again cmake_runcmake_build() { - bbnote ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '${B}' "$@" -- ${EXTRA_OECMAKE_BUILD} - eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build '${B}' "$@" -- ${EXTRA_OECMAKE_BUILD} + bbnote ${DESTDIR:+DESTDIR=${DESTDIR} }${CMAKE_VERBOSE} cmake --build '${B}' "$@" -- ${EXTRA_OECMAKE_BUILD} + eval ${DESTDIR:+DESTDIR=${DESTDIR} }${CMAKE_VERBOSE} cmake --build '${B}' "$@" -- ${EXTRA_OECMAKE_BUILD} } cmake_do_compile() {
Setting VERBOSE always, while is fine on one hand for debugging, its coming at an expense of creating lots and lots of logs, e.g. qtwebkit compile logs alone with VERBOSE is 163MB, there are many other large packages which use cmake e.g. WPE, webkitgtk etc which are in same range with out this option on, the logs reduce to 861K and also speeds up build a notch If user needs to disable these logs for a recipe or globally CMAKE_VERBOSE = "" in recipe or in global metadata e.g. local.conf Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Ross Burton <ross.burton@intel.com> Cc: Andre McCurdy <armccurdy@gmail.com> --- meta/classes/cmake.bbclass | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core