From patchwork Mon Sep 8 18:55:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonios Christidis X-Patchwork-Id: 69824 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 4DF36CA1016 for ; Mon, 8 Sep 2025 18:56:08 +0000 (UTC) Received: from fllvem-ot03.ext.ti.com (fllvem-ot03.ext.ti.com [198.47.19.245]) by mx.groups.io with SMTP id smtpd.web10.2929.1757357761683887616 for ; Mon, 08 Sep 2025 11:56:01 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pv9SbafE; spf=pass (domain: ti.com, ip: 198.47.19.245, mailfrom: a-christidis@ti.com) Received: from lelvem-sh02.itg.ti.com ([10.180.78.226]) by fllvem-ot03.ext.ti.com (8.15.2/8.15.2) with ESMTP id 588Iu1LE3853525 for ; Mon, 8 Sep 2025 13:56:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1757357761; bh=hJofA6J+Yt+n2h+2OG8y297Asg5TxF5rwnbGan2CrZo=; h=From:To:Subject:Date:In-Reply-To:References; b=pv9SbafED2YbK6unmMsA/HQllaKmVBYrIUnAAHoMlSrxpj0he+paI/umTSvFHrEBd rP1dYmoogNpFUZMYxgswymYSyx9lP++cds37E0BC9yedCNB8VOvEtGdvwRWd17QZ+L NF1YcZNGdfDjqbJkHpGiemaT3Kx/IBu8A6eJ/60Q= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelvem-sh02.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 588Iu1kG3160505 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL) for ; Mon, 8 Sep 2025 13:56:01 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) 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; Mon, 8 Sep 2025 13:56:00 -0500 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) 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 via Frontend Transport; Mon, 8 Sep 2025 13:56:00 -0500 Received: from antonios-ThinkStation-P3-Tower.dhcp.ti.com (antonios-thinkstation-p3-tower.dhcp.ti.com [128.247.81.112]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 588Iu0aF1367803; Mon, 8 Sep 2025 13:56:00 -0500 From: To: , Subject: [meta-arago][scarthgap][PATCH v3 1/3] opencl-headers: Use Cmake class Date: Mon, 8 Sep 2025 13:55:58 -0500 Message-ID: <20250908185600.152317-2-a-christidis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250908185600.152317-1-a-christidis@ti.com> References: <20250908185600.152317-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 ; Mon, 08 Sep 2025 18:56:08 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/16549 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 --- v3: - Changed the subject tag from master to scarthgap - Simplified subject 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 Mon Sep 8 18:55:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonios Christidis X-Patchwork-Id: 69822 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 4B956CAC581 for ; Mon, 8 Sep 2025 18:56:08 +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.web11.3047.1757357761692397673 for ; Mon, 08 Sep 2025 11:56:01 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jsievZRc; spf=pass (domain: ti.com, ip: 198.47.19.246, mailfrom: a-christidis@ti.com) Received: from lelvem-sh02.itg.ti.com ([10.180.78.226]) by fllvem-ot04.ext.ti.com (8.15.2/8.15.2) with ESMTP id 588Iu199115700 for ; Mon, 8 Sep 2025 13:56:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1757357761; bh=F1xnMkFGYJ3Do7ELiN5SgTwnrpo4mCGf/3GzXDdWcDY=; h=From:To:Subject:Date:In-Reply-To:References; b=jsievZRcPLJM66IOibD91EGPldkfZIy1QNd/eav9axog/W2nK+dN/541HCRsog+14 9op5YxufAjWMz82In3DZaIUhqzDWwfONA/EHtEKLl/MFHdk4lkKgHBPZV/o3kNziM9 f0lcBkLIylwH9W/Z2DFDDUepLAitqZhqf/EKoTOw= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelvem-sh02.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 588Iu1kH3160505 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL) for ; Mon, 8 Sep 2025 13:56:01 -0500 Received: from DFLE111.ent.ti.com (10.64.6.32) 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; Mon, 8 Sep 2025 13:56:00 -0500 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) by DFLE111.ent.ti.com (10.64.6.32) 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; Mon, 8 Sep 2025 13:56:00 -0500 Received: from antonios-ThinkStation-P3-Tower.dhcp.ti.com (antonios-thinkstation-p3-tower.dhcp.ti.com [128.247.81.112]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 588Iu0aG1367803; Mon, 8 Sep 2025 13:56:00 -0500 From: To: , Subject: [meta-arago][scarthgap][PATCH v3 2/3] opencl-headers: Specify correct PV Date: Mon, 8 Sep 2025 13:55:59 -0500 Message-ID: <20250908185600.152317-3-a-christidis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250908185600.152317-1-a-christidis@ti.com> References: <20250908185600.152317-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 ; Mon, 08 Sep 2025 18:56:08 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/16547 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 --- v3: - Changed the subject tag from master to scarthgap - Simplified subject 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 Mon Sep 8 18:56:00 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonios Christidis X-Patchwork-Id: 69823 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 59104CAC585 for ; Mon, 8 Sep 2025 18:56:08 +0000 (UTC) Received: from lelvem-ot01.ext.ti.com (lelvem-ot01.ext.ti.com [198.47.23.234]) by mx.groups.io with SMTP id smtpd.web11.3049.1757357762957366820 for ; Mon, 08 Sep 2025 11:56:03 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=M4lv6EdD; spf=pass (domain: ti.com, ip: 198.47.23.234, mailfrom: a-christidis@ti.com) Received: from lelvem-sh01.itg.ti.com ([10.180.77.71]) by lelvem-ot01.ext.ti.com (8.15.2/8.15.2) with ESMTP id 588Iu18f3928510 for ; Mon, 8 Sep 2025 13:56:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1757357761; bh=x+ZXt+mFe60bwzRmJvKZWWfh8U7+VkfMNSWUjM6tkWs=; h=From:To:Subject:Date:In-Reply-To:References; b=M4lv6EdDEUVHFGSCOvwX5KfMXQJxsCmIjVv4kagXJCjGjin4n8bms6U83Ok4yQGzE RDDTdg5xHdb/8aIMkLo1zWItfgfOQ3Q8dIaWDQ/OlLUJNy0aC+LbDrztYvF8MOTj5G InEMxYRZ7TO2be/gB7Q9PZdJH0tFQezcVHPWINik= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelvem-sh01.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 588Iu1DK2602542 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL) for ; Mon, 8 Sep 2025 13:56:01 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55; Mon, 8 Sep 2025 13:56:00 -0500 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) 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; Mon, 8 Sep 2025 13:56:00 -0500 Received: from antonios-ThinkStation-P3-Tower.dhcp.ti.com (antonios-thinkstation-p3-tower.dhcp.ti.com [128.247.81.112]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 588Iu0aH1367803; Mon, 8 Sep 2025 13:56:00 -0500 From: To: , Subject: [meta-arago][scarthgap][PATCH v3 3/3] opencl-clhpp: opencl-clhpp v2.0.16 -> v2024.05.08 Date: Mon, 8 Sep 2025 13:56:00 -0500 Message-ID: <20250908185600.152317-4-a-christidis@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250908185600.152317-1-a-christidis@ti.com> References: <20250908185600.152317-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 ; Mon, 08 Sep 2025 18:56:08 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/16550 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 --- v3: - Changed the subject tag from master to scarthgap - Simplified subject 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"