From a344bb01ba6624e34975deb47a3607a9bb3eb3db Mon Sep 17 00:00:00 2001 From: uglyside Date: Tue, 21 Oct 2025 06:18:19 +0300 Subject: [PATCH] oneTBB-v2022.2.0 --- programming/misc/onetbb/actions.py | 26 ++++++++++++++------------ programming/misc/onetbb/pspec.xml | 25 +++++++++++++++---------- 2 files changed, 29 insertions(+), 22 deletions(-) diff --git a/programming/misc/onetbb/actions.py b/programming/misc/onetbb/actions.py index 3034b76385..637a697ab5 100644 --- a/programming/misc/onetbb/actions.py +++ b/programming/misc/onetbb/actions.py @@ -2,25 +2,27 @@ # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/licenses/gpl.txt +# See the file https://www.gnu.org/licenses/gpl-3.0.txt -from pisi.actionsapi import shelltools from pisi.actionsapi import cmaketools +from pisi.actionsapi import mesontools from pisi.actionsapi import pisitools -from pisi.actionsapi import get + +j = ''.join([ + ' -DCMAKE_INSTALL_PREFIX=/usr', + ' -DCMAKE_INSTALL_DOCDIR=share/doc/onetbb', + ' -DTBB4PY_BUILD=ON', + ' -DTBB_TEST=OFF', + ' -Bbuild -G Ninja -L ' + ]) def setup(): - shelltools.makedirs("build") - shelltools.cd("build") - - cmaketools.configure("CMAKE_INSTALL_PREFIX=/usr -D TBB_STRICT=OFF -D TBB4PY_BUILD=ON", sourceDir="..") + cmaketools.configure(j) def build(): - cmaketools.make("-B build") + mesontools.build() def install(): - shelltools.cd("build") - cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) - - # pisitools.dodoc("COPYING", "README") + mesontools.install() + pisitools.dodoc("LICENSE.txt") diff --git a/programming/misc/onetbb/pspec.xml b/programming/misc/onetbb/pspec.xml index 94f904f1f4..2c1d62916a 100644 --- a/programming/misc/onetbb/pspec.xml +++ b/programming/misc/onetbb/pspec.xml @@ -3,27 +3,26 @@ onetbb - https://oneapi-src.github.io/oneTBB/ + https://uxlfoundation.github.io/oneTBB/ Kamil Atlı suvari@pisilinux.org - Apache + Apache-v2.0 library onetbb - oneAPI Threading Building Blocks (oneTBB) - oneTBB is a flexible C++ library that simplifies the work of adding parallelism to complex applications, even if you are not a threading expert. The library lets you easily write parallel programs that take full advantage of the multi-core performance. Such programs are portable, composable and have a future-proof scalability. oneTBB provides you with functions, interfaces, and classes to parallelize and scale the code. All you have to do is to use the templates. - https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2022.0.0.tar.gz + oneAPI Threading Building Blocks. + A flexible C++ library that simplifies the work of adding parallelism to complex applications. + https://github.com/uxlfoundation/oneTBB/archive/v2022.2.0/oneTBB-v2022.2.0.tar.gz swig ninja cmake - hwloc-devel python3-devel - + @@ -32,7 +31,6 @@ hwloc libgcc - /usr/share/doc @@ -58,8 +56,8 @@ /usr/include - /usr/lib/pkgconfig - /usr/lib/cmake/TBB + /usr/lib/pkgconfig + /usr/lib/cmake/TBB intel-tbb-devel @@ -70,6 +68,13 @@ + + 2025-10-21 + 2022.2.0 + Version bump. + Kamil Atlı + suvari@pisilinux.org + 2024-11-14 2022.0.0