From patchwork Fri Jun 16 22:10:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 25882 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7BFB1EB64D7 for ; Fri, 16 Jun 2023 22:10:14 +0000 (UTC) Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by mx.groups.io with SMTP id smtpd.web10.403.1686953413158730150 for ; Fri, 16 Jun 2023 15:10:13 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=IMzgM7/z; spf=pass (domain: ti.com, ip: 198.47.23.248, mailfrom: reatmon@ti.com) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 35GMAB29098182; Fri, 16 Jun 2023 17:10:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1686953411; bh=DHtEN66JOGrX26bJ+UEngpZ39NTDpxZx1m3/K4iHbRQ=; h=From:To:Subject:Date; b=IMzgM7/z9GnAZDxCcxD85X2i5fJz+E52vmSdIACeuEDNngRjEpNEwCbJ+8PcMrmGi DLJAldzvrcmar9utQnhGphkBs9onwe8kHeSMnhYaUxWBLrCz3Ae6zxMHpitXYiDtJY FyQFrPFkx/SwNUQj69I/14Q2faHiMLFpyRTC2u1A= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 35GMAB4c020022 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 16 Jun 2023 17:10:11 -0500 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 16 Jun 2023 17:10:11 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 16 Jun 2023 17:10:11 -0500 Received: from uda0214219 (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 35GMABqa125281; Fri, 16 Jun 2023 17:10:11 -0500 Received: from reatmon by uda0214219 with local (Exim 4.90_1) (envelope-from ) id 1qAHdy-0004oR-UC; Fri, 16 Jun 2023 17:10:11 -0500 From: Ryan Eatmon To: Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-arago][kirkstone][PATCH 1/2] python3-pybind11: Backport from meta-openembedded master Date: Fri, 16 Jun 2023 17:10:09 -0500 Message-ID: <20230616221010.18458-1-reatmon@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 16 Jun 2023 22:10:14 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/14647 The version of pybind11 in kirkstone seems to have an issue when configuring the kms++ package. Backporting the 2.10.3 verison from master fixes that issue. Signed-off-by: Ryan Eatmon --- .../python/python3-pybind11_2.10.3.bb | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta-arago-extras/recipes-devtools/python/python3-pybind11_2.10.3.bb diff --git a/meta-arago-extras/recipes-devtools/python/python3-pybind11_2.10.3.bb b/meta-arago-extras/recipes-devtools/python/python3-pybind11_2.10.3.bb new file mode 100644 index 00000000..bb604982 --- /dev/null +++ b/meta-arago-extras/recipes-devtools/python/python3-pybind11_2.10.3.bb @@ -0,0 +1,35 @@ +SUMMARY = "Seamless operability between C++11 and Python" +HOMEPAGE = "https://github.com/wjakob/pybind11" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=774f65abd8a7fe3124be2cdf766cd06f" + +DEPENDS = "boost" + +SRC_URI = "git://github.com/pybind/pybind11.git;branch=stable;protocol=https" + +SRCREV = "0bd8896a4010f2d91b2340570c24fa08606ec406" + +S = "${WORKDIR}/git" + +EXTRA_OECMAKE = "-DPYBIND11_TEST=OFF" + +inherit cmake setuptools3 python3native + +PIP_INSTALL_DIST_PATH = "${S}/dist" +PIP_INSTALL_PACKAGE = "pybind11" + +do_configure() { + cmake_do_configure +} + +do_compile() { + setuptools3_do_compile + cmake_do_compile +} + +do_install() { + setuptools3_do_install + cmake_do_install +} + +BBCLASSEXTEND = "native nativesdk"