onetbb: new package

This commit is contained in:
suvari
2023-10-22 14:06:48 +03:00
parent 6baeed4c88
commit 8d7ea13716
12 changed files with 6179 additions and 3422 deletions
+2
View File
@@ -187,5 +187,7 @@
<Package>libreoffice-en-US</Package>
<Package>qt5-configuration</Package> <!--renamed as qtct -->
<Package>qt5-configuration-devel</Package>
<Package>intel-tbb</Package>
<Package>intel-tbb-devel</Package>
</Obsoletes>
</PISI>
+6060 -3269
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
1d9b5b616c428c7762da124aa4f0d833e7d4471a
72abf00d5c0f7cc64392489ad9cae6d8cc0246e8
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
b8813ed7afb7168b16855529569f88f720074537
3aca86f972f15026f47b30dc499723c40781e573
-24
View File
@@ -1,24 +0,0 @@
#!/usr/bin/env 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 cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import autotools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def build():
autotools.make("CXXFLAGS='%s' tbb_build_prefix=obj" % get.CXXFLAGS())
def install():
shelltools.system("./install.sh %s" % get.installDIR())
shelltools.system("cmake \
-DINSTALL_DIR='%s'/usr/lib/cmake/TBB \
-DSYSTEM_NAME=Linux \
-DTBB_VERSION_FILE='%s'/usr/include/tbb/tbb_stddef.h \
-P cmake/tbb_config_installer.cmake" % (get.installDIR(), get.installDIR()))
pisitools.dodoc("README*")
@@ -1,19 +0,0 @@
#!/bin/bash
DESTDIR=$1
mkdir -p $DESTDIR/usr/{lib,include}
pushd build/obj_release
for file in libtbb{,malloc,malloc_proxy}; do
install -p -D -m 755 ${file}.so.2 $DESTDIR/usr/lib/
ln -s $file.so.2 $DESTDIR/usr/lib/$file.so
done
popd
pushd include
find tbb -type f -name \*.h -exec \
install -p -D -m 644 {} $DESTDIR/usr/include/{} \
\;
popd
-96
View File
@@ -1,96 +0,0 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>intel-tbb</Name>
<Homepage>http://www.threadingbuildingblocks.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>Intel Threading Building Blocks Library</Summary>
<Description>Threading Building Blocks (TBB) is a C++ runtime library that abstracts the low-level threading details necessary for optimal multi-core performance.</Description>
<Archive sha1sum="ae543670251a6d667e6f077ecfab0d5bb09b270c" type="targz">https://github.com/intel/tbb/archive/v2020.3.tar.gz</Archive>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0755" target="install.sh">install.sh</AdditionalFile>
</AdditionalFiles>
<BuildDependencies>
<Dependency>cmake</Dependency>
</BuildDependencies>
<Patches>
</Patches>
</Source>
<Package>
<Name>intel-tbb</Name>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>intel-tbb-devel</Name>
<Summary>Development files for intel-tbb</Summary>
<RuntimeDependencies>
<Dependency release="current">intel-tbb</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
</Files>
</Package>
<History>
<Update release="7">
<Date>2021-06-30</Date>
<Version>2020.3</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="6">
<Date>2020-02-12</Date>
<Version>2020.1</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="5">
<Date>2020-01-19</Date>
<Version>2020.0</Version>
<Comment>Version bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2018-09-09</Date>
<Version>2018_20180618</Version>
<Comment>Release Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2017-04-30</Date>
<Version>44_20160128</Version>
<Comment>Release Bump</Comment>
<Name>Kamil Atlı</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2016-06-09</Date>
<Version>44_20160128</Version>
<Comment>Release Bump</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2016-03-08</Date>
<Version>44_20160128</Version>
<Comment>First release</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -1,12 +0,0 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>intel-tbb</Name>
<Summary xml:lang="tr">Intel Threading kitaplığı</Summary>
</Source>
<Package>
<Name>intel-tbb-devel</Name>
<Summary xml:lang="tr">intel-tbb için geliştirme dosyaları</Summary>
</Package>
</PISI>
+26
View File
@@ -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")
+81
View File
@@ -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>
+8
View File
@@ -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>