diff options
| author | Yogesh Tyagi <yogesh.tyagi@intel.com> | 2026-01-27 21:46:01 +0530 |
|---|---|---|
| committer | Yogesh Tyagi <yogesh.tyagi@intel.com> | 2026-01-27 21:52:48 +0530 |
| commit | fccc3e98572e983368a9e1c25523d38a90f01d04 (patch) | |
| tree | 277e1df0f822f0e56ab232b6e1525f5f62569667 | |
| parent | 23cfa19019731082dcfe22e1abb44a8526800570 (diff) | |
| download | meta-intel-fccc3e98572e983368a9e1c25523d38a90f01d04.tar.gz | |
ospray : add patch for upgraded dependencies
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 <yogesh.tyagi@intel.com>
2 files changed, 44 insertions, 0 deletions
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 @@ | |||
| 1 | From 65e5237365fc982eef2f9830fa87feafcea4044e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 3 | Date: Mon, 27 Jan 2026 21:30:00 +0000 | ||
| 4 | Subject: [PATCH] cmake: update dependency versions for upgraded components | ||
| 5 | |||
| 6 | Update rkcommon from 1.14.0 to 1.15.2 and embree from 4.3.3 to | ||
| 7 | 4.4.0. Remove EXACT version matching for rkcommon to allow | ||
| 8 | compatible newer versions. | ||
| 9 | |||
| 10 | Upstream-Status: Inappropriate [OE-specific configuration] | ||
| 11 | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 12 | |||
| 13 | --- | ||
| 14 | cmake/ospray_options.cmake | 6 +++--- | ||
| 15 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
| 16 | |||
| 17 | diff --git a/cmake/ospray_options.cmake b/cmake/ospray_options.cmake | ||
| 18 | index f2c547a..840e339 100644 | ||
| 19 | --- a/cmake/ospray_options.cmake | ||
| 20 | +++ b/cmake/ospray_options.cmake | ||
| 21 | @@ -12,8 +12,8 @@ set(OSPRAY_CMAKECONFIG_DIR | ||
| 22 | "${CMAKE_INSTALL_LIBDIR}/cmake/ospray-${OSPRAY_VERSION}") | ||
| 23 | |||
| 24 | set(ISPC_VERSION_REQUIRED 1.23.0) | ||
| 25 | -set(RKCOMMON_VERSION_REQUIRED 1.14.0) | ||
| 26 | -set(EMBREE_VERSION_REQUIRED 4.3.3) | ||
| 27 | +set(RKCOMMON_VERSION_REQUIRED 1.15.2) | ||
| 28 | +set(EMBREE_VERSION_REQUIRED 4.4.0) | ||
| 29 | set(OPENVKL_VERSION_REQUIRED 2.0.1) | ||
| 30 | set(OIDN_VERSION_REQUIRED 2.3.0) | ||
| 31 | set(OSPRAY_IMGUI_GIT_TAG cb16be3a3fc1f9cd146ae24d52b615f8a05fa93d) # v1.90.9 | ||
| 32 | @@ -76,7 +76,7 @@ option(OSPRAY_ENABLE_VOLUMES "Enable volume rendering using OpenVKL." ON) | ||
| 33 | ########################################################### | ||
| 34 | |||
| 35 | # rkcommon | ||
| 36 | -find_package(rkcommon ${RKCOMMON_VERSION_REQUIRED} EXACT REQUIRED) | ||
| 37 | +find_package(rkcommon ${RKCOMMON_VERSION_REQUIRED} REQUIRED) | ||
| 38 | get_target_property(RKCOMMON_INCLUDE_DIRS rkcommon::rkcommon | ||
| 39 | INTERFACE_INCLUDE_DIRECTORIES) | ||
| 40 | |||
| 41 | -- | ||
| 42 | 2.43.0 | ||
| 43 | |||
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 | |||
| 13 | 13 | ||
| 14 | SRC_URI = "git://github.com/ospray/ospray.git;protocol=https;branch=master;name=ospray \ | 14 | SRC_URI = "git://github.com/ospray/ospray.git;protocol=https;branch=master;name=ospray \ |
| 15 | git://github.com/nothings/stb;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/apps/common/external/stb_image/stb;name=stb;nobranch=1 \ | 15 | git://github.com/nothings/stb;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/apps/common/external/stb_image/stb;name=stb;nobranch=1 \ |
| 16 | file://0001-cmake-update-rkcommon-version-requirement-to-1.15.2.patch \ | ||
| 16 | " | 17 | " |
| 17 | SRCREV_ospray ?= "85af2929937d516997451cbd52d352cf93125ed2" | 18 | SRCREV_ospray ?= "85af2929937d516997451cbd52d352cf93125ed2" |
| 18 | SRCREV_stb ?= "af1a5bc36dff44f0a019df21c271db697d51f1a6" | 19 | SRCREV_stb ?= "af1a5bc36dff44f0a019df21c271db697d51f1a6" |
