summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/include/maintainers.inc85
-rw-r--r--conf/layer.conf2
-rw-r--r--conf/machine/include/meta-intel.inc8
-rw-r--r--conf/machine/intel-core2-32.conf2
-rw-r--r--conf/machine/intel-corei7-64.conf2
-rw-r--r--conf/machine/intel-skylake-64.conf2
-rw-r--r--dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/0001-superbuild-forward-ISPCRT_BUILD_TASK_MODEL.patch68
-rw-r--r--dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/0002-llvm-update-CMake-policy-CMP0116-to-NEW.patch35
-rw-r--r--dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/0003-GenerateBuiltins-Add-sysroot-for-builtin-compilation.patch57
-rw-r--r--dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/0004-Fix-QA-Issues.patch30
-rw-r--r--dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/run-ptest30
-rw-r--r--dynamic-layers/clang-layer/recipes-core/ispc/ispc/0001-Add-print-function-to-print-test-run-status-in-ptest.patch53
-rw-r--r--dynamic-layers/clang-layer/recipes-core/ispc/ispc/0001-Fix-QA-Issues.patch36
-rw-r--r--dynamic-layers/clang-layer/recipes-core/ispc/ispc/0002-cmake-don-t-build-for-32-bit-targets.patch52
-rw-r--r--dynamic-layers/clang-layer/recipes-core/ispc/ispc/run-ptest2
-rw-r--r--dynamic-layers/clang-layer/recipes-core/ispc/ispc_1.24.0.bb62
-rw-r--r--dynamic-layers/clang-layer/recipes-core/ispc/ispc_1.29.1.bb164
-rw-r--r--dynamic-layers/clang-layer/recipes-oneapi/embree/embree_4.4.0.bb3
-rw-r--r--dynamic-layers/clang-layer/recipes-oneapi/oidn/oidn_2.4.1.bb (renamed from dynamic-layers/clang-layer/recipes-oneapi/oidn/oidn_2.1.0.bb)17
-rw-r--r--dynamic-layers/clang-layer/recipes-oneapi/openvkl/openvkl_2.0.1.bb3
-rw-r--r--dynamic-layers/clang-layer/recipes-oneapi/ospray/ospray_3.2.0.bb2
-rw-r--r--dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2550.0.0.0.bb4
-rw-r--r--dynamic-layers/openembedded-layer/recipes-bsp/linux-npu-driver/linux-npu-driver_1.28.0.bb6
-rw-r--r--dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.10.bb43
-rw-r--r--dynamic-layers/openembedded-layer/recipes-support/ipmctl/ipmctl_03.00.00.0538.bb4
-rw-r--r--lib/oeqa/runtime/cases/intel_vaapi_driver.py2
-rw-r--r--lib/oeqa/runtime/cases/libxcam.py37
-rw-r--r--recipes-core/microcode/intel-microcode_20260210.bb (renamed from recipes-core/microcode/intel-microcode_20251111.bb)2
-rw-r--r--recipes-kernel/intel-ethernet/ixgbe_6.3.4.bb (renamed from recipes-kernel/intel-ethernet/ixgbe_5.20.10.bb)10
-rw-r--r--recipes-kernel/intel-ethernet/ixgbevf_5.2.2.bb (renamed from recipes-kernel/intel-ethernet/ixgbevf_4.19.10.bb)10
-rw-r--r--recipes-kernel/linux/linux-intel-rt_6.18.bb (renamed from recipes-kernel/linux/linux-intel-rt_6.12.bb)12
-rw-r--r--recipes-kernel/linux/linux-intel_6.18.bb (renamed from recipes-kernel/linux/linux-intel_6.12.bb)12
-rw-r--r--recipes-kernel/perf/perf.bbappend17
-rw-r--r--recipes-multimedia/libva/intel-media-driver_25.1.4.bb (renamed from recipes-multimedia/libva/intel-media-driver_26.1.0.bb)2
-rw-r--r--recipes-multimedia/vpl/libvpl-tools_1.5.0.bb5
-rw-r--r--recipes-multimedia/vpl/libvpl_2.16.0.bb5
-rw-r--r--recipes-multimedia/vpl/vpl-gpu-rt_26.1.0.bb4
-rw-r--r--recipes-support/libipt/libipt/0001-pttc-use-nasm-instead-of-yasm.patch177
-rw-r--r--recipes-support/libipt/libipt_2.2.bb4
-rw-r--r--recipes-support/metee/metee/0001-Fix-sign-conversion-warnings-with-musl-ioctl.patch48
-rw-r--r--recipes-support/metee/metee/0001-Suppress-sign-conversion-warning-only-for-ioctl-call.patch62
-rw-r--r--recipes-support/metee/metee_6.0.2.bb1
42 files changed, 802 insertions, 380 deletions
diff --git a/conf/include/maintainers.inc b/conf/include/maintainers.inc
index e9a14ec4..7a161056 100644
--- a/conf/include/maintainers.inc
+++ b/conf/include/maintainers.inc
@@ -1,46 +1,45 @@
1# This file contains a list of recipe maintainers for meta-intel 1# This file contains a list of recipe maintainers for meta-intel
2 2
3RECIPE_MAINTAINER:pn-backport-iwlwifi = "Naveen Saini <naveen.kumar.saini@intel.com>" 3RECIPE_MAINTAINER:pn-backport-iwlwifi = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
4RECIPE_MAINTAINER:pn-core-image-rt = "Anuj Mittal <anuj.mittal@intel.com>" 4RECIPE_MAINTAINER:pn-core-image-rt = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
5RECIPE_MAINTAINER:pn-core-image-rt-sdk = "Anuj Mittal <anuj.mittal@intel.com>" 5RECIPE_MAINTAINER:pn-core-image-rt-sdk = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
6RECIPE_MAINTAINER:pn-core-image-tiny = "Naveen Saini <naveen.kumar.saini@intel.com>" 6RECIPE_MAINTAINER:pn-core-image-tiny = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
7RECIPE_MAINTAINER:pn-core-image-minimal-initramfs = "Anuj Mittal <anuj.mittal@intel.com>" 7RECIPE_MAINTAINER:pn-core-image-minimal-initramfs = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
8RECIPE_MAINTAINER:pn-embree = "Naveen Saini <naveen.kumar.saini@intel.com>" 8RECIPE_MAINTAINER:pn-embree = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
9RECIPE_MAINTAINER:pn-gmmlib = "Lim Siew Hoon <siew.hoon.lim@intel.com>" 9RECIPE_MAINTAINER:pn-gmmlib = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
10RECIPE_MAINTAINER:pn-intel-cmt-cat = "Naveen Saini <naveen.kumar.saini@intel.com>" 10RECIPE_MAINTAINER:pn-intel-cmt-cat = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
11RECIPE_MAINTAINER:pn-intel-compute-runtime = "Naveen Saini <naveen.kumar.saini@intel.com>" 11RECIPE_MAINTAINER:pn-intel-compute-runtime = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
12RECIPE_MAINTAINER:pn-intel-crypto-mb = "Anuj Mittal <anuj.mittal@intel.com>" 12RECIPE_MAINTAINER:pn-intel-crypto-mb = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
13RECIPE_MAINTAINER:pn-intel-graphics-compiler = "Naveen Saini <naveen.kumar.saini@intel.com>" 13RECIPE_MAINTAINER:pn-intel-graphics-compiler = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
14RECIPE_MAINTAINER:pn-intel-media-driver = "Lim Siew Hoon <siew.hoon.lim@intel.com>" 14RECIPE_MAINTAINER:pn-intel-media-driver = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
15RECIPE_MAINTAINER:pn-intel-microcode = "Anuj Mittal <anuj.mittal@intel.com>" 15RECIPE_MAINTAINER:pn-intel-microcode = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
16RECIPE_MAINTAINER:pn-intel-vaapi-driver = "Lim Siew Hoon <siew.hoon.lim@intel.com>" 16RECIPE_MAINTAINER:pn-intel-vaapi-driver = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
17RECIPE_MAINTAINER:pn-ipmctl = "Anuj Mittal <anuj.mittal@intel.com>" 17RECIPE_MAINTAINER:pn-ipmctl = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
18RECIPE_MAINTAINER:pn-isa-l = "Naveen Saini <naveen.kumar.saini@intel.com>" 18RECIPE_MAINTAINER:pn-isa-l = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
19RECIPE_MAINTAINER:pn-ispc = "Naveen Saini <naveen.kumar.saini@intel.com>" 19RECIPE_MAINTAINER:pn-ispc = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
20RECIPE_MAINTAINER:pn-itt = "Naveen Saini <naveen.kumar.saini@intel.com>" 20RECIPE_MAINTAINER:pn-itt = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
21RECIPE_MAINTAINER:pn-ixgbe = "Naveen Saini <naveen.kumar.saini@intel.com>" 21RECIPE_MAINTAINER:pn-ixgbe = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
22RECIPE_MAINTAINER:pn-ixgbevf = "Naveen Saini <naveen.kumar.saini@intel.com>" 22RECIPE_MAINTAINER:pn-ixgbevf = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
23RECIPE_MAINTAINER:pn-iucode-tool = "Anuj Mittal <anuj.mittal@intel.com>" 23RECIPE_MAINTAINER:pn-iucode-tool = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
24RECIPE_MAINTAINER:pn-level-zero = "Naveen Saini <naveen.kumar.saini@intel.com>" 24RECIPE_MAINTAINER:pn-level-zero = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
25RECIPE_MAINTAINER:pn-libipt = "Naveen Saini <naveen.kumar.saini@intel.com>" 25RECIPE_MAINTAINER:pn-libipt = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
26RECIPE_MAINTAINER:pn-libva-intel = "Anuj Mittal <anuj.mittal@intel.com>" 26RECIPE_MAINTAINER:pn-libva-intel = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
27RECIPE_MAINTAINER:pn-libva-intel-utils = "Anuj Mittal <anuj.mittal@intel.com>" 27RECIPE_MAINTAINER:pn-libva-intel-utils = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
28RECIPE_MAINTAINER:pn-libxcam = "Naveen Saini <naveen.kumar.saini@intel.com>" 28RECIPE_MAINTAINER:pn-libxcam = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
29RECIPE_MAINTAINER:pn-linux-intel = "Anuj Mittal <anuj.mittal@intel.com>" 29RECIPE_MAINTAINER:pn-linux-intel = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
30RECIPE_MAINTAINER:pn-linux-intel-rt = "Anuj Mittal <anuj.mittal@intel.com>" 30RECIPE_MAINTAINER:pn-linux-intel-rt = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
31RECIPE_MAINTAINER:pn-linux-intel-dev = "Naveen Saini <naveen.kumar.saini@intel.com>" 31RECIPE_MAINTAINER:pn-linux-intel-dev = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
32RECIPE_MAINTAINER:pn-linux-npu-driver = "Naveen Saini <naveen.kumar.saini@intel.com>" 32RECIPE_MAINTAINER:pn-linux-npu-driver = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
33RECIPE_MAINTAINER:pn-lms = "Anuj Mittal <anuj.mittal@intel.com>" 33RECIPE_MAINTAINER:pn-lms = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
34RECIPE_MAINTAINER:pn-metee = "Naveen Saini <naveen.kumar.saini@intel.com>" 34RECIPE_MAINTAINER:pn-metee = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
35RECIPE_MAINTAINER:pn-metrics-discovery = "Naveen Saini <naveen.kumar.saini@intel.com>" 35RECIPE_MAINTAINER:pn-metrics-discovery = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
36RECIPE_MAINTAINER:pn-oidn = "Naveen Saini <naveen.kumar.saini@intel.com>" 36RECIPE_MAINTAINER:pn-oidn = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
37RECIPE_MAINTAINER:pn-onednn = "Naveen Saini <naveen.kumar.saini@intel.com>" 37RECIPE_MAINTAINER:pn-onednn = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
38RECIPE_MAINTAINER:pn-onedpl = "Naveen Saini <naveen.kumar.saini@intel.com>" 38RECIPE_MAINTAINER:pn-onedpl = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
39RECIPE_MAINTAINER:pn-onevpl = "Naveen Saini <naveen.kumar.saini@intel.com>" 39RECIPE_MAINTAINER:pn-onevpl = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
40RECIPE_MAINTAINER:pn-onevpl-intel-gpu = "Yew Chang Ching <chang.ching.yew@intel.com>" 40RECIPE_MAINTAINER:pn-onevpl-intel-gpu = "Yew Chang Ching <chang.ching.yew@intel.com>"
41RECIPE_MAINTAINER:pn-opencl-clang = "Naveen Saini <naveen.kumar.saini@intel.com>" 41RECIPE_MAINTAINER:pn-opencl-clang = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
42RECIPE_MAINTAINER:pn-openvkl = "Naveen Saini <naveen.kumar.saini@intel.com>" 42RECIPE_MAINTAINER:pn-openvkl = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
43RECIPE_MAINTAINER:pn-ospray = "Naveen Saini <naveen.kumar.saini@intel.com>" 43RECIPE_MAINTAINER:pn-ospray = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
44RECIPE_MAINTAINER:pn-rkcommon = "Naveen Saini <naveen.kumar.saini@intel.com>" 44RECIPE_MAINTAINER:pn-rkcommon = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
45RECIPE_MAINTAINER:pn-thermald = "Anuj Mittal <anuj.mittal@intel.com>" 45RECIPE_MAINTAINER:pn-xf86-video-ast = "Yogesh Tyagi <yogesh.tyagi@intel.com>"
46RECIPE_MAINTAINER:pn-xf86-video-ast = "Anuj Mittal <anuj.mittal@intel.com>"
diff --git a/conf/layer.conf b/conf/layer.conf
index a9de1e2a..32736255 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -19,7 +19,7 @@ LAYERRECOMMENDS_intel = "dpdk"
19# This should only be incremented on significant changes that will 19# This should only be incremented on significant changes that will
20# cause compatibility issues with other layers 20# cause compatibility issues with other layers
21LAYERVERSION_intel = "5" 21LAYERVERSION_intel = "5"
22LAYERSERIES_COMPAT_intel = "whinlatter" 22LAYERSERIES_COMPAT_intel = "wrynose"
23 23
24BBFILES_DYNAMIC += " \ 24BBFILES_DYNAMIC += " \
25 clang-revival-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bb \ 25 clang-revival-layer:${LAYERDIR}/dynamic-layers/clang-layer/*/*/*.bb \
diff --git a/conf/machine/include/meta-intel.inc b/conf/machine/include/meta-intel.inc
index c98aa78a..0942e777 100644
--- a/conf/machine/include/meta-intel.inc
+++ b/conf/machine/include/meta-intel.inc
@@ -7,10 +7,10 @@
7PREFERRED_PROVIDER_virtual/kernel ?= "linux-intel" 7PREFERRED_PROVIDER_virtual/kernel ?= "linux-intel"
8PREFERRED_PROVIDER_virtual/kernel:poky-tiny ?= "linux-intel" 8PREFERRED_PROVIDER_virtual/kernel:poky-tiny ?= "linux-intel"
9 9
10PREFERRED_VERSION_linux-intel ?= "6.12%" 10PREFERRED_VERSION_linux-intel ?= "6.18%"
11PREFERRED_VERSION_linux-intel-rt ?= "6.12%" 11PREFERRED_VERSION_linux-intel-rt ?= "6.18%"
12PREFERRED_VERSION_linux-intel:poky-altcfg ?= "6.12%" 12PREFERRED_VERSION_linux-intel:poky-altcfg ?= "6.18%"
13PREFERRED_VERSION_linux-intel-rt:poky-altcfg ?= "6.12%" 13PREFERRED_VERSION_linux-intel-rt:poky-altcfg ?= "6.18%"
14 14
15# Need to point to latest version of libva needed for media components 15# Need to point to latest version of libva needed for media components
16PREFERRED_PROVIDER_libva = "libva-intel" 16PREFERRED_PROVIDER_libva = "libva-intel"
diff --git a/conf/machine/intel-core2-32.conf b/conf/machine/intel-core2-32.conf
index 5b134dc3..52383170 100644
--- a/conf/machine/intel-core2-32.conf
+++ b/conf/machine/intel-core2-32.conf
@@ -11,7 +11,7 @@ MACHINE_FEATURES += "pcbios efi"
11MACHINE_FEATURES += "wifi 3g nfc" 11MACHINE_FEATURES += "wifi 3g nfc"
12MACHINE_FEATURES += "intel-ucode" 12MACHINE_FEATURES += "intel-ucode"
13 13
14MACHINE_HWCODECS ?= "intel-vaapi-driver gstreamer1.0-vaapi" 14MACHINE_HWCODECS ?= "intel-vaapi-driver gstreamer1.0-plugins-bad"
15 15
16XSERVER ?= "${XSERVER_X86_BASE} \ 16XSERVER ?= "${XSERVER_X86_BASE} \
17 ${XSERVER_X86_EXT} \ 17 ${XSERVER_X86_EXT} \
diff --git a/conf/machine/intel-corei7-64.conf b/conf/machine/intel-corei7-64.conf
index 947f72d4..bd1f31fa 100644
--- a/conf/machine/intel-corei7-64.conf
+++ b/conf/machine/intel-corei7-64.conf
@@ -11,7 +11,7 @@ MACHINE_FEATURES += "pcbios efi"
11MACHINE_FEATURES += "wifi 3g nfc" 11MACHINE_FEATURES += "wifi 3g nfc"
12MACHINE_FEATURES += "intel-ucode" 12MACHINE_FEATURES += "intel-ucode"
13 13
14MACHINE_HWCODECS ?= "${@bb.utils.contains('TUNE_FEATURES', 'mx32', '', 'intel-media-driver vpl-gpu-rt', d)} gstreamer1.0-vaapi" 14MACHINE_HWCODECS ?= "${@bb.utils.contains('TUNE_FEATURES', 'mx32', '', 'intel-media-driver vpl-gpu-rt', d)} gstreamer1.0-plugins-bad"
15 15
16# Enable optional dpdk: 16# Enable optional dpdk:
17COMPATIBLE_MACHINE:pn-dpdk = "intel-corei7-64" 17COMPATIBLE_MACHINE:pn-dpdk = "intel-corei7-64"
diff --git a/conf/machine/intel-skylake-64.conf b/conf/machine/intel-skylake-64.conf
index bfaf08dd..74fb9797 100644
--- a/conf/machine/intel-skylake-64.conf
+++ b/conf/machine/intel-skylake-64.conf
@@ -12,7 +12,7 @@ MACHINE_FEATURES += "efi"
12MACHINE_FEATURES += "wifi 3g nfc" 12MACHINE_FEATURES += "wifi 3g nfc"
13MACHINE_FEATURES += "intel-ucode" 13MACHINE_FEATURES += "intel-ucode"
14 14
15MACHINE_HWCODECS ?= "intel-media-driver vpl-gpu-rt gstreamer1.0-vaapi" 15MACHINE_HWCODECS ?= "intel-media-driver vpl-gpu-rt gstreamer1.0-plugins-bad"
16 16
17COMPATIBLE_MACHINE:pn-dpdk = "intel-skylake-64" 17COMPATIBLE_MACHINE:pn-dpdk = "intel-skylake-64"
18COMPATIBLE_MACHINE:pn-dpdk-module = "intel-skylake-64" 18COMPATIBLE_MACHINE:pn-dpdk-module = "intel-skylake-64"
diff --git a/dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/0001-superbuild-forward-ISPCRT_BUILD_TASK_MODEL.patch b/dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/0001-superbuild-forward-ISPCRT_BUILD_TASK_MODEL.patch
new file mode 100644
index 00000000..5ae4d543
--- /dev/null
+++ b/dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/0001-superbuild-forward-ISPCRT_BUILD_TASK_MODEL.patch
@@ -0,0 +1,68 @@
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Yogesh Tyagi <yogesh.tyagi@intel.com>
3Date: Fri, 7 Feb 2026 00:00:00 +0000
4Subject: [PATCH] superbuild: forward build options to ispc-stage2
5
6Forward the ISPCRT_BUILD_TASK_MODEL, ISPC_PREPARE_PACKAGE,
7ISPC_INCLUDE_EXAMPLES, and ISPC_INCLUDE_TESTS options to the
8ispc-stage2 ExternalProject so that builds can control the
9tasking model, packaging behavior, and disable examples/tests.
10
11Upstream-Status: Pending
12Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
13---
14 superbuild/CMakeLists.txt | 34 ++++++++++++++++++++++++++++------
15 1 file changed, 28 insertions(+), 6 deletions(-)
16
17diff --git a/superbuild/CMakeLists.txt b/superbuild/CMakeLists.txt
18index 048754b7..d2a3e8f9 100644
19--- a/superbuild/CMakeLists.txt
20+++ b/superbuild/CMakeLists.txt
21@@ -789,6 +789,30 @@ if (APPLE)
22 )
23 endif()
24 endif()
25+# Forward ISPCRT_BUILD_TASK_MODEL if explicitly set
26+if (DEFINED ISPCRT_BUILD_TASK_MODEL)
27+ list(APPEND ISPC_COMMON_CMAKE_ARGS
28+ -DISPCRT_BUILD_TASK_MODEL=${ISPCRT_BUILD_TASK_MODEL}
29+ )
30+endif()
31+# Forward ISPC_PREPARE_PACKAGE if explicitly set
32+if (DEFINED ISPC_PREPARE_PACKAGE)
33+ list(APPEND ISPC_COMMON_CMAKE_ARGS
34+ -DISPC_PREPARE_PACKAGE=${ISPC_PREPARE_PACKAGE}
35+ )
36+endif()
37+# Forward ISPC_INCLUDE_EXAMPLES if explicitly set
38+if (DEFINED ISPC_INCLUDE_EXAMPLES)
39+ list(APPEND ISPC_COMMON_CMAKE_ARGS
40+ -DISPC_INCLUDE_EXAMPLES=${ISPC_INCLUDE_EXAMPLES}
41+ )
42+endif()
43+# Forward ISPC_INCLUDE_TESTS if explicitly set
44+if (DEFINED ISPC_INCLUDE_TESTS)
45+ list(APPEND ISPC_COMMON_CMAKE_ARGS
46+ -DISPC_INCLUDE_TESTS=${ISPC_INCLUDE_TESTS}
47+ )
48+endif()
49
50 list(APPEND ISPC_STAGE2_CMAKE_ARGS
51 ${ISPC_COMMON_CMAKE_ARGS}
52@@ -856,8 +880,12 @@ else()
53 )
54 endif()
55
56-list(APPEND ISPC_STAGE2_CMAKE_TARGETS install package)
57-if (NOT ISPC_PACKAGE_EXAMPLES)
58+list(APPEND ISPC_STAGE2_CMAKE_TARGETS install)
59+# Only add package targets if packaging is enabled
60+if (ISPC_PREPARE_PACKAGE)
61+ list(APPEND ISPC_STAGE2_CMAKE_TARGETS package)
62+endif()
63+if (ISPC_PREPARE_PACKAGE AND NOT ISPC_PACKAGE_EXAMPLES)
64 list(APPEND ISPC_STAGE2_CMAKE_TARGETS
65 package-examples
66 )
67--
682.43.0
diff --git a/dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/0002-llvm-update-CMake-policy-CMP0116-to-NEW.patch b/dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/0002-llvm-update-CMake-policy-CMP0116-to-NEW.patch
new file mode 100644
index 00000000..52c71f03
--- /dev/null
+++ b/dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/0002-llvm-update-CMake-policy-CMP0116-to-NEW.patch
@@ -0,0 +1,35 @@
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Yogesh Tyagi <yogesh.tyagi@intel.com>
3Date: Tue, 11 Feb 2026 22:00:00 +0000
4Subject: [PATCH] llvm: update CMake policy CMP0116 to NEW
5
6Update CMake policy CMP0116 from OLD to NEW to avoid deprecation
7warnings. CMP0116 controls how Ninja generators transform DEPFILE
8from add_custom_command(). The NEW behavior is the standard behavior
9and should be used going forward.
10
11CMake Deprecation Warning:
12 The OLD behavior for policy CMP0116 will be removed from a future
13 version of CMake. Projects should be ported to the NEW behavior.
14
15Upstream-Status: Pending
16Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
17---
18 cmake/Modules/CMakePolicy.cmake | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/cmake/Modules/CMakePolicy.cmake b/cmake/Modules/CMakePolicy.cmake
22index 1234567890..abcdef1234 100644
23--- a/cmake/Modules/CMakePolicy.cmake
24+++ b/cmake/Modules/CMakePolicy.cmake
25@@ -3,7 +3,7 @@
26 # CMP0116: Ninja generators transform `DEPFILE`s from `add_custom_command()`
27 # New in CMake 3.20. https://cmake.org/cmake/help/latest/policy/CMP0116.html
28 if(POLICY CMP0116)
29- cmake_policy(SET CMP0116 OLD)
30+ cmake_policy(SET CMP0116 NEW)
31 endif()
32
33 # MSVC debug information format flags are selected via
34--
352.34.1
diff --git a/dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/0003-GenerateBuiltins-Add-sysroot-for-builtin-compilation.patch b/dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/0003-GenerateBuiltins-Add-sysroot-for-builtin-compilation.patch
new file mode 100644
index 00000000..a06ec6dd
--- /dev/null
+++ b/dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/0003-GenerateBuiltins-Add-sysroot-for-builtin-compilation.patch
@@ -0,0 +1,57 @@
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Yogesh Tyagi <yogesh.tyagi@intel.com>
3Date: Thu, 12 Feb 2026 10:30:00 +0800
4Subject: [PATCH] GenerateBuiltins: Fix header paths for builtin compilation
5
6When using --target=x86_64-unknown-unknown, clang doesn't know where
7to find system headers like bits/libc-header-start.h. Add explicit
8-isystem paths to the builtin compilation commands to fix header
9resolution.
10
11For native builds, using the build host's sysroot is appropriate since
12the builtins are compiled to LLVM IR during the build process.
13
14Note: ispc 1.29.1 has restructured the build system and no longer uses
15explicit 32/64-bit foreach loops, so the old 32-bit exclusion patch is
16not needed.
17
18Upstream-Status: Inappropriate [OE-specific]
19Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
20---
21 cmake/GenerateBuiltins.cmake | 12 +++++++++++-
22 1 file changed, 11 insertions(+), 1 deletion(-)
23
24diff --git a/cmake/GenerateBuiltins.cmake b/cmake/GenerateBuiltins.cmake
25index e20d79b8..6c8a9f0e 100644
26--- a/cmake/GenerateBuiltins.cmake
27+++ b/cmake/GenerateBuiltins.cmake
28@@ -112,6 +112,17 @@ function(generate_dispatcher os)
29
30 write_dispatch_bitcode_lib(${name} ${os})
31
32+ # Detect multiarch tuple for system headers
33+ execute_process(
34+ COMMAND ${CMAKE_C_COMPILER} -print-multiarch
35+ OUTPUT_VARIABLE MULTIARCH_TUPLE
36+ OUTPUT_STRIP_TRAILING_WHITESPACE
37+ ERROR_QUIET
38+ )
39+ if(NOT MULTIARCH_TUPLE)
40+ set(MULTIARCH_TUPLE "x86_64-linux-gnu")
41+ endif()
42+
43 set(EXTRA_OPTS "")
44 if (NOT WIN32)
45 set(EXTRA_OPTS "-fPIC")
46@@ -119,7 +130,7 @@ function(generate_dispatcher os)
47
48 add_custom_command(
49 OUTPUT ${bc}
50- COMMAND ${CLANGPP_EXECUTABLE} -x c ${DISP_TYPE} -I${CMAKE_SOURCE_DIR}/src ${EXTRA_OPTS} --target=x86_64-unknown-unknown -march=core2 -mtune=generic -O2 -emit-llvm ${input} -c -o ${bc}
51+ COMMAND ${CLANGPP_EXECUTABLE} -x c ${DISP_TYPE} -I${CMAKE_SOURCE_DIR}/src ${EXTRA_OPTS} --target=x86_64-unknown-unknown -isystem /usr/include -isystem /usr/include/${MULTIARCH_TUPLE} -march=core2 -mtune=generic -O2 -emit-llvm ${input} -c -o ${bc}
52 DEPENDS ${input} ${CMAKE_SOURCE_DIR}/src/isa.h
53 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
54 )
55--
562.34.1
57
diff --git a/dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/0004-Fix-QA-Issues.patch b/dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/0004-Fix-QA-Issues.patch
new file mode 100644
index 00000000..c00fc3f7
--- /dev/null
+++ b/dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/0004-Fix-QA-Issues.patch
@@ -0,0 +1,30 @@
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Yogesh Tyagi <yogesh.tyagi@intel.com>
3Date: Wed, 12 Feb 2026 23:00:00 +0800
4Subject: [PATCH] Fix QA Issues
5
6Stop ispc from inserting host file path in generated headers
7which leads to reproducibility problems.
8
9Upstream-Status: Inappropriate [OE build specific]
10
11Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
12---
13 src/header.cpp | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/src/header.cpp b/src/header.cpp
17index e2084d2e..e2626865 100644
18--- a/src/header.cpp
19+++ b/src/header.cpp
20@@ -942,7 +942,7 @@ bool Module::writeHeader() {
21 return false;
22 }
23
24- fprintf(f, "//\n// %s\n// (Header automatically generated by the ispc compiler.)\n", output.header.c_str());
25+ fprintf(f, "//\n// \n// (Header automatically generated by the ispc compiler.)\n");
26 fprintf(f, "// DO NOT EDIT THIS FILE.\n//\n\n");
27
28 writeHeader(f);
29--
302.34.1
diff --git a/dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/run-ptest b/dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/run-ptest
new file mode 100644
index 00000000..598172d9
--- /dev/null
+++ b/dynamic-layers/clang-layer/recipes-core/ispc/ispc-1.29.1/run-ptest
@@ -0,0 +1,30 @@
1#!/bin/bash
2
3# Run ispc tests using the test suite
4cd /usr/lib/ispc/ptest
5
6# Run the test suite with minimal and fast tests
7python3 run_tests.py --target=sse2-i32x4 --verbose --compiler=g++ 2>&1 | \
8while IFS= read -r line; do
9 case "$line" in
10 *"PASSED"*|*passed*)
11 echo "PASS: ${line}"
12 ;;
13 *"FAILED"*|*failed*|*ERROR*)
14 echo "FAIL: ${line}"
15 ;;
16 *)
17 echo "$line"
18 ;;
19 esac
20done
21
22# Check exit status
23exit_code=${PIPESTATUS[0]}
24if [ $exit_code -eq 0 ]; then
25 echo "PASS: ispc test suite completed"
26else
27 echo "FAIL: ispc test suite failed with exit code $exit_code"
28fi
29
30exit $exit_code
diff --git a/dynamic-layers/clang-layer/recipes-core/ispc/ispc/0001-Add-print-function-to-print-test-run-status-in-ptest.patch b/dynamic-layers/clang-layer/recipes-core/ispc/ispc/0001-Add-print-function-to-print-test-run-status-in-ptest.patch
deleted file mode 100644
index 4d583657..00000000
--- a/dynamic-layers/clang-layer/recipes-core/ispc/ispc/0001-Add-print-function-to-print-test-run-status-in-ptest.patch
+++ /dev/null
@@ -1,53 +0,0 @@
1From deccc0c69c2c8759c52885be8bdda54d3cee481c Mon Sep 17 00:00:00 2001
2From: Yogesh Tyagi <yogesh.tyagi@intel.com>
3Date: Sun, 11 Dec 2022 22:34:15 +0800
4Subject: [PATCH] Add print function to print test run status in ptest format
5
6Upstream-Status: Inappropriate [OE ptest specific]
7
8Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
9---
10 run_tests.py | 16 ++++++++++++++++
11 1 file changed, 16 insertions(+)
12
13diff --git a/run_tests.py b/run_tests.py
14index 1cd796dd..e3ffd1ab 100755
15--- a/run_tests.py
16+++ b/run_tests.py
17@@ -327,6 +327,9 @@ def run_test(testname, host, target):
18 else:
19 ispc_exe_rel = add_prefix(host.ispc_cmd, host, target)
20
21+ # to reslove the error '.rodata' can not be used when making a PIE object
22+ ispc_exe_rel = ispc_exe_rel + " --pic"
23+
24 # is this a test to make sure an error is issued?
25 want_error = (filename.find("tests_errors") != -1)
26 if want_error == True:
27@@ -795,6 +798,17 @@ def check_compiler_exists(compiler_exe):
28 return
29 error("missing the required compiler: %s \n" % compiler_exe, 1)
30
31+def print_test_run_status(results):
32+ for fstatus in results:
33+ if (fstatus[1] == Status.Success):
34+ print( "%s: %s" % ("PASS", fstatus[0]))
35+ elif (fstatus[1] == Status.Compfail):
36+ print( "%s: %s" % ("FAIL", fstatus[0]))
37+ elif (fstatus[1] == Status.Runfail):
38+ print( "%s: %s" % ("FAIL", fstatus[0]))
39+ elif (fstatus[1] == Status.Skip):
40+ print( "%s: %s" % ("SKIP", fstatus[0]))
41+
42 def print_result(status, results, s, run_tests_log, csv):
43 title = StatusStr[status]
44 file_list = [fname for fname, fstatus in results if status == fstatus]
45@@ -938,6 +952,8 @@ def run_tests(options1, args, print_version):
46 pass_rate = -1
47 print_debug("PASSRATE (%d/%d) = %d%% \n\n" % (len(run_succeed_files), total_tests_executed, pass_rate), s, run_tests_log)
48
49+ print_test_run_status(results)
50+
51 for status in Status:
52 print_result(status, results, s, run_tests_log, options.csv)
53 fails = [status != Status.Compfail and status != Status.Runfail for _, status in results]
diff --git a/dynamic-layers/clang-layer/recipes-core/ispc/ispc/0001-Fix-QA-Issues.patch b/dynamic-layers/clang-layer/recipes-core/ispc/ispc/0001-Fix-QA-Issues.patch
deleted file mode 100644
index b0a76ff9..00000000
--- a/dynamic-layers/clang-layer/recipes-core/ispc/ispc/0001-Fix-QA-Issues.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From 7beff95c11071170eb27b6fa7d0cc77588caee8e Mon Sep 17 00:00:00 2001
2From: Yogesh Tyagi <yogesh.tyagi@intel.com>
3Date: Tue, 26 Jul 2022 15:25:10 +0800
4Subject: [PATCH] Fix QA Issues
5
6Stop ispc from inserting host file path in generated headers which leads to reproducibility problems.
7
8Upstream-Status: Inappropriate [OE build specific]
9
10Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
11---
12 src/module.cpp | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/src/module.cpp b/src/module.cpp
16index e2084d2e..e2626865 100644
17--- a/src/module.cpp
18+++ b/src/module.cpp
19@@ -2555,7 +2555,7 @@ bool Module::writeHeader(const char *fn) {
20 perror("fopen");
21 return false;
22 }
23- fprintf(f, "//\n// %s\n// (Header automatically generated by the ispc compiler.)\n", fn);
24+ fprintf(f, "//\n// \n// (Header automatically generated by the ispc compiler.)\n");
25 fprintf(f, "// DO NOT EDIT THIS FILE.\n//\n\n");
26
27 // Create a nice guard string from the filename, turning any
28@@ -2677,7 +2677,7 @@ bool Module::writeDispatchHeader(DispatchHeaderInfo *DHI) {
29 FILE *f = DHI->file;
30
31 if (DHI->EmitFrontMatter) {
32- fprintf(f, "//\n// %s\n// (Header automatically generated by the ispc compiler.)\n", DHI->fn);
33+ fprintf(f, "//\n// \n// (Header automatically generated by the ispc compiler.)\n");
34 fprintf(f, "// DO NOT EDIT THIS FILE.\n//\n\n");
35 }
36 // Create a nice guard string from the filename, turning any
diff --git a/dynamic-layers/clang-layer/recipes-core/ispc/ispc/0002-cmake-don-t-build-for-32-bit-targets.patch b/dynamic-layers/clang-layer/recipes-core/ispc/ispc/0002-cmake-don-t-build-for-32-bit-targets.patch
deleted file mode 100644
index f452dc50..00000000
--- a/dynamic-layers/clang-layer/recipes-core/ispc/ispc/0002-cmake-don-t-build-for-32-bit-targets.patch
+++ /dev/null
@@ -1,52 +0,0 @@
1From 16a2c22339287122d2c25d8bb33a5a51b4e6ee51 Mon Sep 17 00:00:00 2001
2From: Naveen Saini <naveen.kumar.saini@intel.com>
3Date: Thu, 24 Feb 2022 20:01:11 +0530
4Subject: [PATCH] cmake: don't build for 32-bit targets
5
6Error log:
7| tmp/work/corei7-64-poky-linux/ispc/1.16.0-r0/recipe-sysroot/usr/include/bits/long-double.h:23:10: fatal error: 'bits/long-double-32.h' file not found
8| #include <bits/long-double-32.h>
9| ^~~~~~~~~~~~~~~~~~~~~~~
10| 1 error generated.
11
12Remove SYSTEM include search path and set -isysroot dir path
13for root dir for cross compilation.
14
15Upstream-Status: Inappropriate
16
17Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
18---
19 cmake/GenerateBuiltins.cmake | 6 +++---
20 1 file changed, 3 insertions(+), 3 deletions(-)
21
22diff --git a/cmake/GenerateBuiltins.cmake b/cmake/GenerateBuiltins.cmake
23index f84494ed..d90cb1ec 100644
24--- a/cmake/GenerateBuiltins.cmake
25+++ b/cmake/GenerateBuiltins.cmake
26@@ -253,7 +253,7 @@ function(builtin_to_cpp bit os_name arch supported_archs supported_oses resultFi
27 # In this case headers will be installed in /usr/arm-linux-gnueabihf/include and will not be picked up
28 # by clang by default. So the following line adds such path explicitly. If this path doesn't exist and
29 # the headers can be found in other locations, this should not be a problem.
30- set(includePath -isystem/usr/${debian_triple}/include)
31+ set(includePath -isysroot${SYSROOT_DIR})
32 endif()
33 endif()
34
35@@ -339,7 +339,7 @@ function (generate_target_builtins resultList)
36 set(regular_targets ${ARGN})
37 list(FILTER regular_targets EXCLUDE REGEX wasm)
38 foreach (ispc_target ${regular_targets})
39- foreach (bit 32 64)
40+ foreach (bit 64)
41 foreach (os_name ${TARGET_OS_LIST_FOR_LL})
42 target_ll_to_cpp(target-${ispc_target} ${bit} ${os_name} output${os_name}${bit})
43 list(APPEND tmpList ${output${os_name}${bit}})
44@@ -405,7 +405,7 @@ function (generate_common_builtins resultList)
45 endif()
46
47 message (STATUS "ISPC will be built with support of ${supported_oses} for ${supported_archs}")
48- foreach (bit 32 64)
49+ foreach (bit 64)
50 foreach (os_name "windows" "linux" "freebsd" "macos" "android" "ios" "ps4" "web")
51 foreach (arch "x86" "arm" "wasm")
52 builtin_to_cpp(${bit} ${os_name} ${arch} "${supported_archs}" "${supported_oses}" res${bit}${os_name}${arch})
diff --git a/dynamic-layers/clang-layer/recipes-core/ispc/ispc/run-ptest b/dynamic-layers/clang-layer/recipes-core/ispc/ispc/run-ptest
deleted file mode 100644
index 77d13bb4..00000000
--- a/dynamic-layers/clang-layer/recipes-core/ispc/ispc/run-ptest
+++ /dev/null
@@ -1,2 +0,0 @@
1#!/bin/sh
2python3 run_tests.py
diff --git a/dynamic-layers/clang-layer/recipes-core/ispc/ispc_1.24.0.bb b/dynamic-layers/clang-layer/recipes-core/ispc/ispc_1.24.0.bb
deleted file mode 100644
index f40e445c..00000000
--- a/dynamic-layers/clang-layer/recipes-core/ispc/ispc_1.24.0.bb
+++ /dev/null
@@ -1,62 +0,0 @@
1SUMMARY = "Intel(R) Implicit SPMD Program Compiler"
2DESCRIPTION = "ispc is a compiler for a variant of the C programming language, \
3with extensions for single program, multiple data programming."
4HOMEPAGE = "https://github.com/ispc/ispc"
5
6LICENSE = "BSD-3-Clause & Apache-2.0-with-LLVM-exception"
7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=da5ecffdd210b3cf776b32b41c182e87 \
8 file://third-party-programs.txt;md5=2061218c7be521556719c8b504bf9ddd"
9
10inherit cmake python3native ptest
11
12SRC_URI = "git://github.com/ispc/ispc.git;protocol=https;branch=main \
13 file://0002-cmake-don-t-build-for-32-bit-targets.patch \
14 file://0001-Fix-QA-Issues.patch \
15 file://0001-Add-print-function-to-print-test-run-status-in-ptest.patch \
16 file://run-ptest \
17 "
18
19SRCREV = "d394222aef59e4759b06e39ec160e4aba6ee5f40"
20
21COMPATIBLE_HOST = '(x86_64).*-linux'
22
23DEPENDS += " clang-native bison-native flex-native"
24DEPENDS:append:class-target = " clang"
25RDEPENDS:${PN}-ptest += " python3-multiprocessing"
26
27PACKAGECONFIG ??= "tbb"
28PACKAGECONFIG[tbb] = "-DISPCRT_BUILD_TASK_MODEL=TBB, -DISPCRT_BUILD_TASK_MODEL=OpenMP, tbb"
29
30YFLAGS = '-d -t -v -y --file-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}'
31
32do_configure:prepend() {
33 sed -i -e 's#\${BISON_EXECUTABLE}.*#\${BISON_EXECUTABLE} ${YFLAGS} #g' ${S}/CMakeLists.txt
34 sed -i -e 's#\${FLEX_EXECUTABLE}.*#\${FLEX_EXECUTABLE} \-L #g' ${S}/CMakeLists.txt
35}
36
37do_install_ptest() {
38 cp -rf ${S}/run_tests.py ${D}${PTEST_PATH}
39 cp -rf ${S}/common.py ${D}${PTEST_PATH}
40 cp -rf ${S}/tests ${D}${PTEST_PATH}
41 cp -rf ${S}/test_static.isph ${D}${PTEST_PATH}
42 cp -rf ${S}/fail_db.txt ${D}${PTEST_PATH}
43 cp -rf ${S}/test_static.cpp ${D}${PTEST_PATH}
44}
45
46EXTRA_OECMAKE += " \
47 -DISPC_INCLUDE_TESTS=OFF \
48 -DISPC_INCLUDE_EXAMPLES=OFF \
49 -DARM_ENABLED=OFF \
50 -DISPC_CROSS=ON \
51 -DISPC_ANDROID_TARGET=OFF \
52 -DISPC_FREEBSD_TARGET=OFF \
53 -DISPC_WINDOWS_TARGET=OFF \
54 -DISPC_IOS_TARGET=OFF \
55 -DISPC_PS_TARGET=OFF \
56 -DSYSROOT_DIR=${STAGING_DIR} \
57 -DCLANG_EXECUTABLE=${STAGING_BINDIR_NATIVE}/clang \
58 -DCLANGPP_EXECUTABLE=${STAGING_BINDIR_NATIVE}/clang++ \
59 -DLLVM_AS_EXECUTABLE=${STAGING_BINDIR_NATIVE}/llvm-as \
60 "
61
62BBCLASSEXTEND = "native nativesdk"
diff --git a/dynamic-layers/clang-layer/recipes-core/ispc/ispc_1.29.1.bb b/dynamic-layers/clang-layer/recipes-core/ispc/ispc_1.29.1.bb
new file mode 100644
index 00000000..ed36df43
--- /dev/null
+++ b/dynamic-layers/clang-layer/recipes-core/ispc/ispc_1.29.1.bb
@@ -0,0 +1,164 @@
1SUMMARY = "Intel(R) Implicit SPMD Program Compiler"
2DESCRIPTION = "ispc is a compiler for a variant of the C programming language, \
3with extensions for single program, multiple data programming."
4HOMEPAGE = "https://github.com/ispc/ispc"
5
6LICENSE = "BSD-3-Clause & Apache-2.0-with-LLVM-exception"
7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=da5ecffdd210b3cf776b32b41c182e87 \
8 file://third-party-programs.txt;md5=853c6beec84e8f9b2b56d7ad9ad7a424"
9
10inherit cmake python3native ptest
11
12# Main ispc source
13SRC_URI = "git://github.com/ispc/ispc.git;protocol=https;nobranch=1;name=ispc;destsuffix=git/ispc \
14 file://0001-superbuild-forward-ISPCRT_BUILD_TASK_MODEL.patch \
15 file://0003-GenerateBuiltins-Add-sysroot-for-builtin-compilation.patch;patchdir=${UNPACKDIR}/git/ispc \
16 file://0004-Fix-QA-Issues.patch;patchdir=${UNPACKDIR}/git/ispc \
17 file://run-ptest \
18 "
19
20# Bundled LLVM 20.1 and dependencies for superbuild
21SRC_URI += "git://github.com/llvm/llvm-project.git;protocol=https;nobranch=1;name=llvm;destsuffix=git/llvm-project \
22 git://github.com/intel/vc-intrinsics.git;protocol=https;nobranch=1;name=vc;destsuffix=git/vc-intrinsics \
23 git://github.com/KhronosGroup/SPIRV-LLVM-Translator.git;protocol=https;nobranch=1;name=spirv;destsuffix=git/SPIRV-LLVM-Translator \
24 file://0002-llvm-update-CMake-policy-CMP0116-to-NEW.patch;patchdir=${UNPACKDIR}/git/llvm-project \
25 "
26
27SRCREV_ispc = "dba3a5196219f2419da2dabbd863870c46cddd80"
28SRCREV_llvm = "87f0227cb60147a26a1eeb4fb06e3b505e9c7261"
29SRCREV_vc = "b16218b8a00c5c1d4db32085dfab4d5eb9a03ad7"
30SRCREV_spirv = "d1c69c3365dffed67124eb1692cb941cbae5bb2e"
31
32SRCREV_FORMAT = "ispc_llvm_vc_spirv"
33
34S = "${UNPACKDIR}/git/ispc"
35
36COMPATIBLE_HOST = '(x86_64).*-linux'
37
38# Skip QA check for file-rdeps since superbuild stage2 links against build host libraries
39# This is acceptable for a build tool that runs on the build host
40# Skip buildpaths since LLVM 20.1 stage2 build embeds debug paths in binaries
41INSANE_SKIP:${PN} += "file-rdeps buildpaths"
42INSANE_SKIP:${PN}-dbg += "buildpaths"
43
44# Only need native tools for building, LLVM 20.1 is bundled
45# ncurses needed for libedit (LLVM dependency)
46DEPENDS = "bison-native flex-native ninja-native ncurses"
47RDEPENDS:${PN}-ptest += "bash python3-multiprocessing"
48
49PACKAGECONFIG ??= ""
50# Default to Threads tasking model; override with TBB if enabled
51PACKAGECONFIG[tbb] = "-DISPCRT_BUILD_TASK_MODEL=TBB, , tbb"
52
53do_compile:prepend() {
54 # Clean OE-specific flags from toolchain files for bundled LLVM build
55 for toolchain in stage1-toolchain.cmake stage2-toolchain.cmake; do
56 [ -f ${B}/${toolchain} ] || continue
57 sed -i -e 's|set(CMAKE_C\(XX\)\?_FLAGS.*|set(CMAKE_C\1_FLAGS "")|g' \
58 -e 's|set(CMAKE_\(EXE\|SHARED\|MODULE\)_LINKER_FLAGS.*|set(CMAKE_\1_LINKER_FLAGS "")|g' \
59 ${B}/${toolchain}
60 done
61
62 # Use native compilers for stage1
63 [ -f ${B}/stage1-toolchain.cmake ] && sed -i \
64 -e "s|set(CMAKE_C_COMPILER cc)|set(CMAKE_C_COMPILER ${BUILD_CC})|" \
65 -e "s|set(CMAKE_CXX_COMPILER c++)|set(CMAKE_CXX_COMPILER ${BUILD_CXX})|" \
66 ${B}/stage1-toolchain.cmake && \
67 echo "set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)" >> ${B}/stage1-toolchain.cmake
68}
69
70
71
72# Use superbuild with bundled LLVM 20.1
73OECMAKE_SOURCEPATH = "${S}/superbuild"
74
75EXTRA_OECMAKE += " \
76 --preset os \
77 -G Ninja \
78 -DLLVM_VERSION=20.1 \
79 -DLLVM_DISABLE_ASSERTIONS=ON \
80 -DLLVM_URL=${UNPACKDIR}/git/llvm-project \
81 -DVC_INTRINSICS_URL=${UNPACKDIR}/git/vc-intrinsics \
82 -DVC_INTRINSICS_SHA=${SRCREV_vc} \
83 -DSPIRV_TRANSLATOR_URL=${UNPACKDIR}/git/SPIRV-LLVM-Translator \
84 -DSPIRV_TRANSLATOR_SHA=${SRCREV_spirv} \
85 -DSPIRV_TRANSLATOR_BRANCH=llvm_release_201 \
86 -DISPC_CORPUS_URL=null \
87 -DISPC_CROSS=ON \
88 -DISPCRT_BUILD_TASK_MODEL=Threads \
89 -DISPC_INCLUDE_TESTS=OFF \
90 -DISPC_INCLUDE_EXAMPLES=OFF \
91 -DISPC_INCLUDE_RT=OFF \
92 -DISPC_INCLUDE_DPCPP=OFF \
93 -DISPC_PREPARE_PACKAGE=OFF \
94 -DARM_ENABLED=OFF \
95 -DISPC_ANDROID_TARGET=OFF \
96 -DISPC_FREEBSD_TARGET=OFF \
97 -DISPC_WINDOWS_TARGET=OFF \
98 -DISPC_IOS_TARGET=OFF \
99 -DISPC_PS_TARGET=OFF \
100 -DXE_DEPS=OFF \
101 "
102
103do_compile() {
104 # Unset OE-specific flags for stage1 LLVM build
105 export CFLAGS_FOR_BUILD=""
106 export CXXFLAGS_FOR_BUILD=""
107 export LDFLAGS_FOR_BUILD=""
108
109 bbnote "Building ispc with bundled LLVM 20.1"
110 cmake --build "${B}" --target all -- ${EXTRA_OECMAKEBUILD}
111}
112
113# Superbuild installs ispc to build/ispc-stage2 instead of ${D}
114do_install() {
115 install -d ${D}${bindir}
116 install -m 0755 ${B}/ispc-stage2/bin/ispc ${D}${bindir}/
117 install -m 0755 ${B}/ispc-stage2/bin/check_isa ${D}${bindir}/
118}
119
120do_install:append:class-target() {
121 # Install tests for gio validation (ispc-test package)
122 install -d ${D}${libdir}/ispc/gio
123 install -m 0755 ${S}/scripts/run_tests.py ${D}${libdir}/ispc/gio/
124 install -m 0644 ${S}/scripts/common.py ${D}${libdir}/ispc/gio/
125 cp -r ${S}/tests ${D}${libdir}/ispc/gio/
126 cp ${S}/test_static.isph ${D}${libdir}/ispc/gio/ || true
127 cp ${S}/fail_db.txt ${D}${libdir}/ispc/gio/ || true
128 cp ${S}/test_static.cpp ${D}${libdir}/ispc/gio/ || true
129}
130
131do_install_ptest:class-target() {
132 install -d ${D}${PTEST_PATH}
133 install -m 0755 ${S}/scripts/run_tests.py ${D}${PTEST_PATH}/
134 install -m 0644 ${S}/scripts/common.py ${D}${PTEST_PATH}/
135 cp -r ${S}/tests ${D}${PTEST_PATH}/
136 cp ${S}/test_static.isph ${D}${PTEST_PATH}/ || true
137 cp ${S}/fail_db.txt ${D}${PTEST_PATH}/ || true
138 cp ${S}/test_static.cpp ${D}${PTEST_PATH}/ || true
139}
140
141PACKAGES:prepend:class-target = "${PN}-test "
142FILES:${PN}-test:class-target = "${libdir}/ispc/gio/*"
143RDEPENDS:${PN}-test:class-target += "bash python3-multiprocessing ${PN}"
144
145pkg_postinst:${PN}() {
146 #!/bin/sh
147 # Create /lib64 symlink if it doesn't exist (needed for ispc binary built with /lib64 interpreter path)
148 if [ -z "$D" ]; then
149 # Runtime installation
150 if [ ! -e /lib64/ld-linux-x86-64.so.2 ] && [ -e /lib/ld-linux-x86-64.so.2 ]; then
151 mkdir -p /lib64
152 ln -sf /lib/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2
153 fi
154 else
155 # Image creation time
156 if [ ! -e $D/lib64/ld-linux-x86-64.so.2 ] && [ -e $D/lib/ld-linux-x86-64.so.2 ]; then
157 mkdir -p $D/lib64
158 ln -sf /lib/ld-linux-x86-64.so.2 $D/lib64/ld-linux-x86-64.so.2
159 fi
160 fi
161}
162
163# ISPC compiler - also available as native/nativesdk for build-time use
164BBCLASSEXTEND = "native nativesdk"
diff --git a/dynamic-layers/clang-layer/recipes-oneapi/embree/embree_4.4.0.bb b/dynamic-layers/clang-layer/recipes-oneapi/embree/embree_4.4.0.bb
index ebd45c60..b633bc49 100644
--- a/dynamic-layers/clang-layer/recipes-oneapi/embree/embree_4.4.0.bb
+++ b/dynamic-layers/clang-layer/recipes-oneapi/embree/embree_4.4.0.bb
@@ -11,6 +11,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \
11 11
12inherit pkgconfig cmake 12inherit pkgconfig cmake
13 13
14# ISPC generates binaries with embedded build paths
15INSANE_SKIP:${PN}-dbg += "buildpaths"
16
14SRC_URI = "git://github.com/embree/embree.git;protocol=https;branch=master" 17SRC_URI = "git://github.com/embree/embree.git;protocol=https;branch=master"
15SRCREV = "ff9381774dc99fea81a932ad276677aad6a3d4dd" 18SRCREV = "ff9381774dc99fea81a932ad276677aad6a3d4dd"
16 19
diff --git a/dynamic-layers/clang-layer/recipes-oneapi/oidn/oidn_2.1.0.bb b/dynamic-layers/clang-layer/recipes-oneapi/oidn/oidn_2.4.1.bb
index 8005f544..4a8b81a7 100644
--- a/dynamic-layers/clang-layer/recipes-oneapi/oidn/oidn_2.1.0.bb
+++ b/dynamic-layers/clang-layer/recipes-oneapi/oidn/oidn_2.4.1.bb
@@ -7,21 +7,26 @@ HOMEPAGE = "https://www.openimagedenoise.org/"
7 7
8LICENSE = "Apache-2.0 & BSD-3-Clause" 8LICENSE = "Apache-2.0 & BSD-3-Clause"
9LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \ 9LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \
10 file://external/mkl-dnn/LICENSE;md5=b48e3de3bfd47c27882a0d85b20823f5 \ 10 file://external/cutlass/LICENSE.txt;md5=ce85e3722fa981b4aef41101c60ed4a4 \
11 file://external/mkl-dnn/src/cpu/x64/xbyak/COPYRIGHT;md5=3b9bf048d063d54cdb28964db558bcc7 \ 11 file://external/composable_kernel/LICENSE;md5=2049c7351121e693518087ea93a76da2 \
12 file://external/mkl-dnn/src/common/ittnotify/LICENSE.BSD;md5=e671ff178b24a95a382ba670503c66fb \
13 file://weights/LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" 12 file://weights/LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
14 13
15SRC_URI = "https://github.com/OpenImageDenoise/${BPN}/releases/download/v${PV}/${BP}.src.tar.gz\ 14SRC_URI = "https://github.com/RenderKit/${BPN}/releases/download/v${PV}/${BPN}-${PV}.src.tar.gz\
16 " 15 "
17SRC_URI[sha256sum] = "ce144ba582ff36563d9442ee07fa2a4d249bc85aa93e5b25fc527ff4ee755ed6" 16SRC_URI[sha256sum] = "9c7c77ae0d57e004479cddb7aaafd405c2cc745153bed4805413c21be610e17b"
17
18S = "${UNPACKDIR}/${BPN}-${PV}"
18 19
19inherit cmake 20inherit cmake
20 21
22# ISPC generates headers with embedded build paths
23INSANE_SKIP:${PN}-src += "buildpaths"
24INSANE_SKIP:${PN}-dbg += "buildpaths"
25
21DEPENDS += "tbb ispc-native" 26DEPENDS += "tbb ispc-native"
22 27
23do_install:append() { 28do_install:append() {
24 chrpath -d ${D}${bindir}/* ${D}${libdir}/*${SOLIBS} 29 chrpath -d ${D}${bindir}/* ${D}${libdir}/*${SOLIBS}
25} 30}
26 31
27UPSTREAM_CHECK_URI = "https://github.com/OpenImageDenoise/oidn/releases" 32UPSTREAM_CHECK_URI = "https://github.com/RenderKit/oidn/releases"
diff --git a/dynamic-layers/clang-layer/recipes-oneapi/openvkl/openvkl_2.0.1.bb b/dynamic-layers/clang-layer/recipes-oneapi/openvkl/openvkl_2.0.1.bb
index b458bb4d..efd15d9f 100644
--- a/dynamic-layers/clang-layer/recipes-oneapi/openvkl/openvkl_2.0.1.bb
+++ b/dynamic-layers/clang-layer/recipes-oneapi/openvkl/openvkl_2.0.1.bb
@@ -40,3 +40,6 @@ PACKAGES =+ "${PN}-examples"
40FILES:${PN}-examples = "\ 40FILES:${PN}-examples = "\
41 ${bindir} \ 41 ${bindir} \
42 " 42 "
43
44INSANE_SKIP:${PN}-src += "buildpaths"
45INSANE_SKIP:${PN}-dbg += "buildpaths" \ No newline at end of file
diff --git a/dynamic-layers/clang-layer/recipes-oneapi/ospray/ospray_3.2.0.bb b/dynamic-layers/clang-layer/recipes-oneapi/ospray/ospray_3.2.0.bb
index dc8f7335..99af9010 100644
--- a/dynamic-layers/clang-layer/recipes-oneapi/ospray/ospray_3.2.0.bb
+++ b/dynamic-layers/clang-layer/recipes-oneapi/ospray/ospray_3.2.0.bb
@@ -36,4 +36,6 @@ FILES:${PN}-apps = "\
36 ${bindir} \ 36 ${bindir} \
37 " 37 "
38 38
39INSANE_SKIP:${PN}-src += "buildpaths"
40INSANE_SKIP:${PN}-dbg += "buildpaths"
39UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>(\d+(\.\d+)+))$" 41UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>(\d+(\.\d+)+))$"
diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2550.0.0.0.bb b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2550.0.0.0.bb
index 3804338e..d601fb31 100644
--- a/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2550.0.0.0.bb
+++ b/dynamic-layers/openembedded-layer/recipes-bsp/amt/lms_2550.0.0.0.bb
@@ -10,9 +10,9 @@ COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
10 10
11COMPATIBLE_HOST:libc-musl = "null" 11COMPATIBLE_HOST:libc-musl = "null"
12 12
13inherit cmake systemd features_check python3native 13inherit cmake systemd features_check python3native pkgconfig
14 14
15DEPENDS = "metee ace xerces-c libnl libxml2 glib-2.0 glib-2.0-native pkgconfig-native python3-packaging-native" 15DEPENDS = "metee ace xerces-c libnl libxml2 glib-2.0 glib-2.0-native python3-packaging-native"
16 16
17# Enable either connman or networkmanager or none but not both. 17# Enable either connman or networkmanager or none but not both.
18PACKAGECONFIG ??= "connman" 18PACKAGECONFIG ??= "connman"
diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/linux-npu-driver/linux-npu-driver_1.28.0.bb b/dynamic-layers/openembedded-layer/recipes-bsp/linux-npu-driver/linux-npu-driver_1.28.0.bb
index d2e90e79..1bf7c46a 100644
--- a/dynamic-layers/openembedded-layer/recipes-bsp/linux-npu-driver/linux-npu-driver_1.28.0.bb
+++ b/dynamic-layers/openembedded-layer/recipes-bsp/linux-npu-driver/linux-npu-driver_1.28.0.bb
@@ -21,8 +21,10 @@ SRCREV_lzvext = "61e4aeb00afd2a5b6955986269eed3a713c7b562"
21SRCREV_googletest = "b514bdc898e2951020cbdca1304b75f5950d1f59" 21SRCREV_googletest = "b514bdc898e2951020cbdca1304b75f5950d1f59"
22SRCREV_FORMAT = "linux-npu-driver_npu-compiler-elf_yaml-cpp_lzvext_googletest" 22SRCREV_FORMAT = "linux-npu-driver_npu-compiler-elf_yaml-cpp_lzvext_googletest"
23 23
24inherit cmake 24inherit cmake pkgconfig
25 25
26COMPATIBLE_HOST = '(x86_64).*-linux'
27COMPATIBLE_HOST:libc-musl = 'null'
26 28
27# Fix warning _FORTIFY_SOURCE requires compiling with optimization (-O) 29# Fix warning _FORTIFY_SOURCE requires compiling with optimization (-O)
28EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release " 30EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release "
@@ -32,7 +34,7 @@ EXTRA_OECMAKE += " -DCMAKE_INSTALL_FIRMWARE_DIR=${nonarch_base_libdir}"
32EXTRA_OECMAKE += " -DCMAKE_POLICY_VERSION_MINIMUM=3.5" 34EXTRA_OECMAKE += " -DCMAKE_POLICY_VERSION_MINIMUM=3.5"
33EXTRA_OECMAKE += " -DCMAKE_CXX_FLAGS='-I${STAGING_INCDIR}/level_zero'" 35EXTRA_OECMAKE += " -DCMAKE_CXX_FLAGS='-I${STAGING_INCDIR}/level_zero'"
34 36
35DEPENDS = "level-zero dpkg-native pkgconfig-native level-zero-native" 37DEPENDS = "level-zero dpkg-native level-zero-native"
36 38
37PACKAGES =+ "${PN}-firmware ${PN}-tests" 39PACKAGES =+ "${PN}-firmware ${PN}-tests"
38 40
diff --git a/dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.10.bb b/dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.10.bb
deleted file mode 100644
index 63106028..00000000
--- a/dynamic-layers/openembedded-layer/recipes-bsp/thermald/thermald_2.5.10.bb
+++ /dev/null
@@ -1,43 +0,0 @@
1SUMMARY = "Linux thermal daemon"
2
3DESCRIPTION = "Thermal Daemon is a Linux daemon used to prevent the \
4overheating of platforms. This daemon monitors temperature and applies \
5compensation using available cooling methods."
6
7HOMEPAGE = "https://github.com/01org/thermal_daemon"
8
9DEPENDS = "dbus dbus-glib dbus-glib-native libxml2 glib-2.0 glib-2.0-native upower libevdev"
10DEPENDS += "autoconf-archive-native"
11
12LICENSE = "GPL-2.0-only"
13LIC_FILES_CHKSUM = "file://COPYING;md5=ea8831610e926e2e469075b52bf08848"
14
15SRC_URI = "git://github.com/intel/thermal_daemon/;branch=master;protocol=https \
16 "
17
18SRCREV = "88369b42ec523787081b9bf8811b364e2a3d5f2d"
19
20inherit pkgconfig autotools systemd gtk-doc
21
22# gtkdocsize runs before autotools do_configure and it copies gtk-doc.m4 and fails
23# to copy becuase there is no m4 dir yet.
24do_configure:prepend () {
25 mkdir -p ${S}/m4
26}
27
28EXTRA_OECONF = " \
29 --with-systemdsystemunitdir=${systemd_system_unitdir} \
30 "
31
32FILES:${PN} += "${datadir}/dbus-1"
33
34SYSTEMD_SERVICE:${PN} = "thermald.service"
35
36COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
37
38CONFFILES:${PN} = " \
39 ${sysconfdir}/thermald/thermal-conf.xml \
40 ${sysconfdir}/thermald/thermal-cpu-cdev-order.xml \
41 "
42
43UPSTREAM_CHECK_URI = "https://github.com/01org/thermal_daemon/releases"
diff --git a/dynamic-layers/openembedded-layer/recipes-support/ipmctl/ipmctl_03.00.00.0538.bb b/dynamic-layers/openembedded-layer/recipes-support/ipmctl/ipmctl_03.00.00.0538.bb
index aeefe4a4..4ec337f1 100644
--- a/dynamic-layers/openembedded-layer/recipes-support/ipmctl/ipmctl_03.00.00.0538.bb
+++ b/dynamic-layers/openembedded-layer/recipes-support/ipmctl/ipmctl_03.00.00.0538.bb
@@ -27,9 +27,9 @@ SRCREV_ipmctl = "a71f2fb1c90dd07f9862b71c789881132193e8f9"
27SRCREV_edk2 = "46548b1adac82211d8d11da12dd914f41e7aa775" 27SRCREV_edk2 = "46548b1adac82211d8d11da12dd914f41e7aa775"
28SRCREV_FORMAT = "ipmctl_edk2" 28SRCREV_FORMAT = "ipmctl_edk2"
29 29
30inherit cmake dos2unix 30inherit cmake dos2unix pkgconfig
31 31
32DEPENDS = "ndctl pkgconfig-native" 32DEPENDS = "ndctl"
33 33
34EXTRA_OECMAKE = "-DRELEASE=ON \ 34EXTRA_OECMAKE = "-DRELEASE=ON \
35 -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ 35 -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
diff --git a/lib/oeqa/runtime/cases/intel_vaapi_driver.py b/lib/oeqa/runtime/cases/intel_vaapi_driver.py
index 31e11a81..a1182088 100644
--- a/lib/oeqa/runtime/cases/intel_vaapi_driver.py
+++ b/lib/oeqa/runtime/cases/intel_vaapi_driver.py
@@ -10,7 +10,7 @@ class VaapiDriverTest(OERuntimeTestCase):
10 10
11 @OEHasPackage(['gstreamer1.0-plugins-base']) 11 @OEHasPackage(['gstreamer1.0-plugins-base'])
12 @OEHasPackage(['gstreamer1.0-plugins-good']) 12 @OEHasPackage(['gstreamer1.0-plugins-good'])
13 @OEHasPackage(['gstreamer1.0-vaapi']) 13 @OEHasPackage(['gstreamer1.0-plugins-bad'])
14 @OEHasPackage(['intel-vaapi-driver']) 14 @OEHasPackage(['intel-vaapi-driver'])
15 def test_gstreamer_can_encode_with_intel_vaapi_driver(self): 15 def test_gstreamer_can_encode_with_intel_vaapi_driver(self):
16 (status, output) = self.target.run('gst-inspect-1.0 vaapi') 16 (status, output) = self.target.run('gst-inspect-1.0 vaapi')
diff --git a/lib/oeqa/runtime/cases/libxcam.py b/lib/oeqa/runtime/cases/libxcam.py
deleted file mode 100644
index 57192f07..00000000
--- a/lib/oeqa/runtime/cases/libxcam.py
+++ /dev/null
@@ -1,37 +0,0 @@
1from oeqa.runtime.case import OERuntimeTestCase
2from oeqa.runtime.decorator.package import OEHasPackage
3from oeqa.core.decorator.depends import OETestDepends
4
5class LibxcamTest(OERuntimeTestCase):
6 yuv_file = 'vtest.yuv'
7 soft_test_app_file = 'test-soft-image'
8 libxcam_test_app_dir = '/usr/bin/libxcam/'
9 libxcam_file_dir = '/tmp/'
10
11 @classmethod
12 def tearDownClass(cls):
13 cls.tc.target.run("rm %s%s" % (cls.libxcam_file_dir, cls.yuv_file))
14
15 @OEHasPackage(['gstreamer1.0-plugins-base'])
16 @OEHasPackage(['gstreamer1.0-plugins-good'])
17 @OEHasPackage(['gstreamer1.0-vaapi'])
18 @OEHasPackage(['intel-vaapi-driver'])
19 def test_libxcam_can_generate_yuv_file_with_gstreamer(self):
20 (status, output) = self.target.run('gst-inspect-1.0 vaapi')
21 self.assertEqual(status, 0, msg='status and output: %s and %s' % (status, output))
22
23 (status, output) = self.target.run('gst-launch-1.0 -ev videotestsrc num-buffers=60 ! '
24 'timeoverlay ! filesink location=%s%s' %
25 (self.libxcam_file_dir, self.yuv_file))
26 self.assertEqual(status, 0, msg='status and output: %s and %s' % (status, output))
27
28 @OEHasPackage(['libxcam'])
29 @OEHasPackage(['libxcam-test'])
30 @OETestDepends(['libxcam.LibxcamTest.test_libxcam_can_generate_yuv_file_with_gstreamer'])
31 def test_libxcam_can_execute_soft_image_sample_app(self):
32 (status, output) = self.target.run('%s%s --type remap --input0 %s%s --output soft_out.nv12 --save false' %
33 (self.libxcam_test_app_dir,
34 self.soft_test_app_file,
35 self.libxcam_file_dir,
36 self.yuv_file))
37 self.assertEqual(status, 0, msg='status and output: %s and %s' % (status, output))
diff --git a/recipes-core/microcode/intel-microcode_20251111.bb b/recipes-core/microcode/intel-microcode_20260210.bb
index 8c645bde..92cb7ef8 100644
--- a/recipes-core/microcode/intel-microcode_20251111.bb
+++ b/recipes-core/microcode/intel-microcode_20260210.bb
@@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = "file://license;md5=d8405101ec6e90c1d84b082b0c40c721"
16SRC_URI = "git://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files.git;protocol=https;branch=main \ 16SRC_URI = "git://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files.git;protocol=https;branch=main \
17 " 17 "
18 18
19SRCREV = "f910b0a225d66a23a407710c61b0b63ee612b50f" 19SRCREV = "439ddde999b07b28877a60e874f753e72ec2cd59"
20 20
21DEPENDS = "iucode-tool-native" 21DEPENDS = "iucode-tool-native"
22 22
diff --git a/recipes-kernel/intel-ethernet/ixgbe_5.20.10.bb b/recipes-kernel/intel-ethernet/ixgbe_6.3.4.bb
index 75ebf6f4..17bfd0b2 100644
--- a/recipes-kernel/intel-ethernet/ixgbe_5.20.10.bb
+++ b/recipes-kernel/intel-ethernet/ixgbe_6.3.4.bb
@@ -2,18 +2,18 @@ SUMMARY = "ixgbe kernel driver for Intel Magnolia Park 10GbE"
2DESCRIPTION = "The ixgbe driver supports 82598- and 82599-based \ 2DESCRIPTION = "The ixgbe driver supports 82598- and 82599-based \
3PCI Express* 10 Gigabit Network Connections." 3PCI Express* 10 Gigabit Network Connections."
4 4
5HOMEPAGE = "https://sourceforge.net/projects/e1000/" 5HOMEPAGE = "https://github.com/intel/ethernet-linux-ixgbe"
6SECTION = "kernel/network" 6SECTION = "kernel/network"
7LICENSE = "GPL-2.0-only" 7LICENSE = "GPL-2.0-only"
8LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417" 8LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417"
9 9
10SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbe%20stable/${PV}/${BP}.tar.gz \ 10SRC_URI = "https://github.com/intel/ethernet-linux-ixgbe/releases/download/v${PV}/${BP}.tar.gz \
11 " 11 "
12 12
13SRC_URI[sha256sum] = "da7e7b62ffb85a820d7541623fbef5c4abef8d1df7ac0af3f1acc3b3d76c9822" 13SRC_URI[sha256sum] = "1bb6a63bf2502bfd205ba55e48ef6486754b1823ed330cb103ac1a590544abe6"
14 14
15UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/e1000/files/ixgbe%20stable/" 15UPSTREAM_CHECK_URI = "https://github.com/intel/ethernet-linux-ixgbe/releases"
16UPSTREAM_CHECK_REGEX = "ixgbe%20stable/(?P<pver>\d+(\.\d+)+)/" 16UPSTREAM_CHECK_REGEX = "ixgbe-(?P<pver>\d+(\.\d+)+)\.tar\.gz"
17 17
18CVE_PRODUCT = "linux:linux_kernel_ixgbe" 18CVE_PRODUCT = "linux:linux_kernel_ixgbe"
19 19
diff --git a/recipes-kernel/intel-ethernet/ixgbevf_4.19.10.bb b/recipes-kernel/intel-ethernet/ixgbevf_5.2.2.bb
index 8bb0923c..10b29676 100644
--- a/recipes-kernel/intel-ethernet/ixgbevf_4.19.10.bb
+++ b/recipes-kernel/intel-ethernet/ixgbevf_5.2.2.bb
@@ -5,18 +5,18 @@ that can only be activated on kernels that support SR-IOV. \
5SR-IOV requires the correct platform and OS support. \ 5SR-IOV requires the correct platform and OS support. \
6The guest OS loading this driver must support MSI-X interrupts." 6The guest OS loading this driver must support MSI-X interrupts."
7 7
8HOMEPAGE = "https://sourceforge.net/projects/e1000/" 8HOMEPAGE = "https://github.com/intel/ethernet-linux-ixgbevf"
9SECTION = "kernel/network" 9SECTION = "kernel/network"
10LICENSE = "GPL-2.0-only" 10LICENSE = "GPL-2.0-only"
11LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417" 11LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417"
12 12
13SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/${PV}/${BP}.tar.gz \ 13SRC_URI = "https://github.com/intel/ethernet-linux-ixgbevf/releases/download/v${PV}/${BP}.tar.gz \
14 " 14 "
15 15
16SRC_URI[sha256sum] = "73c6a27be324a48b069dbda0d1d07212a2214c71f54df57bca7177fc92b04881" 16SRC_URI[sha256sum] = "8e0950ccfc19515f4fcb0dd347f776ed49aa6781ee3a177511d0fb7ac4d25e9a"
17 17
18UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/" 18UPSTREAM_CHECK_URI = "https://github.com/intel/ethernet-linux-ixgbevf/releases"
19UPSTREAM_CHECK_REGEX = "ixgbevf%20stable/(?P<pver>\d+(\.\d+)+)/" 19UPSTREAM_CHECK_REGEX = "ixgbevf-(?P<pver>\d+(\.\d+)+)\.tar\.gz"
20 20
21CVE_PRODUCT = "linux:linux_kernel_ixgbe" 21CVE_PRODUCT = "linux:linux_kernel_ixgbe"
22 22
diff --git a/recipes-kernel/linux/linux-intel-rt_6.12.bb b/recipes-kernel/linux/linux-intel-rt_6.18.bb
index e0f6f1f5..8dd4f027 100644
--- a/recipes-kernel/linux/linux-intel-rt_6.12.bb
+++ b/recipes-kernel/linux/linux-intel-rt_6.18.bb
@@ -12,8 +12,8 @@ python () {
12 raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt to enable it") 12 raise bb.parse.SkipPackage("Set PREFERRED_PROVIDER_virtual/kernel to linux-intel-rt to enable it")
13} 13}
14 14
15KBRANCH = "6.12/linux" 15KBRANCH = "6.18/linux"
16KMETA_BRANCH = "yocto-6.12" 16KMETA_BRANCH = "yocto-6.18"
17 17
18LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" 18LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
19 19
@@ -21,13 +21,13 @@ DEPENDS += "elfutils-native openssl-native util-linux-native"
21 21
22LINUX_VERSION_EXTENSION ??= "-intel-pk-${LINUX_KERNEL_TYPE}" 22LINUX_VERSION_EXTENSION ??= "-intel-pk-${LINUX_KERNEL_TYPE}"
23 23
24LINUX_VERSION ?= "6.12.61" 24LINUX_VERSION ?= "6.18.15"
25SRCREV_machine ?= "7190df9cb5fc10c673e960b7144d470fcd373627" 25SRCREV_machine ?= "16b46595039e12fe48cef4b96a78e3e8061508e5"
26SRCREV_meta ?= "46ae7e7d4ce1ee55091957bff63e0f54a761a93d" 26SRCREV_meta ?= "bc293057a14f94dd50838a399bd8758a6766b877"
27 27
28LINUX_KERNEL_TYPE = "preempt-rt" 28LINUX_KERNEL_TYPE = "preempt-rt"
29 29
30# Functionality flags 30# Functionality flags
31KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/security/security.scc" 31KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/security/security.scc"
32 32
33UPSTREAM_CHECK_GITTAGREGEX = "^lts-(?P<pver>v6.12.(\d+)-linux-(\d+)T(\d+)Z)$" 33UPSTREAM_CHECK_GITTAGREGEX = "^lts-(?P<pver>v6.18.(\d+)-linux-(\d+)T(\d+)Z)$"
diff --git a/recipes-kernel/linux/linux-intel_6.12.bb b/recipes-kernel/linux/linux-intel_6.18.bb
index aa8817f0..de20eb51 100644
--- a/recipes-kernel/linux/linux-intel_6.12.bb
+++ b/recipes-kernel/linux/linux-intel_6.18.bb
@@ -2,8 +2,8 @@ require linux-intel.inc
2 2
3SRC_URI:prepend = "git://github.com/intel/linux-intel-lts.git;protocol=https;name=machine;branch=${KBRANCH}; \ 3SRC_URI:prepend = "git://github.com/intel/linux-intel-lts.git;protocol=https;name=machine;branch=${KBRANCH}; \
4 " 4 "
5KBRANCH = "6.12/linux" 5KBRANCH = "6.18/linux"
6KMETA_BRANCH = "yocto-6.12" 6KMETA_BRANCH = "yocto-6.18"
7 7
8LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" 8LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
9 9
@@ -11,13 +11,13 @@ DEPENDS += "elfutils-native openssl-native util-linux-native"
11 11
12LINUX_VERSION_EXTENSION ??= "-intel-pk-${LINUX_KERNEL_TYPE}" 12LINUX_VERSION_EXTENSION ??= "-intel-pk-${LINUX_KERNEL_TYPE}"
13 13
14LINUX_VERSION ?= "6.12.61" 14LINUX_VERSION ?= "6.18.15"
15SRCREV_machine ?= "7190df9cb5fc10c673e960b7144d470fcd373627" 15SRCREV_machine ?= "16b46595039e12fe48cef4b96a78e3e8061508e5"
16SRCREV_meta ?= "46ae7e7d4ce1ee55091957bff63e0f54a761a93d" 16SRCREV_meta ?= "bc293057a14f94dd50838a399bd8758a6766b877"
17 17
18# Functionality flags 18# Functionality flags
19KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc \ 19KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc \
20 features/security/security.scc \ 20 features/security/security.scc \
21 features/intel-npu/intel-npu.scc" 21 features/intel-npu/intel-npu.scc"
22 22
23UPSTREAM_CHECK_GITTAGREGEX = "^lts-(?P<pver>v6.12.(\d+)-linux-(\d+)T(\d+)Z)$" 23UPSTREAM_CHECK_GITTAGREGEX = "^lts-(?P<pver>v6.18.(\d+)-linux-(\d+)T(\d+)Z)$"
diff --git a/recipes-kernel/perf/perf.bbappend b/recipes-kernel/perf/perf.bbappend
new file mode 100644
index 00000000..54ad4dd9
--- /dev/null
+++ b/recipes-kernel/perf/perf.bbappend
@@ -0,0 +1,17 @@
1# Fix const qualifier warnings in libbpf.c when building with -Werror
2# This is a workaround for older kernel versions (6.12.x) that don't have
3# the upstream fix yet. The issue is already fixed in kernel 6.13+.
4
5# remove at next version upgrade or when output changes
6PR = "r3"
7HASHEQUIV_HASH_VERSION .= ".3"
8
9do_configure:prepend () {
10 # Apply libbpf const qualifier fixes
11 if [ -e "${S}/tools/lib/bpf/libbpf.c" ]; then
12 # Fix kallsyms_cb function - change 'char *res' to 'const char *res'
13 sed -i 's/^\(\s*\)char \*res;/\1const char *res;/' "${S}/tools/lib/bpf/libbpf.c"
14 # Fix resolve_full_path function - change 'char *next_path' to 'const char *next_path'
15 sed -i 's/^\(\s*\)char \*next_path;/\1const char *next_path;/' "${S}/tools/lib/bpf/libbpf.c"
16 fi
17}
diff --git a/recipes-multimedia/libva/intel-media-driver_26.1.0.bb b/recipes-multimedia/libva/intel-media-driver_25.1.4.bb
index 4db1b7ea..1716f0ea 100644
--- a/recipes-multimedia/libva/intel-media-driver_26.1.0.bb
+++ b/recipes-multimedia/libva/intel-media-driver_25.1.4.bb
@@ -23,7 +23,7 @@ SRC_URI = "git://github.com/intel/media-driver.git;protocol=https;nobranch=1 \
23 file://0004-Fix-failed-4k-videowalll-test-case-and-color-corrupt.patch \ 23 file://0004-Fix-failed-4k-videowalll-test-case-and-color-corrupt.patch \
24 " 24 "
25 25
26SRCREV = "9e4d199d44a86d409e9922fc37c48ceb88252d35" 26SRCREV = "14e2e7bcf1014186dbf1c099089c7c05cd880ae8"
27 27
28COMPATIBLE_HOST:x86-x32 = "null" 28COMPATIBLE_HOST:x86-x32 = "null"
29 29
diff --git a/recipes-multimedia/vpl/libvpl-tools_1.5.0.bb b/recipes-multimedia/vpl/libvpl-tools_1.5.0.bb
index 662d3add..33db121e 100644
--- a/recipes-multimedia/vpl/libvpl-tools_1.5.0.bb
+++ b/recipes-multimedia/vpl/libvpl-tools_1.5.0.bb
@@ -13,8 +13,9 @@ SRC_URI = "git://github.com/intel/libvpl-tools.git;protocol=https;branch=main \
13 13
14SRCREV = "ad9deecaf0ee76f689373b55fe620c843e3c8a4d" 14SRCREV = "ad9deecaf0ee76f689373b55fe620c843e3c8a4d"
15 15
16inherit cmake 16inherit cmake pkgconfig
17DEPENDS += "libva libvpl pkgconfig-native" 17
18DEPENDS += "libva libvpl"
18 19
19PACKAGECONFIG ??= "tools" 20PACKAGECONFIG ??= "tools"
20PACKAGECONFIG[tools] = "-DENABLE_WAYLAND=ON, -DENABLE_WAYLAND=OFF, wayland wayland-native wayland-protocols" 21PACKAGECONFIG[tools] = "-DENABLE_WAYLAND=ON, -DENABLE_WAYLAND=OFF, wayland wayland-native wayland-protocols"
diff --git a/recipes-multimedia/vpl/libvpl_2.16.0.bb b/recipes-multimedia/vpl/libvpl_2.16.0.bb
index 107abef5..19fe8d14 100644
--- a/recipes-multimedia/vpl/libvpl_2.16.0.bb
+++ b/recipes-multimedia/vpl/libvpl_2.16.0.bb
@@ -13,8 +13,9 @@ SRC_URI = "git://github.com/intel/libvpl.git;protocol=https;branch=main \
13 " 13 "
14SRCREV = "778a66d6c6537f08eabb91955dbbf1bce3812894" 14SRCREV = "778a66d6c6537f08eabb91955dbbf1bce3812894"
15 15
16inherit cmake 16inherit cmake pkgconfig
17DEPENDS += "libva pkgconfig-native" 17
18DEPENDS += "libva"
18 19
19PACKAGECONFIG ??= "tools" 20PACKAGECONFIG ??= "tools"
20PACKAGECONFIG[tools] = "-DBUILD_TOOLS=ON, -DBUILD_TOOLS=OFF, wayland wayland-native wayland-protocols" 21PACKAGECONFIG[tools] = "-DBUILD_TOOLS=ON, -DBUILD_TOOLS=OFF, wayland wayland-native wayland-protocols"
diff --git a/recipes-multimedia/vpl/vpl-gpu-rt_26.1.0.bb b/recipes-multimedia/vpl/vpl-gpu-rt_26.1.0.bb
index 74fd3ae2..abc62d14 100644
--- a/recipes-multimedia/vpl/vpl-gpu-rt_26.1.0.bb
+++ b/recipes-multimedia/vpl/vpl-gpu-rt_26.1.0.bb
@@ -14,7 +14,7 @@ PE = "1"
14COMPATIBLE_HOST = '(x86_64).*-linux' 14COMPATIBLE_HOST = '(x86_64).*-linux'
15COMPATIBLE_HOST:x86-x32 = "null" 15COMPATIBLE_HOST:x86-x32 = "null"
16 16
17DEPENDS += "libdrm libva intel-media-driver libvpl pkgconfig-native" 17DEPENDS += "libdrm libva intel-media-driver libvpl"
18RDEPENDS:${PN} += "intel-media-driver" 18RDEPENDS:${PN} += "intel-media-driver"
19 19
20SRC_URI = "git://github.com/intel/vpl-gpu-rt.git;protocol=https;nobranch=1;lfs=0 \ 20SRC_URI = "git://github.com/intel/vpl-gpu-rt.git;protocol=https;nobranch=1;lfs=0 \
@@ -26,7 +26,7 @@ FILES:${PN} += " \
26 ${libdir}/libmfx-gen/enctools.so \ 26 ${libdir}/libmfx-gen/enctools.so \
27 " 27 "
28 28
29inherit cmake features_check 29inherit cmake features_check pkgconfig
30 30
31REQUIRED_DISTRO_FEATURES = "opengl" 31REQUIRED_DISTRO_FEATURES = "opengl"
32 32
diff --git a/recipes-support/libipt/libipt/0001-pttc-use-nasm-instead-of-yasm.patch b/recipes-support/libipt/libipt/0001-pttc-use-nasm-instead-of-yasm.patch
new file mode 100644
index 00000000..052d5aa6
--- /dev/null
+++ b/recipes-support/libipt/libipt/0001-pttc-use-nasm-instead-of-yasm.patch
@@ -0,0 +1,177 @@
1From 2a62be5f20707d350e9be6406a853ecdf4be4051 Mon Sep 17 00:00:00 2001
2From: Yogesh Tyagi <yogesh.tyagi@intel.com>
3Date: Sun, 1 Feb 2026 22:54:34 +0800
4Subject: [PATCH] pttc: Add support for nasm assembler
5
6Replace yasm with nasm as the default assembler for pttc. Yasm is no
7longer actively maintained and has known security vulnerabilities, while
8nasm is actively developed and provides equivalent functionality.
9
10Key changes:
111. Update assembler invocation from 'yasm' to 'nasm'
122. Remove '-L nasm' option (nasm doesn't need this flag)
133. Adjust argv array indices after removing the flag
144. Support both yasm and nasm org directive formats:
15 - yasm: [org 0x100000]
16 - nasm: org 0x100000
175. Handle nasm's listing format which lacks %line directives by
18 implementing 1:1 line mapping fallback for source correlation
19
20The changes maintain backward compatibility with existing .ptt test files
21while enabling nasm as the preferred assembler.
22
23Tested with:
24- test/src/loop-tnt.ptt
25- test/src/dump-all-packets.ptt
26
27Both tests generate valid PT traces that can be decoded with ptdump.
28
29Upstream-Status: Submitted [https://github.com/intel/libipt/pull/120]
30
31Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
32---
33 doc/howto_pttc.md | 6 ++---
34 pttc/src/yasm.c | 63 +++++++++++++++++++++++++++++++++++++++--------
35 2 files changed, 56 insertions(+), 13 deletions(-)
36
37diff --git a/doc/howto_pttc.md b/doc/howto_pttc.md
38index e7308cdb..c356103b 100644
39--- a/doc/howto_pttc.md
40+++ b/doc/howto_pttc.md
41@@ -31,7 +31,7 @@ Testing the Intel(R) Processor Trace (Intel PT) Decoder Library and Samples {#pt
42 !-->
43
44 This chapter documents how to use the pttc tool to generate and run tests.
45-Pttc takes a yasm assembly file and creates a Processor Trace stream from
46+Pttc takes a nasm assembly file and creates a Processor Trace stream from
47 special directives in its input.
48
49
50@@ -49,7 +49,7 @@ directory:
51 file-<tool>.exp
52 file-<src>.sb
53
54-The `.lst` and `.bin` files are generated by a call to yasm. The `.pt` file
55+The `.lst` and `.bin` files are generated by a call to nasm. The `.pt` file
56 contains the Processor Trace and the `.exp` files contain the content of the
57 comments after the `.exp` directive for tool `<tool>` (see below). The `.sb`
58 files contain sideband infomrmation from source `<src>` (see below).
59@@ -60,7 +60,7 @@ Pttc prints the filenames of the generated `.exp` and `.sb` files to stdout.
60 Syntax
61 ------
62
63-Pttc allows annotations in the comments of yasm assembler source files. The
64+Pttc allows annotations in the comments of nasm assembler source files. The
65 parser recognizes all comments that contain the `@pt` directive marker.
66
67 Every pt directive can be preceded by a label name followed by a colon (`:`).
68diff --git a/pttc/src/yasm.c b/pttc/src/yasm.c
69index 2f3020d1..98f6d846 100644
70--- a/pttc/src/yasm.c
71+++ b/pttc/src/yasm.c
72@@ -155,7 +155,7 @@ static int lookup_section_vstart(struct label *l, char *line,
73 }
74
75 static const char key_section[] = "[section";
76-static const char key_org[] = "[org";
77+static const char *key_org[] = {"[org", "org", NULL};
78
79 int parse_yasm_labels(struct label *l, const struct text *t)
80 {
81@@ -192,12 +192,33 @@ int parse_yasm_labels(struct label *l, const struct text *t)
82 continue;
83 }
84
85- tmp = strstr(line, key_org);
86- if (tmp) {
87+ /* Try both yasm format "[org" and nasm format "org" */
88+ tmp = NULL;
89+ int org_style = -1;
90+ for (int j = 0; key_org[j] != NULL; j++) {
91+ tmp = strstr(line, key_org[j]);
92+ if (tmp) {
93+ org_style = j;
94+ break;
95+ }
96+ }
97+
98+ if (tmp && org_style >= 0) {
99 char *org;
100
101- org = tmp + sizeof(key_org) - 1;
102- tmp = strstr(org, "]");
103+ org = tmp + strlen(key_org[org_style]);
104+ /* For yasm format "[org", look for ] */
105+ if (org_style == 0) {
106+ tmp = strstr(org, "]");
107+ } else {
108+ /* For nasm, skip whitespace to find hex value */
109+ while (isspace(*org))
110+ org++;
111+ tmp = org;
112+ /* Find end of hex number */
113+ while (*tmp && !isspace(*tmp))
114+ tmp++;
115+ }
116 if (!tmp)
117 return -err_no_org_directive;
118
119@@ -720,18 +741,17 @@ error:
120 static int yasm_run(struct yasm *y)
121 {
122 char *argv[] = {
123- "yasm",
124+ "nasm",
125 "<pttfile>",
126 "-f", "bin",
127 "-o", "<binfile>",
128- "-L", "nasm",
129 "-l", "<lstfile>",
130 NULL,
131 };
132
133 argv[1] = y->pttfile;
134 argv[5] = y->binfile;
135- argv[9] = y->lstfile;
136+ argv[7] = y->lstfile;
137
138 return run(argv[0], argv);
139 }
140@@ -825,9 +845,32 @@ static int yasm_advance_next_line(struct yasm *y)
141 /* if line number or increment in the previous line
142 * directive is <= 0, the current lst line has no
143 * corresponding line in the source file.
144+ *
145+ * For nasm compatibility: if no %line directives have been
146+ * seen yet, assume 1:1 mapping with source file.
147 */
148- if (y->st_asm->n <= 0 || y->st_asm->inc <= 0)
149- continue;
150+ if (y->st_asm->n <= 0 || y->st_asm->inc <= 0) {
151+ /* If we haven't seen any %line directive, try to use
152+ * the source file directly with 1:1 line mapping.
153+ */
154+ if (!y->st_asm->filename || y->st_asm->filename[0] == '\0') {
155+ /* Set to source .ptt file for first time */
156+ st_set_file(y->st_asm, y->pttfile, 1, 1);
157+ }
158+
159+ /* Calculate source line from listing line for nasm */
160+ asm_line = (int)y->lst_curr_line;
161+
162+ /* Read from source file at same line number */
163+ errcode = fl_getline(y->fl, s, (size_t) sizeof(s),
164+ y->st_asm->filename,
165+ (size_t) asm_line - 1u);
166+ if (errcode < 0)
167+ continue; /* Skip if can't read source line */
168+
169+ errcode = st_update(y->st_asm, s);
170+ break;
171+ }
172
173 /* finally the current line in the lst file can be
174 * correlated to the source file, so we retrieve the
175--
1762.34.1
177
diff --git a/recipes-support/libipt/libipt_2.2.bb b/recipes-support/libipt/libipt_2.2.bb
index ca1edb7f..47f74f68 100644
--- a/recipes-support/libipt/libipt_2.2.bb
+++ b/recipes-support/libipt/libipt_2.2.bb
@@ -9,7 +9,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fcee2b5da70c8e2e58c5f4d1f2d5788a"
9 9
10inherit pkgconfig cmake 10inherit pkgconfig cmake
11 11
12SRC_URI = "git://github.com/intel/libipt.git;protocol=https;branch=stable/v2.2" 12SRC_URI = "git://github.com/intel/libipt.git;protocol=https;branch=stable/v2.2 \
13 file://0001-pttc-use-nasm-instead-of-yasm.patch \
14 "
13 15
14SRCREV = "eecdf779a35384235d3c32a6213024f53368cb60" 16SRCREV = "eecdf779a35384235d3c32a6213024f53368cb60"
15 17
diff --git a/recipes-support/metee/metee/0001-Fix-sign-conversion-warnings-with-musl-ioctl.patch b/recipes-support/metee/metee/0001-Fix-sign-conversion-warnings-with-musl-ioctl.patch
new file mode 100644
index 00000000..4ffa748b
--- /dev/null
+++ b/recipes-support/metee/metee/0001-Fix-sign-conversion-warnings-with-musl-ioctl.patch
@@ -0,0 +1,48 @@
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Yogesh Tyagi <yogesh.tyagi@intel.com>
3Date: Thu, 6 Feb 2026 00:05:37 +0800
4Subject: [PATCH] Fix sign-conversion warnings with musl ioctl
5
6musl's ioctl request macros expand to unsigned long values, causing
7sign-conversion warnings when passed to ioctl() which expects an int.
8Cast the macros explicitly to int to resolve this.
9
10Upstream-Status: Submitted [https://github.com/intel/metee/pull/22]
11Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
12---
13 src/linux/mei.c | 6 +++---
14 1 file changed, 3 insertions(+), 3 deletions(-)
15
16diff --git a/src/linux/mei.c b/src/linux/mei.c
17index 1111111..2222222 100644
18--- a/src/linux/mei.c
19+++ b/src/linux/mei.c
20@@ -193,7 +193,7 @@ static inline int __mei_connect(struct mei *me, struct mei_connect_client_data
21 int rc;
22
23 errno = 0;
24- rc = ioctl(me->fd, IOCTL_MEI_CONNECT_CLIENT, d);
25+ rc = ioctl(me->fd, (int)IOCTL_MEI_CONNECT_CLIENT, d);
26 me->last_err = errno;
27 return rc == -1 ? -me->last_err : 0;
28 }
29@@ -204,7 +204,7 @@ static inline int __mei_connect_vtag(struct mei *me,
30 int rc;
31
32 errno = 0;
33- rc = ioctl(me->fd, IOCTL_MEI_CONNECT_CLIENT_VTAG, d);
34+ rc = ioctl(me->fd, (int)IOCTL_MEI_CONNECT_CLIENT_VTAG, d);
35 me->last_err = errno;
36 return rc == -1 ? -me->last_err : 0;
37 }
38@@ -225,7 +225,7 @@ static inline int __mei_notify_get(struct mei *me)
39 int rc;
40
41 errno = 0;
42- rc = ioctl(me->fd, IOCTL_MEI_NOTIFY_GET, &notification);
43+ rc = ioctl(me->fd, (int)IOCTL_MEI_NOTIFY_GET, &notification);
44 me->last_err = errno;
45 return rc == -1 ? -me->last_err : 0;
46 }
47--
482.43.0
diff --git a/recipes-support/metee/metee/0001-Suppress-sign-conversion-warning-only-for-ioctl-call.patch b/recipes-support/metee/metee/0001-Suppress-sign-conversion-warning-only-for-ioctl-call.patch
new file mode 100644
index 00000000..ae607d94
--- /dev/null
+++ b/recipes-support/metee/metee/0001-Suppress-sign-conversion-warning-only-for-ioctl-call.patch
@@ -0,0 +1,62 @@
1From d59b95a4cc0fdfd67745f7c6e5c098e95c3bd70a Mon Sep 17 00:00:00 2001
2From: Yogesh Tyagi <yogesh.tyagi@intel.com>
3Date: Wed, 11 Feb 2026 21:40:28 +0800
4Subject: [PATCH] Suppress sign-conversion warning only for ioctl calls
5
6Add targeted #pragma directives to suppress -Wsign-conversion warnings
7only around specific ioctl() calls where musl's unsigned long macros
8are converted to int. This preserves the warning for the rest of the
9codebase where it can catch real bugs.
10
11The ioctl macro/function signature mismatch is a known harmless
12difference between glibc and musl - the bit pattern is preserved.
13
14Upstream-Status: Pending
15Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
16---
17 src/linux/mei.c | 9 +++++++++
18 1 file changed, 9 insertions(+)
19
20diff --git a/src/linux/mei.c b/src/linux/mei.c
21index 3a500ce..9778608 100644
22--- a/src/linux/mei.c
23+++ b/src/linux/mei.c
24@@ -193,8 +193,11 @@ static inline int __mei_connect(struct mei *me, struct mei_connect_client_data *
25 int rc;
26
27 errno = 0;
28+ #pragma GCC diagnostic push
29+ #pragma GCC diagnostic ignored "-Wsign-conversion"
30 rc = ioctl(me->fd, IOCTL_MEI_CONNECT_CLIENT, d);
31 me->last_err = errno;
32+ #pragma GCC diagnostic pop
33 return rc == -1 ? -me->last_err : 0;
34 }
35
36@@ -204,8 +207,11 @@ static inline int __mei_connect_vtag(struct mei *me,
37 int rc;
38
39 errno = 0;
40+ #pragma GCC diagnostic push
41+ #pragma GCC diagnostic ignored "-Wsign-conversion"
42 rc = ioctl(me->fd, IOCTL_MEI_CONNECT_CLIENT_VTAG, d);
43 me->last_err = errno;
44+ #pragma GCC diagnostic pop
45 return rc == -1 ? -me->last_err : 0;
46 }
47
48@@ -225,8 +231,11 @@ static inline int __mei_notify_get(struct mei *me)
49 int rc;
50
51 errno = 0;
52+ #pragma GCC diagnostic push
53+ #pragma GCC diagnostic ignored "-Wsign-conversion"
54 rc = ioctl(me->fd, IOCTL_MEI_NOTIFY_GET, &notification);
55 me->last_err = errno;
56+ #pragma GCC diagnostic pop
57 return rc == -1 ? -me->last_err : 0;
58 }
59
60--
612.37.3
62
diff --git a/recipes-support/metee/metee_6.0.2.bb b/recipes-support/metee/metee_6.0.2.bb
index 01107619..c26734d6 100644
--- a/recipes-support/metee/metee_6.0.2.bb
+++ b/recipes-support/metee/metee_6.0.2.bb
@@ -11,6 +11,7 @@ COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
11inherit cmake 11inherit cmake
12 12
13SRC_URI = "git://github.com/intel/metee.git;branch=master;protocol=https \ 13SRC_URI = "git://github.com/intel/metee.git;branch=master;protocol=https \
14 file://0001-Suppress-sign-conversion-warning-only-for-ioctl-call.patch \
14" 15"
15SRCREV = "93784f62070b2bc4e84b51e23c9add61f7600444" 16SRCREV = "93784f62070b2bc4e84b51e23c9add61f7600444"
16 17