diff options
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 | ||
| 3 | RECIPE_MAINTAINER:pn-backport-iwlwifi = "Naveen Saini <naveen.kumar.saini@intel.com>" | 3 | RECIPE_MAINTAINER:pn-backport-iwlwifi = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 4 | RECIPE_MAINTAINER:pn-core-image-rt = "Anuj Mittal <anuj.mittal@intel.com>" | 4 | RECIPE_MAINTAINER:pn-core-image-rt = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 5 | RECIPE_MAINTAINER:pn-core-image-rt-sdk = "Anuj Mittal <anuj.mittal@intel.com>" | 5 | RECIPE_MAINTAINER:pn-core-image-rt-sdk = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 6 | RECIPE_MAINTAINER:pn-core-image-tiny = "Naveen Saini <naveen.kumar.saini@intel.com>" | 6 | RECIPE_MAINTAINER:pn-core-image-tiny = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 7 | RECIPE_MAINTAINER:pn-core-image-minimal-initramfs = "Anuj Mittal <anuj.mittal@intel.com>" | 7 | RECIPE_MAINTAINER:pn-core-image-minimal-initramfs = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 8 | RECIPE_MAINTAINER:pn-embree = "Naveen Saini <naveen.kumar.saini@intel.com>" | 8 | RECIPE_MAINTAINER:pn-embree = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 9 | RECIPE_MAINTAINER:pn-gmmlib = "Lim Siew Hoon <siew.hoon.lim@intel.com>" | 9 | RECIPE_MAINTAINER:pn-gmmlib = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 10 | RECIPE_MAINTAINER:pn-intel-cmt-cat = "Naveen Saini <naveen.kumar.saini@intel.com>" | 10 | RECIPE_MAINTAINER:pn-intel-cmt-cat = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 11 | RECIPE_MAINTAINER:pn-intel-compute-runtime = "Naveen Saini <naveen.kumar.saini@intel.com>" | 11 | RECIPE_MAINTAINER:pn-intel-compute-runtime = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 12 | RECIPE_MAINTAINER:pn-intel-crypto-mb = "Anuj Mittal <anuj.mittal@intel.com>" | 12 | RECIPE_MAINTAINER:pn-intel-crypto-mb = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 13 | RECIPE_MAINTAINER:pn-intel-graphics-compiler = "Naveen Saini <naveen.kumar.saini@intel.com>" | 13 | RECIPE_MAINTAINER:pn-intel-graphics-compiler = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 14 | RECIPE_MAINTAINER:pn-intel-media-driver = "Lim Siew Hoon <siew.hoon.lim@intel.com>" | 14 | RECIPE_MAINTAINER:pn-intel-media-driver = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 15 | RECIPE_MAINTAINER:pn-intel-microcode = "Anuj Mittal <anuj.mittal@intel.com>" | 15 | RECIPE_MAINTAINER:pn-intel-microcode = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 16 | RECIPE_MAINTAINER:pn-intel-vaapi-driver = "Lim Siew Hoon <siew.hoon.lim@intel.com>" | 16 | RECIPE_MAINTAINER:pn-intel-vaapi-driver = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 17 | RECIPE_MAINTAINER:pn-ipmctl = "Anuj Mittal <anuj.mittal@intel.com>" | 17 | RECIPE_MAINTAINER:pn-ipmctl = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 18 | RECIPE_MAINTAINER:pn-isa-l = "Naveen Saini <naveen.kumar.saini@intel.com>" | 18 | RECIPE_MAINTAINER:pn-isa-l = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 19 | RECIPE_MAINTAINER:pn-ispc = "Naveen Saini <naveen.kumar.saini@intel.com>" | 19 | RECIPE_MAINTAINER:pn-ispc = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 20 | RECIPE_MAINTAINER:pn-itt = "Naveen Saini <naveen.kumar.saini@intel.com>" | 20 | RECIPE_MAINTAINER:pn-itt = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 21 | RECIPE_MAINTAINER:pn-ixgbe = "Naveen Saini <naveen.kumar.saini@intel.com>" | 21 | RECIPE_MAINTAINER:pn-ixgbe = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 22 | RECIPE_MAINTAINER:pn-ixgbevf = "Naveen Saini <naveen.kumar.saini@intel.com>" | 22 | RECIPE_MAINTAINER:pn-ixgbevf = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 23 | RECIPE_MAINTAINER:pn-iucode-tool = "Anuj Mittal <anuj.mittal@intel.com>" | 23 | RECIPE_MAINTAINER:pn-iucode-tool = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 24 | RECIPE_MAINTAINER:pn-level-zero = "Naveen Saini <naveen.kumar.saini@intel.com>" | 24 | RECIPE_MAINTAINER:pn-level-zero = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 25 | RECIPE_MAINTAINER:pn-libipt = "Naveen Saini <naveen.kumar.saini@intel.com>" | 25 | RECIPE_MAINTAINER:pn-libipt = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 26 | RECIPE_MAINTAINER:pn-libva-intel = "Anuj Mittal <anuj.mittal@intel.com>" | 26 | RECIPE_MAINTAINER:pn-libva-intel = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 27 | RECIPE_MAINTAINER:pn-libva-intel-utils = "Anuj Mittal <anuj.mittal@intel.com>" | 27 | RECIPE_MAINTAINER:pn-libva-intel-utils = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 28 | RECIPE_MAINTAINER:pn-libxcam = "Naveen Saini <naveen.kumar.saini@intel.com>" | 28 | RECIPE_MAINTAINER:pn-libxcam = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 29 | RECIPE_MAINTAINER:pn-linux-intel = "Anuj Mittal <anuj.mittal@intel.com>" | 29 | RECIPE_MAINTAINER:pn-linux-intel = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 30 | RECIPE_MAINTAINER:pn-linux-intel-rt = "Anuj Mittal <anuj.mittal@intel.com>" | 30 | RECIPE_MAINTAINER:pn-linux-intel-rt = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 31 | RECIPE_MAINTAINER:pn-linux-intel-dev = "Naveen Saini <naveen.kumar.saini@intel.com>" | 31 | RECIPE_MAINTAINER:pn-linux-intel-dev = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 32 | RECIPE_MAINTAINER:pn-linux-npu-driver = "Naveen Saini <naveen.kumar.saini@intel.com>" | 32 | RECIPE_MAINTAINER:pn-linux-npu-driver = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 33 | RECIPE_MAINTAINER:pn-lms = "Anuj Mittal <anuj.mittal@intel.com>" | 33 | RECIPE_MAINTAINER:pn-lms = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 34 | RECIPE_MAINTAINER:pn-metee = "Naveen Saini <naveen.kumar.saini@intel.com>" | 34 | RECIPE_MAINTAINER:pn-metee = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 35 | RECIPE_MAINTAINER:pn-metrics-discovery = "Naveen Saini <naveen.kumar.saini@intel.com>" | 35 | RECIPE_MAINTAINER:pn-metrics-discovery = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 36 | RECIPE_MAINTAINER:pn-oidn = "Naveen Saini <naveen.kumar.saini@intel.com>" | 36 | RECIPE_MAINTAINER:pn-oidn = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 37 | RECIPE_MAINTAINER:pn-onednn = "Naveen Saini <naveen.kumar.saini@intel.com>" | 37 | RECIPE_MAINTAINER:pn-onednn = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 38 | RECIPE_MAINTAINER:pn-onedpl = "Naveen Saini <naveen.kumar.saini@intel.com>" | 38 | RECIPE_MAINTAINER:pn-onedpl = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 39 | RECIPE_MAINTAINER:pn-onevpl = "Naveen Saini <naveen.kumar.saini@intel.com>" | 39 | RECIPE_MAINTAINER:pn-onevpl = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 40 | RECIPE_MAINTAINER:pn-onevpl-intel-gpu = "Yew Chang Ching <chang.ching.yew@intel.com>" | 40 | RECIPE_MAINTAINER:pn-onevpl-intel-gpu = "Yew Chang Ching <chang.ching.yew@intel.com>" |
| 41 | RECIPE_MAINTAINER:pn-opencl-clang = "Naveen Saini <naveen.kumar.saini@intel.com>" | 41 | RECIPE_MAINTAINER:pn-opencl-clang = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 42 | RECIPE_MAINTAINER:pn-openvkl = "Naveen Saini <naveen.kumar.saini@intel.com>" | 42 | RECIPE_MAINTAINER:pn-openvkl = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 43 | RECIPE_MAINTAINER:pn-ospray = "Naveen Saini <naveen.kumar.saini@intel.com>" | 43 | RECIPE_MAINTAINER:pn-ospray = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 44 | RECIPE_MAINTAINER:pn-rkcommon = "Naveen Saini <naveen.kumar.saini@intel.com>" | 44 | RECIPE_MAINTAINER:pn-rkcommon = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 45 | RECIPE_MAINTAINER:pn-thermald = "Anuj Mittal <anuj.mittal@intel.com>" | 45 | RECIPE_MAINTAINER:pn-xf86-video-ast = "Yogesh Tyagi <yogesh.tyagi@intel.com>" |
| 46 | RECIPE_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 |
| 21 | LAYERVERSION_intel = "5" | 21 | LAYERVERSION_intel = "5" |
| 22 | LAYERSERIES_COMPAT_intel = "whinlatter" | 22 | LAYERSERIES_COMPAT_intel = "wrynose" |
| 23 | 23 | ||
| 24 | BBFILES_DYNAMIC += " \ | 24 | BBFILES_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 @@ | |||
| 7 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-intel" | 7 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-intel" |
| 8 | PREFERRED_PROVIDER_virtual/kernel:poky-tiny ?= "linux-intel" | 8 | PREFERRED_PROVIDER_virtual/kernel:poky-tiny ?= "linux-intel" |
| 9 | 9 | ||
| 10 | PREFERRED_VERSION_linux-intel ?= "6.12%" | 10 | PREFERRED_VERSION_linux-intel ?= "6.18%" |
| 11 | PREFERRED_VERSION_linux-intel-rt ?= "6.12%" | 11 | PREFERRED_VERSION_linux-intel-rt ?= "6.18%" |
| 12 | PREFERRED_VERSION_linux-intel:poky-altcfg ?= "6.12%" | 12 | PREFERRED_VERSION_linux-intel:poky-altcfg ?= "6.18%" |
| 13 | PREFERRED_VERSION_linux-intel-rt:poky-altcfg ?= "6.12%" | 13 | PREFERRED_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 |
| 16 | PREFERRED_PROVIDER_libva = "libva-intel" | 16 | PREFERRED_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" | |||
| 11 | MACHINE_FEATURES += "wifi 3g nfc" | 11 | MACHINE_FEATURES += "wifi 3g nfc" |
| 12 | MACHINE_FEATURES += "intel-ucode" | 12 | MACHINE_FEATURES += "intel-ucode" |
| 13 | 13 | ||
| 14 | MACHINE_HWCODECS ?= "intel-vaapi-driver gstreamer1.0-vaapi" | 14 | MACHINE_HWCODECS ?= "intel-vaapi-driver gstreamer1.0-plugins-bad" |
| 15 | 15 | ||
| 16 | XSERVER ?= "${XSERVER_X86_BASE} \ | 16 | XSERVER ?= "${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" | |||
| 11 | MACHINE_FEATURES += "wifi 3g nfc" | 11 | MACHINE_FEATURES += "wifi 3g nfc" |
| 12 | MACHINE_FEATURES += "intel-ucode" | 12 | MACHINE_FEATURES += "intel-ucode" |
| 13 | 13 | ||
| 14 | MACHINE_HWCODECS ?= "${@bb.utils.contains('TUNE_FEATURES', 'mx32', '', 'intel-media-driver vpl-gpu-rt', d)} gstreamer1.0-vaapi" | 14 | MACHINE_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: |
| 17 | COMPATIBLE_MACHINE:pn-dpdk = "intel-corei7-64" | 17 | COMPATIBLE_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" | |||
| 12 | MACHINE_FEATURES += "wifi 3g nfc" | 12 | MACHINE_FEATURES += "wifi 3g nfc" |
| 13 | MACHINE_FEATURES += "intel-ucode" | 13 | MACHINE_FEATURES += "intel-ucode" |
| 14 | 14 | ||
| 15 | MACHINE_HWCODECS ?= "intel-media-driver vpl-gpu-rt gstreamer1.0-vaapi" | 15 | MACHINE_HWCODECS ?= "intel-media-driver vpl-gpu-rt gstreamer1.0-plugins-bad" |
| 16 | 16 | ||
| 17 | COMPATIBLE_MACHINE:pn-dpdk = "intel-skylake-64" | 17 | COMPATIBLE_MACHINE:pn-dpdk = "intel-skylake-64" |
| 18 | COMPATIBLE_MACHINE:pn-dpdk-module = "intel-skylake-64" | 18 | COMPATIBLE_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 @@ | |||
| 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 3 | Date: Fri, 7 Feb 2026 00:00:00 +0000 | ||
| 4 | Subject: [PATCH] superbuild: forward build options to ispc-stage2 | ||
| 5 | |||
| 6 | Forward the ISPCRT_BUILD_TASK_MODEL, ISPC_PREPARE_PACKAGE, | ||
| 7 | ISPC_INCLUDE_EXAMPLES, and ISPC_INCLUDE_TESTS options to the | ||
| 8 | ispc-stage2 ExternalProject so that builds can control the | ||
| 9 | tasking model, packaging behavior, and disable examples/tests. | ||
| 10 | |||
| 11 | Upstream-Status: Pending | ||
| 12 | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 13 | --- | ||
| 14 | superbuild/CMakeLists.txt | 34 ++++++++++++++++++++++++++++------ | ||
| 15 | 1 file changed, 28 insertions(+), 6 deletions(-) | ||
| 16 | |||
| 17 | diff --git a/superbuild/CMakeLists.txt b/superbuild/CMakeLists.txt | ||
| 18 | index 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 | -- | ||
| 68 | 2.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 @@ | |||
| 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 3 | Date: Tue, 11 Feb 2026 22:00:00 +0000 | ||
| 4 | Subject: [PATCH] llvm: update CMake policy CMP0116 to NEW | ||
| 5 | |||
| 6 | Update CMake policy CMP0116 from OLD to NEW to avoid deprecation | ||
| 7 | warnings. CMP0116 controls how Ninja generators transform DEPFILE | ||
| 8 | from add_custom_command(). The NEW behavior is the standard behavior | ||
| 9 | and should be used going forward. | ||
| 10 | |||
| 11 | CMake 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 | |||
| 15 | Upstream-Status: Pending | ||
| 16 | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 17 | --- | ||
| 18 | cmake/Modules/CMakePolicy.cmake | 2 +- | ||
| 19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 20 | |||
| 21 | diff --git a/cmake/Modules/CMakePolicy.cmake b/cmake/Modules/CMakePolicy.cmake | ||
| 22 | index 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 | -- | ||
| 35 | 2.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 @@ | |||
| 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 3 | Date: Thu, 12 Feb 2026 10:30:00 +0800 | ||
| 4 | Subject: [PATCH] GenerateBuiltins: Fix header paths for builtin compilation | ||
| 5 | |||
| 6 | When using --target=x86_64-unknown-unknown, clang doesn't know where | ||
| 7 | to find system headers like bits/libc-header-start.h. Add explicit | ||
| 8 | -isystem paths to the builtin compilation commands to fix header | ||
| 9 | resolution. | ||
| 10 | |||
| 11 | For native builds, using the build host's sysroot is appropriate since | ||
| 12 | the builtins are compiled to LLVM IR during the build process. | ||
| 13 | |||
| 14 | Note: ispc 1.29.1 has restructured the build system and no longer uses | ||
| 15 | explicit 32/64-bit foreach loops, so the old 32-bit exclusion patch is | ||
| 16 | not needed. | ||
| 17 | |||
| 18 | Upstream-Status: Inappropriate [OE-specific] | ||
| 19 | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 20 | --- | ||
| 21 | cmake/GenerateBuiltins.cmake | 12 +++++++++++- | ||
| 22 | 1 file changed, 11 insertions(+), 1 deletion(-) | ||
| 23 | |||
| 24 | diff --git a/cmake/GenerateBuiltins.cmake b/cmake/GenerateBuiltins.cmake | ||
| 25 | index 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 | -- | ||
| 56 | 2.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 @@ | |||
| 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 3 | Date: Wed, 12 Feb 2026 23:00:00 +0800 | ||
| 4 | Subject: [PATCH] Fix QA Issues | ||
| 5 | |||
| 6 | Stop ispc from inserting host file path in generated headers | ||
| 7 | which leads to reproducibility problems. | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate [OE build specific] | ||
| 10 | |||
| 11 | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 12 | --- | ||
| 13 | src/header.cpp | 2 +- | ||
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/src/header.cpp b/src/header.cpp | ||
| 17 | index 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 | -- | ||
| 30 | 2.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 | ||
| 4 | cd /usr/lib/ispc/ptest | ||
| 5 | |||
| 6 | # Run the test suite with minimal and fast tests | ||
| 7 | python3 run_tests.py --target=sse2-i32x4 --verbose --compiler=g++ 2>&1 | \ | ||
| 8 | while 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 | ||
| 20 | done | ||
| 21 | |||
| 22 | # Check exit status | ||
| 23 | exit_code=${PIPESTATUS[0]} | ||
| 24 | if [ $exit_code -eq 0 ]; then | ||
| 25 | echo "PASS: ispc test suite completed" | ||
| 26 | else | ||
| 27 | echo "FAIL: ispc test suite failed with exit code $exit_code" | ||
| 28 | fi | ||
| 29 | |||
| 30 | exit $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 @@ | |||
| 1 | From deccc0c69c2c8759c52885be8bdda54d3cee481c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 3 | Date: Sun, 11 Dec 2022 22:34:15 +0800 | ||
| 4 | Subject: [PATCH] Add print function to print test run status in ptest format | ||
| 5 | |||
| 6 | Upstream-Status: Inappropriate [OE ptest specific] | ||
| 7 | |||
| 8 | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 9 | --- | ||
| 10 | run_tests.py | 16 ++++++++++++++++ | ||
| 11 | 1 file changed, 16 insertions(+) | ||
| 12 | |||
| 13 | diff --git a/run_tests.py b/run_tests.py | ||
| 14 | index 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 @@ | |||
| 1 | From 7beff95c11071170eb27b6fa7d0cc77588caee8e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 3 | Date: Tue, 26 Jul 2022 15:25:10 +0800 | ||
| 4 | Subject: [PATCH] Fix QA Issues | ||
| 5 | |||
| 6 | Stop ispc from inserting host file path in generated headers which leads to reproducibility problems. | ||
| 7 | |||
| 8 | Upstream-Status: Inappropriate [OE build specific] | ||
| 9 | |||
| 10 | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 11 | --- | ||
| 12 | src/module.cpp | 4 ++-- | ||
| 13 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 14 | |||
| 15 | diff --git a/src/module.cpp b/src/module.cpp | ||
| 16 | index 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 @@ | |||
| 1 | From 16a2c22339287122d2c25d8bb33a5a51b4e6ee51 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Naveen Saini <naveen.kumar.saini@intel.com> | ||
| 3 | Date: Thu, 24 Feb 2022 20:01:11 +0530 | ||
| 4 | Subject: [PATCH] cmake: don't build for 32-bit targets | ||
| 5 | |||
| 6 | Error 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 | |||
| 12 | Remove SYSTEM include search path and set -isysroot dir path | ||
| 13 | for root dir for cross compilation. | ||
| 14 | |||
| 15 | Upstream-Status: Inappropriate | ||
| 16 | |||
| 17 | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> | ||
| 18 | --- | ||
| 19 | cmake/GenerateBuiltins.cmake | 6 +++--- | ||
| 20 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
| 21 | |||
| 22 | diff --git a/cmake/GenerateBuiltins.cmake b/cmake/GenerateBuiltins.cmake | ||
| 23 | index 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 | ||
| 2 | python3 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 @@ | |||
| 1 | SUMMARY = "Intel(R) Implicit SPMD Program Compiler" | ||
| 2 | DESCRIPTION = "ispc is a compiler for a variant of the C programming language, \ | ||
| 3 | with extensions for single program, multiple data programming." | ||
| 4 | HOMEPAGE = "https://github.com/ispc/ispc" | ||
| 5 | |||
| 6 | LICENSE = "BSD-3-Clause & Apache-2.0-with-LLVM-exception" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=da5ecffdd210b3cf776b32b41c182e87 \ | ||
| 8 | file://third-party-programs.txt;md5=2061218c7be521556719c8b504bf9ddd" | ||
| 9 | |||
| 10 | inherit cmake python3native ptest | ||
| 11 | |||
| 12 | SRC_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 | |||
| 19 | SRCREV = "d394222aef59e4759b06e39ec160e4aba6ee5f40" | ||
| 20 | |||
| 21 | COMPATIBLE_HOST = '(x86_64).*-linux' | ||
| 22 | |||
| 23 | DEPENDS += " clang-native bison-native flex-native" | ||
| 24 | DEPENDS:append:class-target = " clang" | ||
| 25 | RDEPENDS:${PN}-ptest += " python3-multiprocessing" | ||
| 26 | |||
| 27 | PACKAGECONFIG ??= "tbb" | ||
| 28 | PACKAGECONFIG[tbb] = "-DISPCRT_BUILD_TASK_MODEL=TBB, -DISPCRT_BUILD_TASK_MODEL=OpenMP, tbb" | ||
| 29 | |||
| 30 | YFLAGS = '-d -t -v -y --file-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}' | ||
| 31 | |||
| 32 | do_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 | |||
| 37 | do_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 | |||
| 46 | EXTRA_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 | |||
| 62 | BBCLASSEXTEND = "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 @@ | |||
| 1 | SUMMARY = "Intel(R) Implicit SPMD Program Compiler" | ||
| 2 | DESCRIPTION = "ispc is a compiler for a variant of the C programming language, \ | ||
| 3 | with extensions for single program, multiple data programming." | ||
| 4 | HOMEPAGE = "https://github.com/ispc/ispc" | ||
| 5 | |||
| 6 | LICENSE = "BSD-3-Clause & Apache-2.0-with-LLVM-exception" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=da5ecffdd210b3cf776b32b41c182e87 \ | ||
| 8 | file://third-party-programs.txt;md5=853c6beec84e8f9b2b56d7ad9ad7a424" | ||
| 9 | |||
| 10 | inherit cmake python3native ptest | ||
| 11 | |||
| 12 | # Main ispc source | ||
| 13 | SRC_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 | ||
| 21 | SRC_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 | |||
| 27 | SRCREV_ispc = "dba3a5196219f2419da2dabbd863870c46cddd80" | ||
| 28 | SRCREV_llvm = "87f0227cb60147a26a1eeb4fb06e3b505e9c7261" | ||
| 29 | SRCREV_vc = "b16218b8a00c5c1d4db32085dfab4d5eb9a03ad7" | ||
| 30 | SRCREV_spirv = "d1c69c3365dffed67124eb1692cb941cbae5bb2e" | ||
| 31 | |||
| 32 | SRCREV_FORMAT = "ispc_llvm_vc_spirv" | ||
| 33 | |||
| 34 | S = "${UNPACKDIR}/git/ispc" | ||
| 35 | |||
| 36 | COMPATIBLE_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 | ||
| 41 | INSANE_SKIP:${PN} += "file-rdeps buildpaths" | ||
| 42 | INSANE_SKIP:${PN}-dbg += "buildpaths" | ||
| 43 | |||
| 44 | # Only need native tools for building, LLVM 20.1 is bundled | ||
| 45 | # ncurses needed for libedit (LLVM dependency) | ||
| 46 | DEPENDS = "bison-native flex-native ninja-native ncurses" | ||
| 47 | RDEPENDS:${PN}-ptest += "bash python3-multiprocessing" | ||
| 48 | |||
| 49 | PACKAGECONFIG ??= "" | ||
| 50 | # Default to Threads tasking model; override with TBB if enabled | ||
| 51 | PACKAGECONFIG[tbb] = "-DISPCRT_BUILD_TASK_MODEL=TBB, , tbb" | ||
| 52 | |||
| 53 | do_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 | ||
| 73 | OECMAKE_SOURCEPATH = "${S}/superbuild" | ||
| 74 | |||
| 75 | EXTRA_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 | |||
| 103 | do_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} | ||
| 114 | do_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 | |||
| 120 | do_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 | |||
| 131 | do_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 | |||
| 141 | PACKAGES:prepend:class-target = "${PN}-test " | ||
| 142 | FILES:${PN}-test:class-target = "${libdir}/ispc/gio/*" | ||
| 143 | RDEPENDS:${PN}-test:class-target += "bash python3-multiprocessing ${PN}" | ||
| 144 | |||
| 145 | pkg_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 | ||
| 164 | BBCLASSEXTEND = "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 | ||
| 12 | inherit pkgconfig cmake | 12 | inherit pkgconfig cmake |
| 13 | 13 | ||
| 14 | # ISPC generates binaries with embedded build paths | ||
| 15 | INSANE_SKIP:${PN}-dbg += "buildpaths" | ||
| 16 | |||
| 14 | SRC_URI = "git://github.com/embree/embree.git;protocol=https;branch=master" | 17 | SRC_URI = "git://github.com/embree/embree.git;protocol=https;branch=master" |
| 15 | SRCREV = "ff9381774dc99fea81a932ad276677aad6a3d4dd" | 18 | SRCREV = "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 | ||
| 8 | LICENSE = "Apache-2.0 & BSD-3-Clause" | 8 | LICENSE = "Apache-2.0 & BSD-3-Clause" |
| 9 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \ | 9 | LIC_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 | ||
| 15 | SRC_URI = "https://github.com/OpenImageDenoise/${BPN}/releases/download/v${PV}/${BP}.src.tar.gz\ | 14 | SRC_URI = "https://github.com/RenderKit/${BPN}/releases/download/v${PV}/${BPN}-${PV}.src.tar.gz\ |
| 16 | " | 15 | " |
| 17 | SRC_URI[sha256sum] = "ce144ba582ff36563d9442ee07fa2a4d249bc85aa93e5b25fc527ff4ee755ed6" | 16 | SRC_URI[sha256sum] = "9c7c77ae0d57e004479cddb7aaafd405c2cc745153bed4805413c21be610e17b" |
| 17 | |||
| 18 | S = "${UNPACKDIR}/${BPN}-${PV}" | ||
| 18 | 19 | ||
| 19 | inherit cmake | 20 | inherit cmake |
| 20 | 21 | ||
| 22 | # ISPC generates headers with embedded build paths | ||
| 23 | INSANE_SKIP:${PN}-src += "buildpaths" | ||
| 24 | INSANE_SKIP:${PN}-dbg += "buildpaths" | ||
| 25 | |||
| 21 | DEPENDS += "tbb ispc-native" | 26 | DEPENDS += "tbb ispc-native" |
| 22 | 27 | ||
| 23 | do_install:append() { | 28 | do_install:append() { |
| 24 | chrpath -d ${D}${bindir}/* ${D}${libdir}/*${SOLIBS} | 29 | chrpath -d ${D}${bindir}/* ${D}${libdir}/*${SOLIBS} |
| 25 | } | 30 | } |
| 26 | 31 | ||
| 27 | UPSTREAM_CHECK_URI = "https://github.com/OpenImageDenoise/oidn/releases" | 32 | UPSTREAM_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" | |||
| 40 | FILES:${PN}-examples = "\ | 40 | FILES:${PN}-examples = "\ |
| 41 | ${bindir} \ | 41 | ${bindir} \ |
| 42 | " | 42 | " |
| 43 | |||
| 44 | INSANE_SKIP:${PN}-src += "buildpaths" | ||
| 45 | INSANE_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 | ||
| 39 | INSANE_SKIP:${PN}-src += "buildpaths" | ||
| 40 | INSANE_SKIP:${PN}-dbg += "buildpaths" | ||
| 39 | UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>(\d+(\.\d+)+))$" | 41 | UPSTREAM_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 | ||
| 11 | COMPATIBLE_HOST:libc-musl = "null" | 11 | COMPATIBLE_HOST:libc-musl = "null" |
| 12 | 12 | ||
| 13 | inherit cmake systemd features_check python3native | 13 | inherit cmake systemd features_check python3native pkgconfig |
| 14 | 14 | ||
| 15 | DEPENDS = "metee ace xerces-c libnl libxml2 glib-2.0 glib-2.0-native pkgconfig-native python3-packaging-native" | 15 | DEPENDS = "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. |
| 18 | PACKAGECONFIG ??= "connman" | 18 | PACKAGECONFIG ??= "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" | |||
| 21 | SRCREV_googletest = "b514bdc898e2951020cbdca1304b75f5950d1f59" | 21 | SRCREV_googletest = "b514bdc898e2951020cbdca1304b75f5950d1f59" |
| 22 | SRCREV_FORMAT = "linux-npu-driver_npu-compiler-elf_yaml-cpp_lzvext_googletest" | 22 | SRCREV_FORMAT = "linux-npu-driver_npu-compiler-elf_yaml-cpp_lzvext_googletest" |
| 23 | 23 | ||
| 24 | inherit cmake | 24 | inherit cmake pkgconfig |
| 25 | 25 | ||
| 26 | COMPATIBLE_HOST = '(x86_64).*-linux' | ||
| 27 | COMPATIBLE_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) |
| 28 | EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release " | 30 | EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release " |
| @@ -32,7 +34,7 @@ EXTRA_OECMAKE += " -DCMAKE_INSTALL_FIRMWARE_DIR=${nonarch_base_libdir}" | |||
| 32 | EXTRA_OECMAKE += " -DCMAKE_POLICY_VERSION_MINIMUM=3.5" | 34 | EXTRA_OECMAKE += " -DCMAKE_POLICY_VERSION_MINIMUM=3.5" |
| 33 | EXTRA_OECMAKE += " -DCMAKE_CXX_FLAGS='-I${STAGING_INCDIR}/level_zero'" | 35 | EXTRA_OECMAKE += " -DCMAKE_CXX_FLAGS='-I${STAGING_INCDIR}/level_zero'" |
| 34 | 36 | ||
| 35 | DEPENDS = "level-zero dpkg-native pkgconfig-native level-zero-native" | 37 | DEPENDS = "level-zero dpkg-native level-zero-native" |
| 36 | 38 | ||
| 37 | PACKAGES =+ "${PN}-firmware ${PN}-tests" | 39 | PACKAGES =+ "${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 @@ | |||
| 1 | SUMMARY = "Linux thermal daemon" | ||
| 2 | |||
| 3 | DESCRIPTION = "Thermal Daemon is a Linux daemon used to prevent the \ | ||
| 4 | overheating of platforms. This daemon monitors temperature and applies \ | ||
| 5 | compensation using available cooling methods." | ||
| 6 | |||
| 7 | HOMEPAGE = "https://github.com/01org/thermal_daemon" | ||
| 8 | |||
| 9 | DEPENDS = "dbus dbus-glib dbus-glib-native libxml2 glib-2.0 glib-2.0-native upower libevdev" | ||
| 10 | DEPENDS += "autoconf-archive-native" | ||
| 11 | |||
| 12 | LICENSE = "GPL-2.0-only" | ||
| 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea8831610e926e2e469075b52bf08848" | ||
| 14 | |||
| 15 | SRC_URI = "git://github.com/intel/thermal_daemon/;branch=master;protocol=https \ | ||
| 16 | " | ||
| 17 | |||
| 18 | SRCREV = "88369b42ec523787081b9bf8811b364e2a3d5f2d" | ||
| 19 | |||
| 20 | inherit 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. | ||
| 24 | do_configure:prepend () { | ||
| 25 | mkdir -p ${S}/m4 | ||
| 26 | } | ||
| 27 | |||
| 28 | EXTRA_OECONF = " \ | ||
| 29 | --with-systemdsystemunitdir=${systemd_system_unitdir} \ | ||
| 30 | " | ||
| 31 | |||
| 32 | FILES:${PN} += "${datadir}/dbus-1" | ||
| 33 | |||
| 34 | SYSTEMD_SERVICE:${PN} = "thermald.service" | ||
| 35 | |||
| 36 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' | ||
| 37 | |||
| 38 | CONFFILES:${PN} = " \ | ||
| 39 | ${sysconfdir}/thermald/thermal-conf.xml \ | ||
| 40 | ${sysconfdir}/thermald/thermal-cpu-cdev-order.xml \ | ||
| 41 | " | ||
| 42 | |||
| 43 | UPSTREAM_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" | |||
| 27 | SRCREV_edk2 = "46548b1adac82211d8d11da12dd914f41e7aa775" | 27 | SRCREV_edk2 = "46548b1adac82211d8d11da12dd914f41e7aa775" |
| 28 | SRCREV_FORMAT = "ipmctl_edk2" | 28 | SRCREV_FORMAT = "ipmctl_edk2" |
| 29 | 29 | ||
| 30 | inherit cmake dos2unix | 30 | inherit cmake dos2unix pkgconfig |
| 31 | 31 | ||
| 32 | DEPENDS = "ndctl pkgconfig-native" | 32 | DEPENDS = "ndctl" |
| 33 | 33 | ||
| 34 | EXTRA_OECMAKE = "-DRELEASE=ON \ | 34 | EXTRA_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 @@ | |||
| 1 | from oeqa.runtime.case import OERuntimeTestCase | ||
| 2 | from oeqa.runtime.decorator.package import OEHasPackage | ||
| 3 | from oeqa.core.decorator.depends import OETestDepends | ||
| 4 | |||
| 5 | class 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" | |||
| 16 | SRC_URI = "git://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files.git;protocol=https;branch=main \ | 16 | SRC_URI = "git://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files.git;protocol=https;branch=main \ |
| 17 | " | 17 | " |
| 18 | 18 | ||
| 19 | SRCREV = "f910b0a225d66a23a407710c61b0b63ee612b50f" | 19 | SRCREV = "439ddde999b07b28877a60e874f753e72ec2cd59" |
| 20 | 20 | ||
| 21 | DEPENDS = "iucode-tool-native" | 21 | DEPENDS = "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" | |||
| 2 | DESCRIPTION = "The ixgbe driver supports 82598- and 82599-based \ | 2 | DESCRIPTION = "The ixgbe driver supports 82598- and 82599-based \ |
| 3 | PCI Express* 10 Gigabit Network Connections." | 3 | PCI Express* 10 Gigabit Network Connections." |
| 4 | 4 | ||
| 5 | HOMEPAGE = "https://sourceforge.net/projects/e1000/" | 5 | HOMEPAGE = "https://github.com/intel/ethernet-linux-ixgbe" |
| 6 | SECTION = "kernel/network" | 6 | SECTION = "kernel/network" |
| 7 | LICENSE = "GPL-2.0-only" | 7 | LICENSE = "GPL-2.0-only" |
| 8 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417" | 8 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417" |
| 9 | 9 | ||
| 10 | SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbe%20stable/${PV}/${BP}.tar.gz \ | 10 | SRC_URI = "https://github.com/intel/ethernet-linux-ixgbe/releases/download/v${PV}/${BP}.tar.gz \ |
| 11 | " | 11 | " |
| 12 | 12 | ||
| 13 | SRC_URI[sha256sum] = "da7e7b62ffb85a820d7541623fbef5c4abef8d1df7ac0af3f1acc3b3d76c9822" | 13 | SRC_URI[sha256sum] = "1bb6a63bf2502bfd205ba55e48ef6486754b1823ed330cb103ac1a590544abe6" |
| 14 | 14 | ||
| 15 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/e1000/files/ixgbe%20stable/" | 15 | UPSTREAM_CHECK_URI = "https://github.com/intel/ethernet-linux-ixgbe/releases" |
| 16 | UPSTREAM_CHECK_REGEX = "ixgbe%20stable/(?P<pver>\d+(\.\d+)+)/" | 16 | UPSTREAM_CHECK_REGEX = "ixgbe-(?P<pver>\d+(\.\d+)+)\.tar\.gz" |
| 17 | 17 | ||
| 18 | CVE_PRODUCT = "linux:linux_kernel_ixgbe" | 18 | CVE_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. \ | |||
| 5 | SR-IOV requires the correct platform and OS support. \ | 5 | SR-IOV requires the correct platform and OS support. \ |
| 6 | The guest OS loading this driver must support MSI-X interrupts." | 6 | The guest OS loading this driver must support MSI-X interrupts." |
| 7 | 7 | ||
| 8 | HOMEPAGE = "https://sourceforge.net/projects/e1000/" | 8 | HOMEPAGE = "https://github.com/intel/ethernet-linux-ixgbevf" |
| 9 | SECTION = "kernel/network" | 9 | SECTION = "kernel/network" |
| 10 | LICENSE = "GPL-2.0-only" | 10 | LICENSE = "GPL-2.0-only" |
| 11 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417" | 11 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417" |
| 12 | 12 | ||
| 13 | SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/${PV}/${BP}.tar.gz \ | 13 | SRC_URI = "https://github.com/intel/ethernet-linux-ixgbevf/releases/download/v${PV}/${BP}.tar.gz \ |
| 14 | " | 14 | " |
| 15 | 15 | ||
| 16 | SRC_URI[sha256sum] = "73c6a27be324a48b069dbda0d1d07212a2214c71f54df57bca7177fc92b04881" | 16 | SRC_URI[sha256sum] = "8e0950ccfc19515f4fcb0dd347f776ed49aa6781ee3a177511d0fb7ac4d25e9a" |
| 17 | 17 | ||
| 18 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/e1000/files/ixgbevf%20stable/" | 18 | UPSTREAM_CHECK_URI = "https://github.com/intel/ethernet-linux-ixgbevf/releases" |
| 19 | UPSTREAM_CHECK_REGEX = "ixgbevf%20stable/(?P<pver>\d+(\.\d+)+)/" | 19 | UPSTREAM_CHECK_REGEX = "ixgbevf-(?P<pver>\d+(\.\d+)+)\.tar\.gz" |
| 20 | 20 | ||
| 21 | CVE_PRODUCT = "linux:linux_kernel_ixgbe" | 21 | CVE_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 | ||
| 15 | KBRANCH = "6.12/linux" | 15 | KBRANCH = "6.18/linux" |
| 16 | KMETA_BRANCH = "yocto-6.12" | 16 | KMETA_BRANCH = "yocto-6.18" |
| 17 | 17 | ||
| 18 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | 18 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
| 19 | 19 | ||
| @@ -21,13 +21,13 @@ DEPENDS += "elfutils-native openssl-native util-linux-native" | |||
| 21 | 21 | ||
| 22 | LINUX_VERSION_EXTENSION ??= "-intel-pk-${LINUX_KERNEL_TYPE}" | 22 | LINUX_VERSION_EXTENSION ??= "-intel-pk-${LINUX_KERNEL_TYPE}" |
| 23 | 23 | ||
| 24 | LINUX_VERSION ?= "6.12.61" | 24 | LINUX_VERSION ?= "6.18.15" |
| 25 | SRCREV_machine ?= "7190df9cb5fc10c673e960b7144d470fcd373627" | 25 | SRCREV_machine ?= "16b46595039e12fe48cef4b96a78e3e8061508e5" |
| 26 | SRCREV_meta ?= "46ae7e7d4ce1ee55091957bff63e0f54a761a93d" | 26 | SRCREV_meta ?= "bc293057a14f94dd50838a399bd8758a6766b877" |
| 27 | 27 | ||
| 28 | LINUX_KERNEL_TYPE = "preempt-rt" | 28 | LINUX_KERNEL_TYPE = "preempt-rt" |
| 29 | 29 | ||
| 30 | # Functionality flags | 30 | # Functionality flags |
| 31 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/security/security.scc" | 31 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/security/security.scc" |
| 32 | 32 | ||
| 33 | UPSTREAM_CHECK_GITTAGREGEX = "^lts-(?P<pver>v6.12.(\d+)-linux-(\d+)T(\d+)Z)$" | 33 | UPSTREAM_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 | ||
| 3 | SRC_URI:prepend = "git://github.com/intel/linux-intel-lts.git;protocol=https;name=machine;branch=${KBRANCH}; \ | 3 | SRC_URI:prepend = "git://github.com/intel/linux-intel-lts.git;protocol=https;name=machine;branch=${KBRANCH}; \ |
| 4 | " | 4 | " |
| 5 | KBRANCH = "6.12/linux" | 5 | KBRANCH = "6.18/linux" |
| 6 | KMETA_BRANCH = "yocto-6.12" | 6 | KMETA_BRANCH = "yocto-6.18" |
| 7 | 7 | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" |
| 9 | 9 | ||
| @@ -11,13 +11,13 @@ DEPENDS += "elfutils-native openssl-native util-linux-native" | |||
| 11 | 11 | ||
| 12 | LINUX_VERSION_EXTENSION ??= "-intel-pk-${LINUX_KERNEL_TYPE}" | 12 | LINUX_VERSION_EXTENSION ??= "-intel-pk-${LINUX_KERNEL_TYPE}" |
| 13 | 13 | ||
| 14 | LINUX_VERSION ?= "6.12.61" | 14 | LINUX_VERSION ?= "6.18.15" |
| 15 | SRCREV_machine ?= "7190df9cb5fc10c673e960b7144d470fcd373627" | 15 | SRCREV_machine ?= "16b46595039e12fe48cef4b96a78e3e8061508e5" |
| 16 | SRCREV_meta ?= "46ae7e7d4ce1ee55091957bff63e0f54a761a93d" | 16 | SRCREV_meta ?= "bc293057a14f94dd50838a399bd8758a6766b877" |
| 17 | 17 | ||
| 18 | # Functionality flags | 18 | # Functionality flags |
| 19 | KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc \ | 19 | KERNEL_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 | ||
| 23 | UPSTREAM_CHECK_GITTAGREGEX = "^lts-(?P<pver>v6.12.(\d+)-linux-(\d+)T(\d+)Z)$" | 23 | UPSTREAM_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 | ||
| 6 | PR = "r3" | ||
| 7 | HASHEQUIV_HASH_VERSION .= ".3" | ||
| 8 | |||
| 9 | do_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 | ||
| 26 | SRCREV = "9e4d199d44a86d409e9922fc37c48ceb88252d35" | 26 | SRCREV = "14e2e7bcf1014186dbf1c099089c7c05cd880ae8" |
| 27 | 27 | ||
| 28 | COMPATIBLE_HOST:x86-x32 = "null" | 28 | COMPATIBLE_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 | ||
| 14 | SRCREV = "ad9deecaf0ee76f689373b55fe620c843e3c8a4d" | 14 | SRCREV = "ad9deecaf0ee76f689373b55fe620c843e3c8a4d" |
| 15 | 15 | ||
| 16 | inherit cmake | 16 | inherit cmake pkgconfig |
| 17 | DEPENDS += "libva libvpl pkgconfig-native" | 17 | |
| 18 | DEPENDS += "libva libvpl" | ||
| 18 | 19 | ||
| 19 | PACKAGECONFIG ??= "tools" | 20 | PACKAGECONFIG ??= "tools" |
| 20 | PACKAGECONFIG[tools] = "-DENABLE_WAYLAND=ON, -DENABLE_WAYLAND=OFF, wayland wayland-native wayland-protocols" | 21 | PACKAGECONFIG[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 | " |
| 14 | SRCREV = "778a66d6c6537f08eabb91955dbbf1bce3812894" | 14 | SRCREV = "778a66d6c6537f08eabb91955dbbf1bce3812894" |
| 15 | 15 | ||
| 16 | inherit cmake | 16 | inherit cmake pkgconfig |
| 17 | DEPENDS += "libva pkgconfig-native" | 17 | |
| 18 | DEPENDS += "libva" | ||
| 18 | 19 | ||
| 19 | PACKAGECONFIG ??= "tools" | 20 | PACKAGECONFIG ??= "tools" |
| 20 | PACKAGECONFIG[tools] = "-DBUILD_TOOLS=ON, -DBUILD_TOOLS=OFF, wayland wayland-native wayland-protocols" | 21 | PACKAGECONFIG[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" | |||
| 14 | COMPATIBLE_HOST = '(x86_64).*-linux' | 14 | COMPATIBLE_HOST = '(x86_64).*-linux' |
| 15 | COMPATIBLE_HOST:x86-x32 = "null" | 15 | COMPATIBLE_HOST:x86-x32 = "null" |
| 16 | 16 | ||
| 17 | DEPENDS += "libdrm libva intel-media-driver libvpl pkgconfig-native" | 17 | DEPENDS += "libdrm libva intel-media-driver libvpl" |
| 18 | RDEPENDS:${PN} += "intel-media-driver" | 18 | RDEPENDS:${PN} += "intel-media-driver" |
| 19 | 19 | ||
| 20 | SRC_URI = "git://github.com/intel/vpl-gpu-rt.git;protocol=https;nobranch=1;lfs=0 \ | 20 | SRC_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 | ||
| 29 | inherit cmake features_check | 29 | inherit cmake features_check pkgconfig |
| 30 | 30 | ||
| 31 | REQUIRED_DISTRO_FEATURES = "opengl" | 31 | REQUIRED_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 @@ | |||
| 1 | From 2a62be5f20707d350e9be6406a853ecdf4be4051 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 3 | Date: Sun, 1 Feb 2026 22:54:34 +0800 | ||
| 4 | Subject: [PATCH] pttc: Add support for nasm assembler | ||
| 5 | |||
| 6 | Replace yasm with nasm as the default assembler for pttc. Yasm is no | ||
| 7 | longer actively maintained and has known security vulnerabilities, while | ||
| 8 | nasm is actively developed and provides equivalent functionality. | ||
| 9 | |||
| 10 | Key changes: | ||
| 11 | 1. Update assembler invocation from 'yasm' to 'nasm' | ||
| 12 | 2. Remove '-L nasm' option (nasm doesn't need this flag) | ||
| 13 | 3. Adjust argv array indices after removing the flag | ||
| 14 | 4. Support both yasm and nasm org directive formats: | ||
| 15 | - yasm: [org 0x100000] | ||
| 16 | - nasm: org 0x100000 | ||
| 17 | 5. Handle nasm's listing format which lacks %line directives by | ||
| 18 | implementing 1:1 line mapping fallback for source correlation | ||
| 19 | |||
| 20 | The changes maintain backward compatibility with existing .ptt test files | ||
| 21 | while enabling nasm as the preferred assembler. | ||
| 22 | |||
| 23 | Tested with: | ||
| 24 | - test/src/loop-tnt.ptt | ||
| 25 | - test/src/dump-all-packets.ptt | ||
| 26 | |||
| 27 | Both tests generate valid PT traces that can be decoded with ptdump. | ||
| 28 | |||
| 29 | Upstream-Status: Submitted [https://github.com/intel/libipt/pull/120] | ||
| 30 | |||
| 31 | Signed-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 | |||
| 37 | diff --git a/doc/howto_pttc.md b/doc/howto_pttc.md | ||
| 38 | index 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 (`:`). | ||
| 68 | diff --git a/pttc/src/yasm.c b/pttc/src/yasm.c | ||
| 69 | index 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 | -- | ||
| 176 | 2.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 | ||
| 10 | inherit pkgconfig cmake | 10 | inherit pkgconfig cmake |
| 11 | 11 | ||
| 12 | SRC_URI = "git://github.com/intel/libipt.git;protocol=https;branch=stable/v2.2" | 12 | SRC_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 | ||
| 14 | SRCREV = "eecdf779a35384235d3c32a6213024f53368cb60" | 16 | SRCREV = "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 @@ | |||
| 1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 3 | Date: Thu, 6 Feb 2026 00:05:37 +0800 | ||
| 4 | Subject: [PATCH] Fix sign-conversion warnings with musl ioctl | ||
| 5 | |||
| 6 | musl's ioctl request macros expand to unsigned long values, causing | ||
| 7 | sign-conversion warnings when passed to ioctl() which expects an int. | ||
| 8 | Cast the macros explicitly to int to resolve this. | ||
| 9 | |||
| 10 | Upstream-Status: Submitted [https://github.com/intel/metee/pull/22] | ||
| 11 | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 12 | --- | ||
| 13 | src/linux/mei.c | 6 +++--- | ||
| 14 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
| 15 | |||
| 16 | diff --git a/src/linux/mei.c b/src/linux/mei.c | ||
| 17 | index 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, ¬ification); | ||
| 43 | + rc = ioctl(me->fd, (int)IOCTL_MEI_NOTIFY_GET, ¬ification); | ||
| 44 | me->last_err = errno; | ||
| 45 | return rc == -1 ? -me->last_err : 0; | ||
| 46 | } | ||
| 47 | -- | ||
| 48 | 2.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 @@ | |||
| 1 | From d59b95a4cc0fdfd67745f7c6e5c098e95c3bd70a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 3 | Date: Wed, 11 Feb 2026 21:40:28 +0800 | ||
| 4 | Subject: [PATCH] Suppress sign-conversion warning only for ioctl calls | ||
| 5 | |||
| 6 | Add targeted #pragma directives to suppress -Wsign-conversion warnings | ||
| 7 | only around specific ioctl() calls where musl's unsigned long macros | ||
| 8 | are converted to int. This preserves the warning for the rest of the | ||
| 9 | codebase where it can catch real bugs. | ||
| 10 | |||
| 11 | The ioctl macro/function signature mismatch is a known harmless | ||
| 12 | difference between glibc and musl - the bit pattern is preserved. | ||
| 13 | |||
| 14 | Upstream-Status: Pending | ||
| 15 | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 16 | --- | ||
| 17 | src/linux/mei.c | 9 +++++++++ | ||
| 18 | 1 file changed, 9 insertions(+) | ||
| 19 | |||
| 20 | diff --git a/src/linux/mei.c b/src/linux/mei.c | ||
| 21 | index 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, ¬ification); | ||
| 55 | me->last_err = errno; | ||
| 56 | + #pragma GCC diagnostic pop | ||
| 57 | return rc == -1 ? -me->last_err : 0; | ||
| 58 | } | ||
| 59 | |||
| 60 | -- | ||
| 61 | 2.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' | |||
| 11 | inherit cmake | 11 | inherit cmake |
| 12 | 12 | ||
| 13 | SRC_URI = "git://github.com/intel/metee.git;branch=master;protocol=https \ | 13 | SRC_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 | " |
| 15 | SRCREV = "93784f62070b2bc4e84b51e23c9add61f7600444" | 16 | SRCREV = "93784f62070b2bc4e84b51e23c9add61f7600444" |
| 16 | 17 | ||
