diff options
| author | Naveen Saini <naveen.kumar.saini@intel.com> | 2023-11-30 13:20:06 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-11-29 22:25:05 -0800 |
| commit | d5f16f18c3b45b9549edf65a0921883d22503274 (patch) | |
| tree | 5ac70d5dcbe8b65eaac2a44d8b3870b9198eae84 | |
| parent | 501e5aa4b56eb681004894549cea06f33d111e4d (diff) | |
| download | meta-openembedded-d5f16f18c3b45b9549edf65a0921883d22503274.tar.gz | |
tbb: upgrade 2021.9.0 -> 2021.11.0
riscv arch support enabled in this release, so patching
for riscv* not required anymore. Drop patch.
Release note:
https://github.com/oneapi-src/oneTBB/releases/tag/v2021.11.0
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/tbb/tbb/0001-CMakeLists.txt-exclude-riscv64-riscv32.patch | 35 | ||||
| -rw-r--r-- | meta-oe/recipes-support/tbb/tbb_2021.11.0.bb (renamed from meta-oe/recipes-support/tbb/tbb_2021.9.0.bb) | 3 |
2 files changed, 1 insertions, 37 deletions
diff --git a/meta-oe/recipes-support/tbb/tbb/0001-CMakeLists.txt-exclude-riscv64-riscv32.patch b/meta-oe/recipes-support/tbb/tbb/0001-CMakeLists.txt-exclude-riscv64-riscv32.patch deleted file mode 100644 index b34762710d..0000000000 --- a/meta-oe/recipes-support/tbb/tbb/0001-CMakeLists.txt-exclude-riscv64-riscv32.patch +++ /dev/null | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | From cb9e9b5b1ad05dd9de07a65ee7147cdb3433746a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Naveen Saini <naveen.kumar.saini@intel.com> | ||
| 3 | Date: Fri, 9 Apr 2021 15:41:35 +0800 | ||
| 4 | Subject: [PATCH] CMakeLists.txt: exclude riscv64 & riscv32 | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | |||
| 8 | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> | ||
| 9 | --- | ||
| 10 | src/tbb/CMakeLists.txt | 2 +- | ||
| 11 | src/tbbmalloc/CMakeLists.txt | 2 +- | ||
| 12 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
| 13 | |||
| 14 | --- a/src/tbb/CMakeLists.txt | ||
| 15 | +++ b/src/tbb/CMakeLists.txt | ||
| 16 | @@ -58,7 +58,7 @@ target_compile_definitions(tbb | ||
| 17 | $<$<NOT:$<BOOL:${BUILD_SHARED_LIBS}>>:__TBB_DYNAMIC_LOAD_ENABLED=0> | ||
| 18 | $<$<NOT:$<BOOL:${BUILD_SHARED_LIBS}>>:__TBB_SOURCE_DIRECTLY_INCLUDED=1>) | ||
| 19 | |||
| 20 | -if (NOT ("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "(armv7-a|aarch64|mips|arm64)" OR | ||
| 21 | +if (NOT ("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "(armv7-a|aarch64|mips|arm64|riscv64|riscv32)" OR | ||
| 22 | "${CMAKE_OSX_ARCHITECTURES}" MATCHES "arm64" OR | ||
| 23 | WINDOWS_STORE OR | ||
| 24 | TBB_WINDOWS_DRIVER)) | ||
| 25 | --- a/src/tbbmalloc/CMakeLists.txt | ||
| 26 | +++ b/src/tbbmalloc/CMakeLists.txt | ||
| 27 | @@ -30,7 +30,7 @@ target_compile_definitions(tbbmalloc | ||
| 28 | $<$<NOT:$<BOOL:${BUILD_SHARED_LIBS}>>:__TBB_DYNAMIC_LOAD_ENABLED=0> | ||
| 29 | $<$<NOT:$<BOOL:${BUILD_SHARED_LIBS}>>:__TBB_SOURCE_DIRECTLY_INCLUDED=1>) | ||
| 30 | |||
| 31 | -if (NOT ("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "(armv7-a|aarch64|mips|arm64)" OR | ||
| 32 | +if (NOT ("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "(armv7-a|aarch64|mips|arm64|riscv64|riscv32)" OR | ||
| 33 | "${CMAKE_OSX_ARCHITECTURES}" MATCHES "arm64" OR | ||
| 34 | WINDOWS_STORE OR | ||
| 35 | TBB_WINDOWS_DRIVER OR | ||
diff --git a/meta-oe/recipes-support/tbb/tbb_2021.9.0.bb b/meta-oe/recipes-support/tbb/tbb_2021.11.0.bb index 028291c965..1a1d9988bc 100644 --- a/meta-oe/recipes-support/tbb/tbb_2021.9.0.bb +++ b/meta-oe/recipes-support/tbb/tbb_2021.11.0.bb | |||
| @@ -12,9 +12,8 @@ DEPENDS:append:libc-musl = " libucontext" | |||
| 12 | PE = "1" | 12 | PE = "1" |
| 13 | 13 | ||
| 14 | BRANCH = "onetbb_2021" | 14 | BRANCH = "onetbb_2021" |
| 15 | SRCREV = "a00cc3b8b5fb4d8115e9de56bf713157073ed68c" | 15 | SRCREV = "8b829acc65569019edb896c5150d427f288e8aba" |
| 16 | SRC_URI = "git://github.com/oneapi-src/oneTBB.git;protocol=https;branch=${BRANCH} \ | 16 | SRC_URI = "git://github.com/oneapi-src/oneTBB.git;protocol=https;branch=${BRANCH} \ |
| 17 | file://0001-CMakeLists.txt-exclude-riscv64-riscv32.patch \ | ||
| 18 | " | 17 | " |
| 19 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
| 20 | 19 | ||
