oneTBB-v2022.2.0
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -3,27 +3,26 @@
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>onetbb</Name>
|
||||
<Homepage>https://oneapi-src.github.io/oneTBB/</Homepage>
|
||||
<Homepage>https://uxlfoundation.github.io/oneTBB/</Homepage>
|
||||
<Packager>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>Apache</License>
|
||||
<License>Apache-v2.0</License>
|
||||
<IsA>library</IsA>
|
||||
<Icon>onetbb</Icon>
|
||||
<Summary>oneAPI Threading Building Blocks (oneTBB)</Summary>
|
||||
<Description>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.</Description>
|
||||
<Archive sha1sum="be220f9120bcd425e479a151438a20e678d9655f" type="targz">https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2022.0.0.tar.gz</Archive>
|
||||
<Summary>oneAPI Threading Building Blocks.</Summary>
|
||||
<Description>A flexible C++ library that simplifies the work of adding parallelism to complex applications.</Description>
|
||||
<Archive sha1sum="c806a9a50fe6b19f50090b2d61581a0574b0a332" type="targz">https://github.com/uxlfoundation/oneTBB/archive/v2022.2.0/oneTBB-v2022.2.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>swig</Dependency>
|
||||
<Dependency>ninja</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
<!-- <Dependency>inetutils</Dependency> -->
|
||||
<Dependency>hwloc-devel</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch>patch</Patch> -->
|
||||
<!-- <Patch level="1"></Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
@@ -32,7 +31,6 @@
|
||||
<RuntimeDependencies>
|
||||
<Dependency>hwloc</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<!-- <Dependency>inetutils</Dependency> -->
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
@@ -58,8 +56,8 @@
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="library">/usr/lib/cmake/TBB</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/lib/cmake/TBB</Path>
|
||||
</Files>
|
||||
<Replaces>
|
||||
<Package>intel-tbb-devel</Package>
|
||||
@@ -70,6 +68,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2025-10-21</Date>
|
||||
<Version>2022.2.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2024-11-14</Date>
|
||||
<Version>2022.0.0</Version>
|
||||
|
||||
Reference in New Issue
Block a user