From patchwork Thu Jan 18 12:38:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 124941 Delivered-To: patch@linaro.org Received: by 10.46.64.27 with SMTP id n27csp108477lja; Thu, 18 Jan 2018 04:38:43 -0800 (PST) X-Google-Smtp-Source: ACJfBotqSgUebWRo8Dbwl5zpRPFazYYolCpk2jkEJOPbKy2tzDutd/V4aSpuLqScAN1fDITy7r8j X-Received: by 10.98.160.25 with SMTP id r25mr26687803pfe.218.1516279123492; Thu, 18 Jan 2018 04:38:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516279123; cv=none; d=google.com; s=arc-20160816; b=IWsUjkgK7MzQ/xZbyRb0JfZU4zWakhGvqmPB/o2bjUKrKinQPAk64GPoKalCo7MGMx Yz9IhF0V6ZtZZSZD6K5yeB3AGllL0BiHF59nsNaWb/PEd/XezrUuuYOnLLLFofWBu9wY ZbFGHOrQfauQo3MnIIAQ0S32s3o8y4Q7NltlBp/7P6p+N5HVumi3XtwcLBWwRWradYRi rYVwNkOhbzNFljxMHhSAiJYNskLsXGVhGSpwr3QS0IW8459NBZi6oHiiavYrXOGF5Q80 PpexbcqsLUT98YGaerZAjsEM/TATW1ygCue/bRTt4+wSj+UqcZB7OojjyVMGOXn+asux gAcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=/7J7JGM1udbj6e0YzeFypZoNZJ+5Lsy63FsG/FfjzXo=; b=F2ZkAIMNWlqGJL9ZapZ4s6KZSipa7R2ERvnVZzsdu7EZ2eU7+r/yRcAwGQjCKS87Xc 60PDtkQMYOSJ747rdXzbxbKJw9dSLsrbP/zYpeKpC4d9CKhxHVf7hWRDmGuCb+8tjl8R ebc77d5TZ1srvBcUGoImXTj0+nRerTwpkL3oeo0AMqy3a+Ap/tARRYadj4jFKGlv+oim 60gdBCaV6tZ4rHKjBs9dMwVms1Xkjt1fP+TivNBi3BMw78d2tQDmRvzqoZViaVO5JoxL IciZ4bj5CYL+7ickCpowoLfrCGQar64nMKplc3vRaulm9xIi+MIByEbwnw0I6XL6Kq6H ABNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=oUxFgYaL; 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 Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id j1si5839649pgp.293.2018.01.18.04.38.43; Thu, 18 Jan 2018 04:38:43 -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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=oUxFgYaL; 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 Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 1F765787E0; Thu, 18 Jan 2018 12:38:41 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by mail.openembedded.org (Postfix) with ESMTP id 892007828D for ; Thu, 18 Jan 2018 12:38:10 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id v71so22620307wmv.2 for ; Thu, 18 Jan 2018 04:38:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=Q62S9Skor6mFowuqIjdFwwsQyj2C4PDhbW2IblswgoU=; b=oUxFgYaL8d25LSo07xggbxUvMGJcOwXJX8XBNBKtbkCxyP0uimpvj3ES4QN1TBULlV sa+x9s/gKRhWFp5nx16RHvJPcvp6WszkQFWV9IT8TcTp9Dlw2qTwarTbcL+Fv5sb/Bid w6fPe/WEi4s2jxHu/NYCyWERGO8jOdFac6OW6Rc/yfd4rdAoZyKnyrjN1YuoO+seMGxu QDTu6zq/boqG87LCGomsGiNOj/TbAp7DsdY96/aaOaHNzYxyfghGSUj9Nsr6mblRrMWI MU67ZiDBBIhJTxBfriJWxBIbgQ+sS9NpwCAyMVci1XmU/gyUuo7xFdhF78ni70WrH9F6 1WOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=Q62S9Skor6mFowuqIjdFwwsQyj2C4PDhbW2IblswgoU=; b=s3BLGpcA3XT+83wT1qQYk5/urWoLgm2jvDEE4LpcSVoyP+u/jhb0WEkdA9S0KREJuy iK4vLzwrCKVOjb8LbTyvMLUW2QBpcpqzXIHB4lsqK8ZS+Nj+ktqnWJN11NIM6jcrx7gL 6zNx1j5Nn5KUmftX5lQUZL2c7ODf7dakzagYsQZhYsPRe9tIkuuLHcUpw4JjKlVWlMhF gvM1/rnZskz48CvUyiV+Eevi6o8BWln1d+pXKicJlz3W5c4upUVPkbMYohI3BaoiyvN+ nkIPBmQ7mKg3EaKbsUVdYmjPKK6EYowfagVsEcPgnDLPHwYbCnb25QCV0Z33y9+x7Snr a+oA== X-Gm-Message-State: AKwxyteGg+Zcow4ikx2iT8l5/h4jZ/xFjyhveqPml4MjIbrT1O6El8ih 9PnVz1Vpn26xEYEsDpabAXxzQdzf X-Received: by 10.28.7.68 with SMTP id 65mr3947035wmh.9.1516279091078; Thu, 18 Jan 2018 04:38:11 -0800 (PST) Received: from flashheart.burtonini.com (home.burtonini.com. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id f48sm4464635wra.72.2018.01.18.04.38.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jan 2018 04:38:10 -0800 (PST) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Thu, 18 Jan 2018 12:38:04 +0000 Message-Id: <20180118123804.2465-2-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180118123804.2465-1-ross.burton@intel.com> References: <20180118123804.2465-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 2/2] cmake: use Ninja by default 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This changes the cmake class to use Ninja instead of Make by default. If a recipe is broken with Ninja then the recipe can set OECMAKE_GENERATOR="Unix Makefiles" to change back to Make. Signed-off-by: Ross Burton --- meta/classes/cmake.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core Acked-by: Otavio Salvador diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 74a952142ff..d60dad8d66b 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass @@ -9,7 +9,7 @@ CCACHE = "" # What CMake generator to use. # The supported options are "Unix Makefiles" or "Ninja". -OECMAKE_GENERATOR ?= "Unix Makefiles" +OECMAKE_GENERATOR ?= "Ninja" python() { generator = d.getVar("OECMAKE_GENERATOR")