summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2024-09-17 12:05:58 +0800
committerKhem Raj <raj.khem@gmail.com>2024-09-16 23:01:22 -0700
commitd8c5a72788ab0f2e36aee16e6d9e7555537366a5 (patch)
tree5a4060b50743da9307c993960fb89b532210a8ef
parent521da60d7d0cc31588fc8ced762981d9cbb66346 (diff)
downloadmeta-openembedded-d8c5a72788ab0f2e36aee16e6d9e7555537366a5.tar.gz
tbb: upgrade 2021.11.0 -> 2021.13.0
ChangeLog: https://github.com/oneapi-src/oneTBB/releases/tag/v2021.12.0 https://github.com/oneapi-src/oneTBB/releases/tag/v2021.13.0 Drop 0001-hwloc_detection.cmake-remove-cross-compiation-check.patch as the issue has been fixed upstream. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/tbb/tbb/0001-hwloc_detection.cmake-remove-cross-compiation-check.patch33
-rw-r--r--meta-oe/recipes-support/tbb/tbb_2021.13.0.bb (renamed from meta-oe/recipes-support/tbb/tbb_2021.11.0.bb)6
2 files changed, 3 insertions, 36 deletions
diff --git a/meta-oe/recipes-support/tbb/tbb/0001-hwloc_detection.cmake-remove-cross-compiation-check.patch b/meta-oe/recipes-support/tbb/tbb/0001-hwloc_detection.cmake-remove-cross-compiation-check.patch
deleted file mode 100644
index 640b131703..0000000000
--- a/meta-oe/recipes-support/tbb/tbb/0001-hwloc_detection.cmake-remove-cross-compiation-check.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 7ffc1eba8596544d6e3af0fd5f4004fff6d56f84 Mon Sep 17 00:00:00 2001
2From: Naveen Saini <naveen.kumar.saini@intel.com>
3Date: Wed, 29 Nov 2023 15:48:57 +0800
4Subject: [PATCH] hwloc_detection.cmake: remove cross-compiation check
5
6This check is preventing pkgconfig to
7search for hwloc under cross-compilation.
8
9pkgconfig able to find hwloc pkg from sysroot.
10
11Upstream-Status: Inappropriate
12
13Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
14---
15 cmake/hwloc_detection.cmake | 2 --
16 1 file changed, 2 deletions(-)
17
18diff --git a/cmake/hwloc_detection.cmake b/cmake/hwloc_detection.cmake
19index 47233b17..5a7e84c3 100644
20--- a/cmake/hwloc_detection.cmake
21+++ b/cmake/hwloc_detection.cmake
22@@ -46,8 +46,6 @@ endforeach()
23 unset(HWLOC_TARGET_NAME)
24
25 if (NOT HWLOC_TARGET_EXPLICITLY_DEFINED AND
26- # No hwloc auto detection for cross compilation
27- NOT CMAKE_CROSSCOMPILING AND
28 NOT TBB_DISABLE_HWLOC_AUTOMATIC_SEARCH
29 )
30 find_package(PkgConfig QUIET)
31--
322.37.3
33
diff --git a/meta-oe/recipes-support/tbb/tbb_2021.11.0.bb b/meta-oe/recipes-support/tbb/tbb_2021.13.0.bb
index 0f9f02655e..e2b7543c0f 100644
--- a/meta-oe/recipes-support/tbb/tbb_2021.11.0.bb
+++ b/meta-oe/recipes-support/tbb/tbb_2021.13.0.bb
@@ -13,10 +13,10 @@ DEPENDS:append:class-target = " hwloc"
13PE = "1" 13PE = "1"
14 14
15BRANCH = "onetbb_2021" 15BRANCH = "onetbb_2021"
16SRCREV = "8b829acc65569019edb896c5150d427f288e8aba" 16SRCREV = "1c4c93fc5398c4a1acb3492c02db4699f3048dea"
17SRC_URI = "git://github.com/oneapi-src/oneTBB.git;protocol=https;branch=${BRANCH} \ 17SRC_URI = "git://github.com/oneapi-src/oneTBB.git;protocol=https;branch=${BRANCH} \
18 file://0001-hwloc_detection.cmake-remove-cross-compiation-check.patch \ 18 "
19" 19
20S = "${WORKDIR}/git" 20S = "${WORKDIR}/git"
21 21
22inherit cmake pkgconfig 22inherit cmake pkgconfig