From: Yogesh Tyagi <[email protected]> Add patch to update ospray's dependency version requirements: - rkcommon: 1.14.0 -> 1.15.2 (remove EXACT matching) - embree: 4.3.3 -> 4.4.0
Removing EXACT version matching for rkcommon is safe because: 1. rkcommon declares COMPATIBILITY SameMajorVersion in CMake 2. Changes from 1.14.0 to 1.15.2 are backward compatible: - Added shutdownTaskingSystem() function (new, non-breaking) - Optimized frame() math algorithm (same result, better performance) - Bug fixes in tasking system (improved reliability) - Compiler compatibility improvements (icx, ARM) 3. No API breakage: zero functions removed or signatures changed The 1.15.2 version provides performance improvements and bug fixes while maintaining full API compatibility with 1.14.0. Signed-off-by: Yogesh Tyagi <[email protected]> --- ...common-version-requirement-to-1.15.2.patch | 43 +++++++++++++++++++ .../recipes-oneapi/ospray/ospray_3.2.0.bb | 1 + 2 files changed, 44 insertions(+) create mode 100644 dynamic-layers/clang-layer/recipes-oneapi/ospray/ospray/0001-cmake-update-rkcommon-version-requirement-to-1.15.2.patch diff --git a/dynamic-layers/clang-layer/recipes-oneapi/ospray/ospray/0001-cmake-update-rkcommon-version-requirement-to-1.15.2.patch b/dynamic-layers/clang-layer/recipes-oneapi/ospray/ospray/0001-cmake-update-rkcommon-version-requirement-to-1.15.2.patch new file mode 100644 index 00000000..b2d030de --- /dev/null +++ b/dynamic-layers/clang-layer/recipes-oneapi/ospray/ospray/0001-cmake-update-rkcommon-version-requirement-to-1.15.2.patch @@ -0,0 +1,43 @@ +From 65e5237365fc982eef2f9830fa87feafcea4044e Mon Sep 17 00:00:00 2001 +From: Yogesh Tyagi <[email protected]> +Date: Mon, 27 Jan 2026 21:30:00 +0000 +Subject: [PATCH] cmake: update dependency versions for upgraded components + +Update rkcommon from 1.14.0 to 1.15.2 and embree from 4.3.3 to +4.4.0. Remove EXACT version matching for rkcommon to allow +compatible newer versions. + +Upstream-Status: Inappropriate [OE-specific configuration] +Signed-off-by: Yogesh Tyagi <[email protected]> + +--- + cmake/ospray_options.cmake | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/cmake/ospray_options.cmake b/cmake/ospray_options.cmake +index f2c547a..840e339 100644 +--- a/cmake/ospray_options.cmake ++++ b/cmake/ospray_options.cmake +@@ -12,8 +12,8 @@ set(OSPRAY_CMAKECONFIG_DIR + "${CMAKE_INSTALL_LIBDIR}/cmake/ospray-${OSPRAY_VERSION}") + + set(ISPC_VERSION_REQUIRED 1.23.0) +-set(RKCOMMON_VERSION_REQUIRED 1.14.0) +-set(EMBREE_VERSION_REQUIRED 4.3.3) ++set(RKCOMMON_VERSION_REQUIRED 1.15.2) ++set(EMBREE_VERSION_REQUIRED 4.4.0) + set(OPENVKL_VERSION_REQUIRED 2.0.1) + set(OIDN_VERSION_REQUIRED 2.3.0) + set(OSPRAY_IMGUI_GIT_TAG cb16be3a3fc1f9cd146ae24d52b615f8a05fa93d) # v1.90.9 +@@ -76,7 +76,7 @@ option(OSPRAY_ENABLE_VOLUMES "Enable volume rendering using OpenVKL." ON) + ########################################################### + + # rkcommon +-find_package(rkcommon ${RKCOMMON_VERSION_REQUIRED} EXACT REQUIRED) ++find_package(rkcommon ${RKCOMMON_VERSION_REQUIRED} REQUIRED) + get_target_property(RKCOMMON_INCLUDE_DIRS rkcommon::rkcommon + INTERFACE_INCLUDE_DIRECTORIES) + +-- +2.43.0 + 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 609e5dc3..dc8f7335 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 @@ -13,6 +13,7 @@ inherit pkgconfig cmake SRC_URI = "git://github.com/ospray/ospray.git;protocol=https;branch=master;name=ospray \ git://github.com/nothings/stb;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/apps/common/external/stb_image/stb;name=stb;nobranch=1 \ + file://0001-cmake-update-rkcommon-version-requirement-to-1.15.2.patch \ " SRCREV_ospray ?= "85af2929937d516997451cbd52d352cf93125ed2" SRCREV_stb ?= "af1a5bc36dff44f0a019df21c271db697d51f1a6" -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8702): https://lists.yoctoproject.org/g/meta-intel/message/8702 Mute This Topic: https://lists.yoctoproject.org/mt/117592182/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
