onetbb: new package
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
|
||||
cmaketools.configure("CMAKE_INSTALL_PREFIX=/usr -D TBB_STRICT=OFF -D TBB4PY_BUILD=ON", sourceDir="..")
|
||||
|
||||
def build():
|
||||
cmaketools.make("-B build")
|
||||
|
||||
def install():
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
# pisitools.dodoc("COPYING", "README")
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>onetbb</Name>
|
||||
<Homepage>https://oneapi-src.github.io/oneTBB/</Homepage>
|
||||
<Packager>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>Apache</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="831a5a7ef54633ee93f4d41b0bda0c8e692a90e8" type="targz">https://github.com/oneapi-src/oneTBB/archive/refs/tags/v2021.10.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> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>onetbb</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>hwloc</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<!-- <Dependency>inetutils</Dependency> -->
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="library">/usr/lib/libtbbbind*</Path>
|
||||
<Path fileType="library">/usr/lib/libtbb.so*</Path>
|
||||
<Path fileType="library">/usr/lib/libtbbmalloc*</Path>
|
||||
<Path fileType="library">/usr/lib/libirml.so*</Path>
|
||||
<Path fileType="library">/usr/lib/python3.11/site-packages</Path>
|
||||
</Files>
|
||||
<Replaces>
|
||||
<Package>intel-tbb</Package>
|
||||
</Replaces>
|
||||
<Conflicts>
|
||||
<Package>intel-tbb</Package>
|
||||
</Conflicts>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>onetbb-devel</Name>
|
||||
<Summary>Development files for onetbb</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">onetbb</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="library">/usr/lib/cmake/TBB</Path>
|
||||
</Files>
|
||||
<Replaces>
|
||||
<Package>intel-tbb-devel</Package>
|
||||
</Replaces>
|
||||
<Conflicts>
|
||||
<Package>intel-tbb-devel</Package>
|
||||
</Conflicts>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2023-10-22</Date>
|
||||
<Version>2021.10.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>onetbb</Name>
|
||||
<Summary xml:lang="tr">oneAPI İş Parçacığı Oluşturma Yapı Taşları (oneTBB)</Summary>
|
||||
<Description xml:lang="tr">oneTBB, bir iş parçacığı uzmanı olmasanız bile karmaşık uygulamalara paralellik ekleme işini basitleştiren esnek bir C++ kitaplığıdır. Kitaplık, çok çekirdekli performansın tüm avantajlarından yararlanan paralel programları kolayca yazmanıza olanak tanır. Bu tür programlar taşınabilir, birleştirilebilir ve geleceğe yönelik ölçeklenebilirliğe sahiptir. oneTBB, kodu paralelleştirmeniz ve ölçeklendirmeniz için size işlevler, arabirimler ve sınıflar sağlar. Tek yapmanız gereken şablonları kullanmak.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user