diff options
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-oneapi')
10 files changed, 73 insertions, 20 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/dpcpp-compiler/intel-oneapi-dpcpp-cpp-runtime_2024.0.0-49819.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/dpcpp-compiler/intel-oneapi-dpcpp-cpp-runtime_2024.0.0-49819.bb index cedbae1e..106b3ad5 100644 --- a/dynamic-layers/openembedded-layer/recipes-oneapi/dpcpp-compiler/intel-oneapi-dpcpp-cpp-runtime_2024.0.0-49819.bb +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/dpcpp-compiler/intel-oneapi-dpcpp-cpp-runtime_2024.0.0-49819.bb | |||
| @@ -8,7 +8,7 @@ and compatible processors." | |||
| 8 | 8 | ||
| 9 | HOMEPAGE = "https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler.html" | 9 | HOMEPAGE = "https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler.html" |
| 10 | 10 | ||
| 11 | LICENSE="EULA" | 11 | LICENSE = "EULA" |
| 12 | 12 | ||
| 13 | COMPILERMAINVER = "2024.0" | 13 | COMPILERMAINVER = "2024.0" |
| 14 | 14 | ||
| @@ -37,7 +37,7 @@ SRC_URI[openmp-common.sha256sum] = "8217001d78311cbef97dd139e684c6767932b532309c | |||
| 37 | SRC_URI[license.sha256sum] = "9f9c8a12fc0bc82ab5b71e118e66745eff23f42224eba304068225b366cd74b6" | 37 | SRC_URI[license.sha256sum] = "9f9c8a12fc0bc82ab5b71e118e66745eff23f42224eba304068225b366cd74b6" |
| 38 | SRC_URI[dev-utils.sha256sum] = "c675d960a5abca361cead9217d6e74adee499ee0a095c4e44092bd710b304d50" | 38 | SRC_URI[dev-utils.sha256sum] = "c675d960a5abca361cead9217d6e74adee499ee0a095c4e44092bd710b304d50" |
| 39 | 39 | ||
| 40 | S = "${WORKDIR}/${BPN}" | 40 | S = "${UNPACKDIR}/${BPN}" |
| 41 | 41 | ||
| 42 | inherit bin_package | 42 | inherit bin_package |
| 43 | 43 | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/dpcpp-compiler/intel-oneapi-dpcpp-cpp_2024.0.0-49819.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/dpcpp-compiler/intel-oneapi-dpcpp-cpp_2024.0.0-49819.bb index 90ada087..d2bd72a3 100644 --- a/dynamic-layers/openembedded-layer/recipes-oneapi/dpcpp-compiler/intel-oneapi-dpcpp-cpp_2024.0.0-49819.bb +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/dpcpp-compiler/intel-oneapi-dpcpp-cpp_2024.0.0-49819.bb | |||
| @@ -8,7 +8,7 @@ and compatible processors." | |||
| 8 | 8 | ||
| 9 | HOMEPAGE = "https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler.html" | 9 | HOMEPAGE = "https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler.html" |
| 10 | 10 | ||
| 11 | LICENSE="EULA" | 11 | LICENSE = "EULA" |
| 12 | 12 | ||
| 13 | COMPILERMAINVER = "2024.0" | 13 | COMPILERMAINVER = "2024.0" |
| 14 | 14 | ||
| @@ -26,7 +26,7 @@ SRC_URI[icx-compiler.sha256sum] = "0dcbac766d5a1519d4cf393f5a85e71d19024fef65f77 | |||
| 26 | SRC_URI[compiler-linker.sha256sum] = "e00faea6d797934d62143e4aa70b727ce30f80fdf30769d22122b3051140c236" | 26 | SRC_URI[compiler-linker.sha256sum] = "e00faea6d797934d62143e4aa70b727ce30f80fdf30769d22122b3051140c236" |
| 27 | SRC_URI[shared-common.sha256sum] = "cf490a4a790f349da79e618359598d3b32312ca3b2639e5d4c84e1cfa2745558" | 27 | SRC_URI[shared-common.sha256sum] = "cf490a4a790f349da79e618359598d3b32312ca3b2639e5d4c84e1cfa2745558" |
| 28 | 28 | ||
| 29 | S = "${WORKDIR}/${BPN}" | 29 | S = "${UNPACKDIR}/${BPN}" |
| 30 | 30 | ||
| 31 | inherit bin_package | 31 | inherit bin_package |
| 32 | 32 | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/embree/embree_4.3.1.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/embree/embree_4.3.3.bb index fb341b01..77549479 100644 --- a/dynamic-layers/openembedded-layer/recipes-oneapi/embree/embree_4.3.1.bb +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/embree/embree_4.3.3.bb | |||
| @@ -4,17 +4,15 @@ intended to graphics application engineers that want to improve the \ | |||
| 4 | performance of their application." | 4 | performance of their application." |
| 5 | HOMEPAGE = "https://github.com/embree/embree" | 5 | HOMEPAGE = "https://github.com/embree/embree" |
| 6 | 6 | ||
| 7 | LICENSE = "Apache-2.0 & syrah" | 7 | LICENSE = "Apache-2.0 & BSD-3-Clause" |
| 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \ | 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \ |
| 9 | file://third-party-programs.txt;md5=f989f5b74cfff0d45d3ccf0e1366cbdc \ | 9 | file://third-party-programs.txt;md5=f989f5b74cfff0d45d3ccf0e1366cbdc \ |
| 10 | file://common/math/transcendental.h;beginline=6;endline=8;md5=73380bb2ab6613b30b8464f114bd0ca8" | 10 | file://common/math/transcendental.h;beginline=6;endline=8;md5=73380bb2ab6613b30b8464f114bd0ca8" |
| 11 | 11 | ||
| 12 | inherit pkgconfig cmake | 12 | inherit pkgconfig cmake |
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/git" | ||
| 15 | |||
| 16 | SRC_URI = "git://github.com/embree/embree.git;protocol=https;branch=master" | 14 | SRC_URI = "git://github.com/embree/embree.git;protocol=https;branch=master" |
| 17 | SRCREV = "daa8de0e714e18ad5e5c9841b67c1950d9c91c51" | 15 | SRCREV = "5730b150471602d6dc02d9b7d8a4a6ce9ceffe16" |
| 18 | 16 | ||
| 19 | COMPATIBLE_HOST = '(x86_64).*-linux' | 17 | COMPATIBLE_HOST = '(x86_64).*-linux' |
| 20 | COMPATIBLE_HOST:libc-musl = "null" | 18 | COMPATIBLE_HOST:libc-musl = "null" |
| @@ -28,3 +26,5 @@ EXTRA_OECMAKE += " \ | |||
| 28 | -DEMBREE_ISPC_SUPPORT=ON \ | 26 | -DEMBREE_ISPC_SUPPORT=ON \ |
| 29 | -DEMBREE_ZIP_MODE=OFF \ | 27 | -DEMBREE_ZIP_MODE=OFF \ |
| 30 | " | 28 | " |
| 29 | |||
| 30 | UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>(\d+(\.\d+)+))$" | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/ipp/intel-oneapi-ipp_2021.10.0-653.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/ipp/intel-oneapi-ipp_2021.10.0-653.bb index 1841253e..d10f50f9 100644 --- a/dynamic-layers/openembedded-layer/recipes-oneapi/ipp/intel-oneapi-ipp_2021.10.0-653.bb +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/ipp/intel-oneapi-ipp_2021.10.0-653.bb | |||
| @@ -21,7 +21,7 @@ SRC_URI[ipp.sha256sum] = "b51e45c6e691aa46c7136b0ab61f5abe346388433e017a30cf53fd | |||
| 21 | SRC_URI[headers.sha256sum] = "342f37ab2f82bc9f4498435f848ee660591c2488b44d988bf6ee96b2a71fd005" | 21 | SRC_URI[headers.sha256sum] = "342f37ab2f82bc9f4498435f848ee660591c2488b44d988bf6ee96b2a71fd005" |
| 22 | SRC_URI[env.sha256sum] = "731e8c28a3b8b757730cd874d0941de2eb744856128f24ade59d36c12b415bf6" | 22 | SRC_URI[env.sha256sum] = "731e8c28a3b8b757730cd874d0941de2eb744856128f24ade59d36c12b415bf6" |
| 23 | 23 | ||
| 24 | S = "${WORKDIR}/${BPN}" | 24 | S = "${UNPACKDIR}/${BPN}" |
| 25 | 25 | ||
| 26 | COMPATIBLE_HOST:libc-musl = "null" | 26 | COMPATIBLE_HOST:libc-musl = "null" |
| 27 | 27 | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/mkl/intel-oneapi-mkl_2024.0.0-49656.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/mkl/intel-oneapi-mkl_2024.0.0-49656.bb index e3e93028..e77ac588 100644 --- a/dynamic-layers/openembedded-layer/recipes-oneapi/mkl/intel-oneapi-mkl_2024.0.0-49656.bb +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/mkl/intel-oneapi-mkl_2024.0.0-49656.bb | |||
| @@ -34,7 +34,7 @@ SRC_URI[common-devel.sha256sum] = "adbf0ea946f63946d29b7f9c750c38a42ea7a65d8c816 | |||
| 34 | SRC_URI[devel.sha256sum] = "fab2a6f15e18bfd9b4d425f2703e4e98928c57f52c4feebc9ed886f097062e84" | 34 | SRC_URI[devel.sha256sum] = "fab2a6f15e18bfd9b4d425f2703e4e98928c57f52c4feebc9ed886f097062e84" |
| 35 | SRC_URI[common-vars.sha256sum] = "ec2b67813739fa4a2895f63479a41acba2174afe2d0cb8a0c1c9119d1317d8ef" | 35 | SRC_URI[common-vars.sha256sum] = "ec2b67813739fa4a2895f63479a41acba2174afe2d0cb8a0c1c9119d1317d8ef" |
| 36 | 36 | ||
| 37 | S = "${WORKDIR}/${BPN}" | 37 | S = "${UNPACKDIR}/${BPN}" |
| 38 | 38 | ||
| 39 | inherit bin_package | 39 | inherit bin_package |
| 40 | 40 | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/oidn/oidn_2.1.0.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/oidn/oidn_2.1.0.bb index 4ea6ffbe..8005f544 100644 --- a/dynamic-layers/openembedded-layer/recipes-oneapi/oidn/oidn_2.1.0.bb +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/oidn/oidn_2.1.0.bb | |||
| @@ -20,4 +20,8 @@ inherit cmake | |||
| 20 | 20 | ||
| 21 | DEPENDS += "tbb ispc-native" | 21 | DEPENDS += "tbb ispc-native" |
| 22 | 22 | ||
| 23 | do_install:append() { | ||
| 24 | chrpath -d ${D}${bindir}/* ${D}${libdir}/*${SOLIBS} | ||
| 25 | } | ||
| 26 | |||
| 23 | UPSTREAM_CHECK_URI = "https://github.com/OpenImageDenoise/oidn/releases" | 27 | UPSTREAM_CHECK_URI = "https://github.com/OpenImageDenoise/oidn/releases" |
diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_2.0.1.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_2.0.1.bb index a2d709a1..b458bb4d 100644 --- a/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_2.0.1.bb +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl_2.0.1.bb | |||
| @@ -16,8 +16,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \ | |||
| 16 | 16 | ||
| 17 | inherit pkgconfig cmake | 17 | inherit pkgconfig cmake |
| 18 | 18 | ||
| 19 | S = "${WORKDIR}/git" | ||
| 20 | |||
| 21 | SRC_URI = "git://github.com/openvkl/openvkl.git;protocol=https;branch=master \ | 19 | SRC_URI = "git://github.com/openvkl/openvkl.git;protocol=https;branch=master \ |
| 22 | " | 20 | " |
| 23 | SRCREV = "8c6ba526813b871a624cb9d73d4cbb689ac7f4ce" | 21 | SRCREV = "8c6ba526813b871a624cb9d73d4cbb689ac7f4ce" |
| @@ -29,11 +27,13 @@ DEPENDS = "ispc ispc-native rkcommon embree" | |||
| 29 | 27 | ||
| 30 | EXTRA_OECMAKE += " \ | 28 | EXTRA_OECMAKE += " \ |
| 31 | -DISPC_EXECUTABLE=${STAGING_BINDIR_NATIVE}/ispc \ | 29 | -DISPC_EXECUTABLE=${STAGING_BINDIR_NATIVE}/ispc \ |
| 30 | -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ | ||
| 32 | " | 31 | " |
| 33 | EXTRA_OECMAKE:intel-corei7-64 += " \ | 32 | EXTRA_OECMAKE:intel-corei7-64 += " \ |
| 34 | -DOPENVKL_ISA_AVX=OFF \ | 33 | -DOPENVKL_ISA_AVX=OFF \ |
| 35 | -DOPENVKL_ISA_AVX2=OFF \ | 34 | -DOPENVKL_ISA_AVX2=OFF \ |
| 36 | -DOPENVKL_ISA_AVX512SKX=OFF \ | 35 | -DOPENVKL_ISA_AVX512SKX=OFF \ |
| 36 | -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ | ||
| 37 | " | 37 | " |
| 38 | 38 | ||
| 39 | PACKAGES =+ "${PN}-examples" | 39 | PACKAGES =+ "${PN}-examples" |
diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/ospray/ospray_3.1.0.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/ospray/ospray_3.2.0.bb index 3e03dcc2..609e5dc3 100644 --- a/dynamic-layers/openembedded-layer/recipes-oneapi/ospray/ospray_3.1.0.bb +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/ospray/ospray_3.2.0.bb | |||
| @@ -11,11 +11,12 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1dece7821bf3fd70fe1309eaa37d52a2 \ | |||
| 11 | 11 | ||
| 12 | inherit pkgconfig cmake | 12 | inherit pkgconfig cmake |
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/git" | 14 | SRC_URI = "git://github.com/ospray/ospray.git;protocol=https;branch=master;name=ospray \ |
| 15 | 15 | git://github.com/nothings/stb;protocol=https;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/apps/common/external/stb_image/stb;name=stb;nobranch=1 \ | |
| 16 | SRC_URI = "git://github.com/ospray/ospray.git;protocol=https;branch=master \ | 16 | " |
| 17 | " | 17 | SRCREV_ospray ?= "85af2929937d516997451cbd52d352cf93125ed2" |
| 18 | SRCREV = "f2a61c2eb58ccd666e34abfdb0fd7049ea073194" | 18 | SRCREV_stb ?= "af1a5bc36dff44f0a019df21c271db697d51f1a6" |
| 19 | SRCREV_FORMAT = "ospray_stb" | ||
| 19 | 20 | ||
| 20 | COMPATIBLE_HOST = '(x86_64).*-linux' | 21 | COMPATIBLE_HOST = '(x86_64).*-linux' |
| 21 | COMPATIBLE_HOST:libc-musl = "null" | 22 | COMPATIBLE_HOST:libc-musl = "null" |
diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/rkcommon/files/0001-use-fully-qualified-rkcommon-math-rsqrt-to-avoid-ove.patch b/dynamic-layers/openembedded-layer/recipes-oneapi/rkcommon/files/0001-use-fully-qualified-rkcommon-math-rsqrt-to-avoid-ove.patch new file mode 100644 index 00000000..5aef2b76 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/rkcommon/files/0001-use-fully-qualified-rkcommon-math-rsqrt-to-avoid-ove.patch | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | From f0885d7d97e98ad586bbacf5edf7fa4022b425b9 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 3 | Date: Mon, 11 Aug 2025 14:00:50 +0800 | ||
| 4 | Subject: [PATCH] use fully-qualified rkcommon::math::rsqrt to avoid overload | ||
| 5 | ambiguity | ||
| 6 | |||
| 7 | Explicitly calling rkcommon::math::rsqrt() prevents conflict with the | ||
| 8 | standard rsqrt(double) declared in bits/mathcalls.h, fixing the build | ||
| 9 | error in Quaternion tests. | ||
| 10 | |||
| 11 | Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> | ||
| 12 | |||
| 13 | Upstream-Status: Submitted [https://github.com/RenderKit/rkcommon/pull/16] | ||
| 14 | --- | ||
| 15 | tests/math/test_Quaternion.cpp | 2 +- | ||
| 16 | tests/math/test_rkmath.cpp | 4 ++-- | ||
| 17 | 2 files changed, 3 insertions(+), 3 deletions(-) | ||
| 18 | |||
| 19 | diff --git a/tests/math/test_Quaternion.cpp b/tests/math/test_Quaternion.cpp | ||
| 20 | index 760d815..f527824 100644 | ||
| 21 | --- a/tests/math/test_Quaternion.cpp | ||
| 22 | +++ b/tests/math/test_Quaternion.cpp | ||
| 23 | @@ -187,7 +187,7 @@ template <typename T> | ||
| 24 | inline void test_slerp() | ||
| 25 | { | ||
| 26 | typename T::Scalar two = 2; | ||
| 27 | - REQUIRE(CmpT(slerp(.5f, T(1, 0, 0, 0), T(0, 1, 0, 0)), T(rsqrt(two), rsqrt(two), 0, 0))); | ||
| 28 | + REQUIRE(CmpT(slerp(.5f, T(1, 0, 0, 0), T(0, 1, 0, 0)), T(rkcommon::math::rsqrt(two), rkcommon::math::rsqrt(two), 0, 0))); | ||
| 29 | } | ||
| 30 | |||
| 31 | TEST_CASE("Quaternion functions", "[quat]") | ||
| 32 | diff --git a/tests/math/test_rkmath.cpp b/tests/math/test_rkmath.cpp | ||
| 33 | index 7f66532..fd18df4 100644 | ||
| 34 | --- a/tests/math/test_rkmath.cpp | ||
| 35 | +++ b/tests/math/test_rkmath.cpp | ||
| 36 | @@ -49,8 +49,8 @@ TEST_CASE("rkmath rcp_safe function", "[rkmath]") | ||
| 37 | template <typename T> | ||
| 38 | inline void test_rsqrt() | ||
| 39 | { | ||
| 40 | - REQUIRE(CmpT<T>(rsqrt(T(1)), T(1))); | ||
| 41 | - REQUIRE(CmpT<T>(rsqrt(T(4)), T(.5))); | ||
| 42 | + REQUIRE(CmpT<T>(rkcommon::math::rsqrt(T(1)), T(1))); | ||
| 43 | + REQUIRE(CmpT<T>(rkcommon::math::rsqrt(T(4)), T(.5))); | ||
| 44 | } | ||
| 45 | |||
| 46 | TEST_CASE("rkmath rsqrt function", "[rkmath]") | ||
| 47 | -- | ||
| 48 | 2.37.3 | ||
| 49 | |||
diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/rkcommon/rkcommon_1.13.0.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/rkcommon/rkcommon_1.14.0.bb index fe6b23ea..d49e8e52 100644 --- a/dynamic-layers/openembedded-layer/recipes-oneapi/rkcommon/rkcommon_1.13.0.bb +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/rkcommon/rkcommon_1.14.0.bb | |||
| @@ -8,11 +8,10 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" | |||
| 8 | 8 | ||
| 9 | inherit pkgconfig cmake | 9 | inherit pkgconfig cmake |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | ||
| 12 | |||
| 13 | SRC_URI = "git://github.com/ospray/rkcommon.git;protocol=https;branch=master \ | 11 | SRC_URI = "git://github.com/ospray/rkcommon.git;protocol=https;branch=master \ |
| 12 | file://0001-use-fully-qualified-rkcommon-math-rsqrt-to-avoid-ove.patch \ | ||
| 14 | " | 13 | " |
| 15 | SRCREV = "7ebfa0765ea590767202b328e7da38102c2f5a15" | 14 | SRCREV = "4a00047ae5a3ac705b6b33b4a7574588d91e7953" |
| 16 | 15 | ||
| 17 | DEPENDS = "tbb" | 16 | DEPENDS = "tbb" |
| 18 | 17 | ||
