From patchwork Fri Sep 5 23:38:47 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonios Christidis X-Patchwork-Id: 69778 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 ADB9ACAC580 for ; Fri, 5 Sep 2025 23:38:56 +0000 (UTC) Received: from fllvem-ot04.ext.ti.com (fllvem-ot04.ext.ti.com [198.47.19.246]) by mx.groups.io with SMTP id smtpd.web10.2361.1757115531237652606 for ; Fri, 05 Sep 2025 16:38:51 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=AXuzd281; spf=pass (domain: ti.com, ip: 198.47.19.246, mailfrom: a-christidis@ti.com) Received: from fllvem-sh03.itg.ti.com ([10.64.41.86]) by fllvem-ot04.ext.ti.com (8.15.2/8.15.2) with ESMTP id 585NcoXJ3812427 for ; Fri, 5 Sep 2025 18:38:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1757115530; bh=l5SscmGy1wKf7O1EcY3bvsNXYSbhBN1DgH7M8N8xuqI=; h=From:To:Subject:Date:In-Reply-To:References; b=AXuzd281NH7EFLRKjgywFZ6Un4iBP1tw0jtJegAGnKOa19sQTZpy3mUH0TOTmYeX8 QXU3nXTl4Eo2/nC/y00AiRarojOAPUEC8mNTx0ZylJIkP9O1B7p2mkuKgC51euGbst 26T9etdNp937J+wgobv3Dxeeu8vlgKRqQEoyVUtY= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by fllvem-sh03.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 585NcomA1232705 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL) for ; Fri, 5 Sep 2025 18:38:50 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55; Fri, 5 Sep 2025 18:38:50 -0500 Received: from lelvem-mr06.itg.ti.com (10.180.75.8) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55 via Frontend Transport; Fri, 5 Sep 2025 18:38:49 -0500 Received: from antonios-ThinkStation-P3-Tower.dhcp.ti.com (antonios-thinkstation-p3-tower.dhcp.ti.com [128.247.81.112]) by lelvem-mr06.itg.ti.com (8.18.1/8.18.1) with ESMTP id 585Nco9W1174327; Fri, 5 Sep 2025 18:38:50 -0500 From: To: , Subject: [meta-arago][master][PATCH v2 1/3] meta-arago-test: recipes-extended: Cmake support for opencl-headers Date: Fri, 5 Sep 2025 18:38:47 -0500 Message-ID: <20250905233849.2506703-2-a-christidis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250905233849.2506703-1-a-christidis@ti.com> References: <20250905233849.2506703-1-a-christidis@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea 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, 05 Sep 2025 23:38:56 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/16539 From: Antonios Christidis In the meta-oe recipe, where the bbappend links from, the recipe does not use cmake. It explicitly disabled do_configure and do_compile tasks. While setting up a custom do_install task. Since cmake support exists, use it. It will automatically configure, build and install the header files, as well as cmake files. Such cmake files are a dependency, for the c++ opencl headers. Signed-off-by: Antonios Christidis --- v2: - Implemented the changes in a yocto compliant way, not by creating a new recipe outright .../recipes-extended/opencl/opencl_headers-ti.inc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/meta-arago-test/recipes-extended/opencl/opencl_headers-ti.inc b/meta-arago-test/recipes-extended/opencl/opencl_headers-ti.inc index 4dff02d9..48335204 100644 --- a/meta-arago-test/recipes-extended/opencl/opencl_headers-ti.inc +++ b/meta-arago-test/recipes-extended/opencl/opencl_headers-ti.inc @@ -1 +1,16 @@ +inherit cmake + SRCREV = "8275634cf9ec31b6484c2e6be756237cb583999d" + +EXTRA_OECMAKE = "-DBUILD_TESTING=OFF" + +python() { + # Delete the noexec flags for the following tasks. + # Ensuring the tasks run. + d.delVarFlag("do_configure", "noexec") + d.delVarFlag("do_compile", "noexec") +} + +do_install() { + cmake_do_install +} From patchwork Fri Sep 5 23:38:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonios Christidis X-Patchwork-Id: 69776 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 9CEADCA1013 for ; Fri, 5 Sep 2025 23:38:56 +0000 (UTC) Received: from lelvem-ot02.ext.ti.com (lelvem-ot02.ext.ti.com [198.47.23.235]) by mx.groups.io with SMTP id smtpd.web11.2270.1757115531213803351 for ; Fri, 05 Sep 2025 16:38:51 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=RJjMDO/R; spf=pass (domain: ti.com, ip: 198.47.23.235, mailfrom: a-christidis@ti.com) Received: from fllvem-sh03.itg.ti.com ([10.64.41.86]) by lelvem-ot02.ext.ti.com (8.15.2/8.15.2) with ESMTP id 585NcovX3855638 for ; Fri, 5 Sep 2025 18:38:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1757115530; bh=35hOCviEGBxovI2/B6CZDClQ05ossAuALQW+Uf1Fyco=; h=From:To:Subject:Date:In-Reply-To:References; b=RJjMDO/RaIoN+JSTsRyv7ZL0cApXLYFeOpPDisAXVBf4Pmw8npYUjEgeBK6MMufb0 13Be3ZYUVk6NC7jCt6D7/sJDTDP981gEyCpZ2P7HFruBQg2aPtEktCHHUn5e2EQNHy BGvzJcJeL/tmmKUTLryOubjI5TWjcgy/qhUYfVvY= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllvem-sh03.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 585NcowO1232704 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL) for ; Fri, 5 Sep 2025 18:38:50 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55; Fri, 5 Sep 2025 18:38:50 -0500 Received: from lelvem-mr06.itg.ti.com (10.180.75.8) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55 via Frontend Transport; Fri, 5 Sep 2025 18:38:50 -0500 Received: from antonios-ThinkStation-P3-Tower.dhcp.ti.com (antonios-thinkstation-p3-tower.dhcp.ti.com [128.247.81.112]) by lelvem-mr06.itg.ti.com (8.18.1/8.18.1) with ESMTP id 585Nco9X1174327; Fri, 5 Sep 2025 18:38:50 -0500 From: To: , Subject: [meta-arago][master][PATCH v2 2/3] meta-arago-test: recipes-extended: Specify correct PV for OCL C headers Date: Fri, 5 Sep 2025 18:38:48 -0500 Message-ID: <20250905233849.2506703-3-a-christidis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250905233849.2506703-1-a-christidis@ti.com> References: <20250905233849.2506703-1-a-christidis@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea 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, 05 Sep 2025 23:38:56 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/16538 From: Antonios Christidis With the .bbappend and .inc file, the version of the headers is increased. So, specify the correct PV of the headers. Signed-off-by: Antonios Christidis --- meta-arago-test/recipes-extended/opencl/opencl_headers-ti.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-arago-test/recipes-extended/opencl/opencl_headers-ti.inc b/meta-arago-test/recipes-extended/opencl/opencl_headers-ti.inc index 48335204..1216adf5 100644 --- a/meta-arago-test/recipes-extended/opencl/opencl_headers-ti.inc +++ b/meta-arago-test/recipes-extended/opencl/opencl_headers-ti.inc @@ -1,6 +1,7 @@ inherit cmake SRCREV = "8275634cf9ec31b6484c2e6be756237cb583999d" +PV = "2024.05.08" EXTRA_OECMAKE = "-DBUILD_TESTING=OFF" From patchwork Fri Sep 5 23:38:49 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonios Christidis X-Patchwork-Id: 69777 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 9EB7FCA0FED for ; Fri, 5 Sep 2025 23:38:56 +0000 (UTC) Received: from lelvem-ot02.ext.ti.com (lelvem-ot02.ext.ti.com [198.47.23.235]) by mx.groups.io with SMTP id smtpd.web11.2269.1757115531192308592 for ; Fri, 05 Sep 2025 16:38:51 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=v1icrg5F; spf=pass (domain: ti.com, ip: 198.47.23.235, mailfrom: a-christidis@ti.com) Received: from fllvem-sh04.itg.ti.com ([10.64.41.54]) by lelvem-ot02.ext.ti.com (8.15.2/8.15.2) with ESMTP id 585Nco3n3855634 for ; Fri, 5 Sep 2025 18:38:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1757115530; bh=Dra66EARzH7BFh2UTPGvd1h6bHLGHPrSB+0rtO3iQvg=; h=From:To:Subject:Date:In-Reply-To:References; b=v1icrg5FCYwY10u18g3Po5BcjHNCmufPL7CbUvfJ9U8JF11BfWL73WoP/oPDBXGQ6 56V0iyZqJdJoScb0gjAHKYCOX+LtpAO1bhCTOnz3sb23v9EiLcq7nApdejXEgwh2+x CzDZY4xGMFC9MnltnI1mkd3m6WAajumFUEF50k3o= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by fllvem-sh04.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 585NcoPV1982137 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL) for ; Fri, 5 Sep 2025 18:38:50 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55; Fri, 5 Sep 2025 18:38:50 -0500 Received: from lelvem-mr06.itg.ti.com (10.180.75.8) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55 via Frontend Transport; Fri, 5 Sep 2025 18:38:50 -0500 Received: from antonios-ThinkStation-P3-Tower.dhcp.ti.com (antonios-thinkstation-p3-tower.dhcp.ti.com [128.247.81.112]) by lelvem-mr06.itg.ti.com (8.18.1/8.18.1) with ESMTP id 585Nco9Y1174327; Fri, 5 Sep 2025 18:38:50 -0500 From: To: , Subject: [meta-arago][master][PATCH v2 3/3] meta-arago-test: recipes-extended: opencl-clhpp v2.0.16 -> v2024.05.08 Date: Fri, 5 Sep 2025 18:38:49 -0500 Message-ID: <20250905233849.2506703-4-a-christidis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250905233849.2506703-1-a-christidis@ti.com> References: <20250905233849.2506703-1-a-christidis@ti.com> MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea 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, 05 Sep 2025 23:38:56 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/16536 From: Antonios Christidis Increase the version of the opencl c++ headers to v2024.05.08. This way both c and c++ headers will be the same version. Signed-off-by: Antonios Christidis --- v2: - Implemented the changes in a yocto compliant way, not by creating a new recipe outright .../recipes-extended/opencl/opencl-clhpp_%.bbappend | 4 ++++ .../recipes-extended/opencl/opencl_clhpp-ti.inc | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 meta-arago-test/recipes-extended/opencl/opencl-clhpp_%.bbappend create mode 100644 meta-arago-test/recipes-extended/opencl/opencl_clhpp-ti.inc diff --git a/meta-arago-test/recipes-extended/opencl/opencl-clhpp_%.bbappend b/meta-arago-test/recipes-extended/opencl/opencl-clhpp_%.bbappend new file mode 100644 index 00000000..6e486f4c --- /dev/null +++ b/meta-arago-test/recipes-extended/opencl/opencl-clhpp_%.bbappend @@ -0,0 +1,4 @@ +OPENCL_HEADERS_TI = "" +OPENCL_HEADERS_TI:ti-soc = "opencl_clhpp-ti.inc" + +require ${OPENCL_HEADERS_TI} diff --git a/meta-arago-test/recipes-extended/opencl/opencl_clhpp-ti.inc b/meta-arago-test/recipes-extended/opencl/opencl_clhpp-ti.inc new file mode 100644 index 00000000..ed43170c --- /dev/null +++ b/meta-arago-test/recipes-extended/opencl/opencl_clhpp-ti.inc @@ -0,0 +1,7 @@ +SRCREV = "0bdbbfe5ecda42cff50c96cc5e33527f42fcbd45" +PV = "2024.05.08" + +DEPENDS = "opencl-headers" + +EXTRA_OECMAKE:append = " -DOPENCL_CLHPP_BUILD_TESTING=OFF \ + -DBUILD_TESTING=OFF"