From patchwork Wed Mar 27 23:07:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 161280 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1545jan; Wed, 27 Mar 2019 16:07:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxU4+ycWR3Ia78kAdi2d0NFpittwdq5zgFcs/LBKqOFN8DXY2PaLdvrTSC0GF2bhjfPYUhf X-Received: by 2002:a65:6107:: with SMTP id z7mr23118159pgu.313.1553728040409; Wed, 27 Mar 2019 16:07:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553728040; cv=none; d=google.com; s=arc-20160816; b=B+75nvTgZyUpzVf0byUq6iDa5wlqYHC05x5PqisCYG4wLm3fOye13zCRjPxAzc/UfK G9WScA93bzZyRI25FLbvUe2YJTFZJqOWN6roDrKPbTb5tLhOFZgEmkEagCqpY96DFSDM 0eLz8a8kcf5x+8VILl7Jnpc6PXh4o7f9qzBANRxbiyBp1j4KspTs6JE7N3Pghz0/1E1f grvoR3C7d7x/Hd+scHELnbdg1QRqb9OVgdy2mjR/xD1r80Wd1RbdWxII6Zz6/jX0/F2w FqlmqJD6FA2JbMsDeRhVO3hAPV3ZxUEaDFLwmpe2XZKFQIeY6ltdvlfF8yBOrzuQJrdj S2sQ== 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:message-id:date:to:from:dkim-signature :delivered-to; bh=ryqEanA21fHUQOP340quZgV7kAwyESLFqsQV8AgfzGI=; b=BgAOWuW7zhQQJaX60sZhvLO/FB09ZfNM9FgoKkqf8Jibw9yxQtkQyTzOAVKggRH/OH ViErQxr9qKI7CnEs8CKHaVXNtrVe/MNIj7iuBOKmJRvyxZ8D3UA2XAGbPIrorzROt9lZ AIFxie+EufpaW1nHZG75+LUxnLKYjlwTA2cfiZiuzJrTlFGz/iFFP6hDldR86b5TrIzL ly6VlzRUmRF9gDKyLLSyp4xK1mgGYme0FIFyqiwAACaL2Qfc92ijeMRoN7QOGcfvdLaR lEqHxH09Ch0Hwnxc9W3l5TFHudtBXu5vYy2xuG8cGW8TrZyIndUIntsO1yGmswX3eZYq BLDw== 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="csolycW/"; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id s5si3192568plr.307.2019.03.27.16.07.19; Wed, 27 Mar 2019 16:07:20 -0700 (PDT) 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="csolycW/"; 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=NONE dis=NONE) header.from=intel.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 8FFC96C376; Wed, 27 Mar 2019 23:07:16 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) by mail.openembedded.org (Postfix) with ESMTP id D47716C376 for ; Wed, 27 Mar 2019 23:07:14 +0000 (UTC) Received: by mail-wm1-f47.google.com with SMTP id z11so1667674wmi.0 for ; Wed, 27 Mar 2019 16:07:16 -0700 (PDT) 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; bh=UJcIxH16Y5VYKi4mR67I6FD62BzkynTwGkSlKHGEjms=; b=csolycW/K+qDx1L6jycne7aDZAl/a938DYgbVMzUucLzb37fzb5IqqG9gAdSHgbBIo /O0/2MtQag/oEQB+tbO9zVlVmPspR3HNvnHXx3bNxwI/sfbNfTWYAKpzyNyy1Mztxznn 02x/KtT593h2uqpf+QdJMYFYo+F9ZxSDBQEUB3+kkOAIriwM0ur68FCIrmcAuI/zUERt CfG/uJWRe63wMQgZMNXj8DMLwPGFowZSm6WxQW5A8He9giqIOJQPRUSnXsHkB/RoM4WQ HWqZ8crFLlXeZmgd31D8X9ZFFpNNUkAVBd09oTBZj0JRRXsiIM8wd0k5WVbI8zrP06Z/ U91A== 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; bh=UJcIxH16Y5VYKi4mR67I6FD62BzkynTwGkSlKHGEjms=; b=BpJS+ePlTkUvTZKE52FXQH1D5yGYz8ijussTCtIKLSITeNsWsLvnO6pdQTf5lnKw5g b+P+7+m8km4rpeGpHT5fJ8YSXwS9B4YfRkB/PfE4OJckil7K8azQXXIcEk1rhHd7egJJ LLGZaXJ9lQAk6h0k/uZxSclZkgUfuicPE24xw8UMv01UoKsgvS9QT0ohCFkgJ6lRzrvo Z+1JqJq73YMD3TbaEbv+vSq4tBJqMMccLm6/gDUCE/yGtLz2HkSOnBca0J/oeLlpabAH JfbkCx78fgRt5htD7WU5/iXaaUZcbGYx7NRpECXuR1YkrZSRNbiTf9tZcqfQvdCYZXtL BKmA== X-Gm-Message-State: APjAAAWuqUyCgR8MpujNJO8fR5ouNOayldw9ZeV1IwPnlHtU5LmUbm6Z UcFTcXWt6plr5j9UykODweHQ8wK4kPw= X-Received: by 2002:a1c:9609:: with SMTP id y9mr11322016wmd.27.1553728035283; Wed, 27 Mar 2019 16:07:15 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id t24sm1263617wmi.10.2019.03.27.16.07.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Mar 2019 16:07:14 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Wed, 27 Mar 2019 23:07:11 +0000 Message-Id: <20190327230712.4930-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH 1/2] llvm: doesn't actually need pythonnative 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 LLVM doesn't actually need pythonnative, the host Python2 is sufficient but cmake's executable searching currently isn't reliable in cross-compilations. Convince cmake by setting PYTHON_EXECUTABLE to point at python2 in the HOSTTOOLS directory. Note that currently LLVM *needs* python2 currently: https://github.com/llvm-mirror/llvm/blob/master/CMakeLists.txt#L670 Signed-off-by: Ross Burton --- meta/recipes-devtools/llvm/llvm_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index d2ea927651d..31abadcace5 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb @@ -12,7 +12,7 @@ DEPENDS = "libffi libxml2 zlib ninja-native llvm-native" RDEPENDS_${PN}_append_class-target = " ncurses-terminfo" -inherit perlnative pythonnative cmake pkgconfig +inherit perlnative cmake pkgconfig PROVIDES += "llvm${PV}" @@ -74,6 +74,7 @@ EXTRA_OECMAKE += "-DLLVM_ENABLE_ASSERTIONS=OFF \ -DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \ -DLLVM_OPTIMIZED_TABLEGEN=ON \ -DLLVM_TARGETS_TO_BUILD='${LLVM_TARGETS}' \ + -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python2 \ -G Ninja" EXTRA_OECMAKE_append_class-target = "\ From patchwork Wed Mar 27 23:07:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 161281 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1897jan; Wed, 27 Mar 2019 16:07:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqwO/W5G4jNxuXwZQQh2hVpTukpg0/E78s13yLZ7Gw52FuebEs54YHMKh4QIv2tnyVWkzXmr X-Received: by 2002:a63:1322:: with SMTP id i34mr36246830pgl.208.1553728061817; Wed, 27 Mar 2019 16:07:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553728061; cv=none; d=google.com; s=arc-20160816; b=dq5wMWWjL/G1M1aoI8/HqOaPvyeMadNQzLhK/2oeyUJZ+4obFMid2j/GaEBUKS7JLg 9hb29WM49fHmzLbmZRvfzdhix1kUJmdkPUUetX8g4oc3Xz7oWWGb96vdsCKooNMDEmtM nLe5kVCiHFO4WMcXtUahZbwPburgR1e9eQ6ujAyfTH6pThZmU26uKUIcOcakoPENS1Jk laPVH23mRDM0E+OhHVHZji86G7iF3wypD3eozCLGQ8gD6wgLvBVqohqF5Z+uxXoE+/0U lLH7c02OL07i0+rHLbj51ABDZAvs8y9zq7Kc7mtEUE3ACLufMqT/Lf4c1a3VE3hUdhFe sX6g== 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; bh=2BHkDCiSZbHCS/RQxf9TWhY+Z3nJIbNuXNBlLYRIH9A=; b=WZDw7LV9NyNGfiCI0+SuYxh5F3tYNczilfEZvY/ICM00lGKx8+g+u97oo6WLbvh5OQ YLNGXZiNeYZjZdhGgJ8zwPcCM/vGYPz42M5Cz84Yrh5Gtbae5GhLj9WbVZ17ZAn8EqQ9 2JeVIWNd0ck9AO5d3fVz/we//YztTNpazG+CBjkQSZik1UkkBCm+ngkmt5//0iWVDZEG Vlh3JmoTcIyj4o3RctrznyuRFpvaCewcZHMFaBD+ziPRzSibMooG6/R4GzygcqD9hgss ZTsBhAVWvHODiFVrYES9/NX0YV5azwUmsIJ4uLYsJkopo/Ii2yj0qd8ZKUCy0dYishbG K06g== 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=S2esQ7Mk; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id l129si19373496pgl.541.2019.03.27.16.07.41; Wed, 27 Mar 2019 16:07:41 -0700 (PDT) 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=S2esQ7Mk; 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=NONE dis=NONE) header.from=intel.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 621C57D136; Wed, 27 Mar 2019 23:07:39 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by mail.openembedded.org (Postfix) with ESMTP id BBD2B7D117 for ; Wed, 27 Mar 2019 23:07:15 +0000 (UTC) Received: by mail-wm1-f51.google.com with SMTP id f3so1639283wmj.4 for ; Wed, 27 Mar 2019 16:07:17 -0700 (PDT) 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=G/APcy7LtmHCCP9x+MRH+xyqvE+AktnCujV0AxqIc+A=; b=S2esQ7Mkfpn12r7y1fhOAa0oa89oNH2S59ozzrcFD1bN2Wj6TdgsYwQTld6CGd4qOV KP/StEW2rjWkw218ZrKAiUa887rqnCZU5SF9LMQqkq1k65WTF+Oxyxpsky32QXl4HXoW okmV9vwE8m7GoShoMK9HUVRXXk8S9sidHUz6FEJnwNyL9g4B+dPYxw+SN18pLezHEhYq 74NnS6tJkrWdqyoEeNy4/hQhSkI7k3RqBwBgQ3Pfg/BEGYmLyVH2BrFMdlPB4rUxP7py QE7ZDm8vUl/5EVwNzexROmu2Lirj3AjykM21rzTA6BNIQ9ov0+BeQswbTuWxUFQOIXAk b+8A== 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=G/APcy7LtmHCCP9x+MRH+xyqvE+AktnCujV0AxqIc+A=; b=XSG8bwmBcSSx+YrpIDyiazE3Dt1EYTGZ9bcMjNSxi/ch8Sjmquq3KWASM+vyfBMipz qyfwCw1YRVSlBIipuuKtAsbXLp/aU2g7gq6syUKh70t6qnL0S/XMgZQa8raSBaRn1N74 QKM9AfYzitkLgrzJ93sFJ8zQrJxKxoOvkGUHQOlD6AdYuxliWgEKReisJSBsGvABQACL rAXJLw5EMClZR3nUR4SOlOZHkoKy2sfUVsKkwVaeABrWaz1wNlys28b7M3kgJvgQzbv2 9NazkSJHymbkDhglbWgH7uN+ECr7XvSsetJyd4ZwqhwpwXwzCy/U09oEATZKdPyQf3Ea Ak1w== X-Gm-Message-State: APjAAAWfgpkbOEZLOte55u+n5rPj3xMEf2+bOKCL2/mcJZvmbWEAJFwM hquCbmsqAYdFRkHXUIEHHn2LYGkeGvo= X-Received: by 2002:a1c:16:: with SMTP id 22mr13037408wma.91.1553728036368; Wed, 27 Mar 2019 16:07:16 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id t24sm1263617wmi.10.2019.03.27.16.07.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Mar 2019 16:07:15 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Wed, 27 Mar 2019 23:07:12 +0000 Message-Id: <20190327230712.4930-2-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190327230712.4930-1-ross.burton@intel.com> References: <20190327230712.4930-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 2/2] llvm: don't inherit perlnative 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 doesn't appear to be required at all. Signed-off-by: Ross Burton --- meta/recipes-devtools/llvm/llvm_git.bb | 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 diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index 31abadcace5..2a8cd4a3e4e 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb @@ -12,7 +12,7 @@ DEPENDS = "libffi libxml2 zlib ninja-native llvm-native" RDEPENDS_${PN}_append_class-target = " ncurses-terminfo" -inherit perlnative cmake pkgconfig +inherit cmake pkgconfig PROVIDES += "llvm${PV}"