summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/tbb
Commit message (Collapse)AuthorAgeFilesLines
* tbb: pass TBB_STRICT=OFF to disable -WerrorAnuj Mittal2024-06-271-0/+1
| | | | | | | | Don't treat compiler warnings as errors to avoid failures when compiling with newer versions. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: enable NUMA/Hybrid CPU supportNaveen Saini2023-11-292-1/+44
| | | | | | | | | | | oneTBB relies on HWLOC* to identify the underlying topology of the system to optimize thread scheduling and memory allocation. Ref: https://oneapi-src.github.io/oneTBB/GSG/next_steps.html#hybrid-cpu-and-numa-support Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: upgrade 2021.9.0 -> 2021.11.0Naveen Saini2023-11-292-37/+1
| | | | | | | | | | | 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>
* tbb: upgrade 2021.8.0 -> 2021.9.0Wang Mingyu2023-04-171-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: upgrade 2021.7.0 -> 2021.8.0Wang Mingyu2023-01-111-1/+1
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: upgrade 2021.5.0 -> 2021.7.0Naveen Saini2023-01-065-131/+6
| | | | | | | | | | | | | | Drop patches which are already merged. Also drop which are not required anymore. Tested following machines with both gcc and clang: qemuarm qemuarm64 qemuriscv32 qemuriscv64 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: upgrade to 2021.5.0Ross Burton2022-01-121-1/+1
| | | | | Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: enable native/nativesdk buildsRoss Burton2022-01-071-0/+2
| | | | | Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: Disable LTO on rv64Khem Raj2021-12-281-2/+2
| | | | | | | ABI mismatches still happen with clang on rv64 as well so disable LTO for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: Upgrade to 2021.4.0Khem Raj2021-12-099-155/+76
| | | | | | | | | | | * Drop upstreamed patches * Drop 0001-set_my_tls_end_of_input-Use-an-arbitrary-but-valid-p.patch * which is fixed differently * Forward port rest of them * Add a patch to fix build with musl * Add a patch to disable LTO on rv32 (configuration) and arm ( crashes ) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: Link with libatomic when using clang compiler on rv32Khem Raj2021-10-251-0/+1
| | | | | | | | | This helps fixing opencv builds where lack of libatomic link in tbb ends up with build failures e.g. riscv32-yoe-linux-ld: lib/libopencv_core.so.4.5.2: undefined reference to `__atomic_fetch_add_8' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-5/+5
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* tbb: Fix warnings with clangKhem Raj2021-06-052-0/+41
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: Fix build with GCC 11Khem Raj2021-05-112-0/+38
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: Disable PPC as COMPATIBLE_MACHINESaul Wold2021-04-291-0/+3
| | | | | | | | | | | | The latest version does not support PPC architecture, so disable the it. Otherwise the following error occurs: /srv/nvme/yocto/hardknott/builds/tbb/tmp/work/ppc7400-poky-linux/tbb/2021.2.0-r0/git/src/tbb/tools_api/ittnotify_config.h:338:12: error: '__TBB_machine_fetchadd4' was not declared in this scope 338 | return __TBB_machine_fetchadd4(ptr, 1) + 1L; | ^~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: Re-introduce PEKhem Raj2021-04-211-0/+2
| | | | | | | | It was accidentally dropped in last upgrade for this recipe Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Martin Jansa <martin.jansa@gmail.com> Cc: Naveen Saini <naveen.kumar.saini@intel.com>
* tbb: Fix build with muslKhem Raj2021-04-151-0/+10
| | | | | | | | Need to link libucontext on musl Additionally, mips also needs libatomic Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Naveen Saini <naveen.kumar.saini@intel.com>
* tbb: upgrade 2020.3 -> 2021.2.0Naveen Saini2021-04-158-122/+116
| | | | | | | | | | Switched to cmake build tool. Rebased some patches due to directory re-structuring. Dropped patches, which are not required anymore. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: improve reproducibilityLee Chee Yang2020-09-302-0/+31
| | | | | | | | | remove WORKDIR from generated version_string.ver and use SOURCE_DATE_EPOCH as DATETIME wherever possible to improve reproducibility Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: upgrade 2020.2 -> 2020.3Naveen Saini2020-09-161-1/+1
| | | | | Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: upgrade 2017 -> 2020.2Anuj Mittal2020-04-095-102/+80
| | | | | | | | | | | | * Remove patches that are not needed anymore and fix the recipe to point to new source location. * Remove the compilation tweaks that don't seem to be required anymore. * Include a patch to fix builds on musl. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: Ensure that install does not raceKhem Raj2020-03-291-3/+6
| | | | | | | | This fixes install: will not overwrite just-created 'TOPDIR/build/tmp/work/core2-64-yoe-linux/tbb/20170412+AUTOINC+a2cfdfe946-r0/image/usr/lib/libtbbmalloc_proxy.so' with 'TOPDIR/build/tmp/work/core2-64-yoe-linux/tbb/20170412+AUTOINC+a2cfdfe946-r0/git/build/linux_x86_64_gcc_cc4_release/libtbbmalloc_proxy.so' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: check the version of the cross gcc instead of host gccGregory Vimont2018-07-042-0/+58
| | | | | | | | When cross compiling on linux with gcc, the host gcc was used instead of the cross gcc to set compilation flags according to gcc version. Signed-off-by: Gregory Vimont <gregory.vimont@softbankrobotics.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tbb: Update to 2017 Update 6Khem Raj2017-06-122-7/+49
| | | | | | | Fix build with musl and security flags turned on Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* tbb: Update to 2017 releaseKhem Raj2017-03-113-50/+33
| | | | | | | | Update license to reflect new Apache 2.0 license Fix build with clang Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Replace "cp -a" with "cp -R --no-dereference --preserve=mode,links"Martin Jansa2016-03-041-1/+1
| | | | | | | | | * Using "cp -a" leaks UID of user running the builds, causing many QA warnings. * See this thread for details: http://lists.openembedded.org/pipermail/openembedded-core/2015-November/112904.html Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* tbb: Disable thumbMartin Jansa2013-11-181-0/+8
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* tbb: update to 4.1 Update 3 version from 20130314Marcin Juszkiewicz2013-04-192-3/+34
| | | | | | | | ARMv7a support was added in 4.1 Update 3 Older ARM cores support was added by me. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | * This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
* tbb: add 4.1 20130116 version (4.1 update 2)Marcin Juszkiewicz2013-03-293-0/+67
IntelĀ® Threading Building Blocks (IntelĀ® TBB) lets you easily write parallel C++ programs that take full advantage of multicore performance, that are portable and composable, and that have future-proof scalability. Natively supports only x86(-64) targets with fallbacks for non-supported architectures. There is a work at Linaro to add AArch64 and ARMv7a support. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>