oneTBB-v2022.2.0
This commit is contained in:
@@ -2,25 +2,27 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Licensed under the GNU General Public License, version 3.
|
# 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 cmaketools
|
||||||
|
from pisi.actionsapi import mesontools
|
||||||
from pisi.actionsapi import pisitools
|
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():
|
def setup():
|
||||||
shelltools.makedirs("build")
|
cmaketools.configure(j)
|
||||||
shelltools.cd("build")
|
|
||||||
|
|
||||||
cmaketools.configure("CMAKE_INSTALL_PREFIX=/usr -D TBB_STRICT=OFF -D TBB4PY_BUILD=ON", sourceDir="..")
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
cmaketools.make("-B build")
|
mesontools.build()
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
shelltools.cd("build")
|
mesontools.install()
|
||||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
|
||||||
|
|
||||||
# pisitools.dodoc("COPYING", "README")
|
|
||||||
|
|
||||||
|
pisitools.dodoc("LICENSE.txt")
|
||||||
|
|||||||
@@ -3,27 +3,26 @@
|
|||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>onetbb</Name>
|
<Name>onetbb</Name>
|
||||||
<Homepage>https://oneapi-src.github.io/oneTBB/</Homepage>
|
<Homepage>https://uxlfoundation.github.io/oneTBB/</Homepage>
|
||||||
<Packager>
|
<Packager>
|
||||||
<Name>Kamil Atlı</Name>
|
<Name>Kamil Atlı</Name>
|
||||||
<Email>suvari@pisilinux.org</Email>
|
<Email>suvari@pisilinux.org</Email>
|
||||||
</Packager>
|
</Packager>
|
||||||
<License>Apache</License>
|
<License>Apache-v2.0</License>
|
||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Icon>onetbb</Icon>
|
<Icon>onetbb</Icon>
|
||||||
<Summary>oneAPI Threading Building Blocks (oneTBB)</Summary>
|
<Summary>oneAPI Threading Building Blocks.</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>
|
<Description>A flexible C++ library that simplifies the work of adding parallelism to complex applications.</Description>
|
||||||
<Archive sha1sum="be220f9120bcd425e479a151438a20e678d9655f" type="targz">https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2022.0.0.tar.gz</Archive>
|
<Archive sha1sum="c806a9a50fe6b19f50090b2d61581a0574b0a332" type="targz">https://github.com/uxlfoundation/oneTBB/archive/v2022.2.0/oneTBB-v2022.2.0.tar.gz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>swig</Dependency>
|
<Dependency>swig</Dependency>
|
||||||
<Dependency>ninja</Dependency>
|
<Dependency>ninja</Dependency>
|
||||||
<Dependency>cmake</Dependency>
|
<Dependency>cmake</Dependency>
|
||||||
<!-- <Dependency>inetutils</Dependency> -->
|
|
||||||
<Dependency>hwloc-devel</Dependency>
|
<Dependency>hwloc-devel</Dependency>
|
||||||
<Dependency>python3-devel</Dependency>
|
<Dependency>python3-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<!-- <Patch>patch</Patch> -->
|
<!-- <Patch level="1"></Patch> -->
|
||||||
</Patches>
|
</Patches>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
@@ -32,7 +31,6 @@
|
|||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency>hwloc</Dependency>
|
<Dependency>hwloc</Dependency>
|
||||||
<Dependency>libgcc</Dependency>
|
<Dependency>libgcc</Dependency>
|
||||||
<!-- <Dependency>inetutils</Dependency> -->
|
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
@@ -58,8 +56,8 @@
|
|||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="header">/usr/include</Path>
|
<Path fileType="header">/usr/include</Path>
|
||||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||||
<Path fileType="library">/usr/lib/cmake/TBB</Path>
|
<Path fileType="data">/usr/lib/cmake/TBB</Path>
|
||||||
</Files>
|
</Files>
|
||||||
<Replaces>
|
<Replaces>
|
||||||
<Package>intel-tbb-devel</Package>
|
<Package>intel-tbb-devel</Package>
|
||||||
@@ -70,6 +68,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<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">
|
<Update release="2">
|
||||||
<Date>2024-11-14</Date>
|
<Date>2024-11-14</Date>
|
||||||
<Version>2022.0.0</Version>
|
<Version>2022.0.0</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user