From patchwork Thu May 3 10:03:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 134886 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp1711902lji; Thu, 3 May 2018 03:03:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoZf6lwF3O6PuFDtzB8J1YI+qzyMcfNJyZQqxxZhY3+4nYzTGbFPAut+4961aWZ/32UOXLh X-Received: by 2002:a17:902:bc49:: with SMTP id t9-v6mr23721888plz.109.1525341818856; Thu, 03 May 2018 03:03:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525341818; cv=none; d=google.com; s=arc-20160816; b=jW8t4b9YHelvxi6diUPPDYKhJC3eHkt9yOJqFp8ZDkG8gin0UsNlLaG2OA644hU+X+ cdplPg6jJ2pGH+iDjZiVQcr9uK/BcpQzULlmOB1PG3VTa4YhlKQATrsiaNF2jXMTOF84 FflnLa2TAUe9YyZxVItibKCBNKaq6tOJFuwCbFZP1yMKWr9uYCwf07Jd7zQ9CpzzfWoT 3i0peUgg38qysJg/9+3Xk6rtSu6B8vUprlOEzAXsU5idRIA0//sJDFPEZ+45umzcIKpI lpBshM/iCA8DlP5kbEXk5t3n402qvQh+NkqbbdMJuqeoLiolXEYkB18gTg7KPR8am+Wx 2sig== 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:arc-authentication-results; bh=7u9ANs6MBXXPnZXLmzstCqEhaaGvP38/DC81sk1UCcY=; b=gAE1KK0o8JNcQdS2RfK2/2nPmYzCDMoD8Wad4iizdxNoIOmtnjfPzSmMcb6HvjmNwL 6UkGFZ6PrmsDxD8vMIOLiI96JFv0kMYKyZG6ILDF71XQRpSa/cqXV9+H9HnsXnd8I72m pFYAvuCq90TuAxDXNXilymtN8BpWhD/UY22RlZ6XZafj/eDvTMMxSysWbcrs5c8kabFI 9H4Hs+IkrdIbV1n6Ql7XePUxKXc8eoXLP7w91MEnubJDfQ8A7wmsL/DTxqohrVfkbwtl xBwiaR9gAtEUGplUqPDX6ztQrxdte3AlTaIsUIJZz7agq+LwyC0cnAulkf6GZIKvHflX tNXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Bu4dKYeF; 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: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id d65si13936237pfa.263.2018.05.03.03.03.38; Thu, 03 May 2018 03:03:38 -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=@gmail.com header.s=20161025 header.b=Bu4dKYeF; 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 layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id BFE9A74922; Thu, 3 May 2018 10:03:35 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id DFB7C74820 for ; Thu, 3 May 2018 10:03:34 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id a13-v6so12774176pgu.4 for ; Thu, 03 May 2018 03:03:36 -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; bh=Mu42EDGq2he0LOvtfZ5FPJlwKeQZ9lNATBesNJGTdUQ=; b=Bu4dKYeF2S/fDU4QeikfZc+wCfS8tZSQUEE9sLnF6qEIZQz0JLzPbPJoarwleKwvgZ 0LhaSJ5T0sln4nr7MSpENCH2lfhR8Pf+3Vgd3e0EOcwMzobCZpwh1CoTHs27bq5U37yN JOnWElq6UOJCxcFRzbYBnXXtRQ7fvdOhoUAw0er/zeXtNcvC9rZCPAqCObv2w294+1Gf i5GgnX0uRSX0Jo0zcdqlDoT3kFv9jSL97q2iMbXfj5mDhutrGcNEivxxrBg53m+G/Zx0 JMLpc98+gywE8zEXJ9+KjnuKGSXGsdhVAjJOYpX/DoH63D6Me5PQuvlH82oy2aFqxGj8 O73g== 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; bh=Mu42EDGq2he0LOvtfZ5FPJlwKeQZ9lNATBesNJGTdUQ=; b=HWdU7IlKHCYBtB5ADOLv70J2Q9Huyecg4VQ1zm798INqFloe5PpiTFSOIkmdLWITzR PvRzgQsOqcyG7b1YAh2B7MZFvT9KVhVS9/5rV2KWVmFKBk9CTE55FxPvkOS7cAwYVut6 MBXLjPwyhyDXTjtK2DYWSBUUz97PGcHEPBU8krgT1p08v+6hxsL+wSQ4H1dxa2e/zMuY sbVG75n1s0qLX1CWysRf6gtDdlQRft6ryzOFX7x7b4tDyeCdYm1Lvnmmt/3rAtM+I98T 3BUZqi8oWgsbsLTgYtYIkJTG9IWGSwdJnl3ouK5s7ChAA0QjPwnqazkHd3GXZHkr01cF n3wQ== X-Gm-Message-State: ALQs6tDKrx8tIwb5y8v9pccS+PKd6L5PZIP7aQ098yOOrxRDePT7X26C m/q312Jrytn2ZmMWYu3CuJ9wtw== X-Received: by 2002:a17:902:9886:: with SMTP id s6-v6mr23120232plp.380.1525341815684; Thu, 03 May 2018 03:03:35 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::52a0]) by smtp.gmail.com with ESMTPSA id r30-v6sm23890856pgu.17.2018.05.03.03.03.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 May 2018 03:03:34 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Thu, 3 May 2018 03:03:26 -0700 Message-Id: <20180503100326.32797-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.17.0 Subject: [OE-core] [PATCH] mesa: Define PYTHON2 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 Ensure that python2 is not assumed to be python which can point to python3 in some cases, when building gallium-llvm there are scripts which are requiring python2 and wont work with python3 Signed-off-by: Khem Raj --- meta/recipes-graphics/mesa/mesa.inc | 1 + 1 file changed, 1 insertion(+) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 0a4cfc25a5..9bddb7acef 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -35,6 +35,7 @@ export LLVM_CONFIG = "${STAGING_BINDIR_NATIVE}/llvm-config${MESA_LLVM_RELEASE}" export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE}/llvm-config" EXTRA_OECONF = "--enable-shared-glapi \ --disable-opencl \ + PYTHON2=python2 \ --with-llvm-prefix=${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE} \ --with-platforms='${PLATFORMS}'"