Date: Thursday, March 16, 2023 @ 21:51:15
Author: felixonmars
Revision: 471034
archrelease: copy trunk to testing-x86_64
Added:
onetbb/repos/testing-x86_64/
onetbb/repos/testing-x86_64/PKGBUILD
(from rev 471033, onetbb/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: onetbb/repos/testing-x86_64/PKGBUILD (from rev 471033,
onetbb/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2023-03-16 21:51:15 UTC (rev 471034)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Caleb Maclennan <[email protected]>
+# Contributor: Stéphane Gaudreault <[email protected]>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Denis Martinez <deuns.martinez AT gmail.com>
+# Contributor: Bogdan Burlacu <bogdan.burlacu AT pm.me>
+
+pkgname=onetbb
+pkgver=2021.8.0
+pkgrel=1
+pkgdesc='High level abstract threading library (oneAPI Threading Building
Blocks)'
+arch=('x86_64')
+url='https://oneapi-src.github.io/oneTBB/'
+license=('Apache')
+depends=('gcc-libs' 'hwloc')
+makedepends=('cmake' 'inetutils' 'ninja' 'python' 'swig')
+conflicts=('intel-tbb' 'tbb')
+provides=("intel-tbb=$pkgver" "tbb=$pkgver")
+replaces=('intel-tbb' 'tbb')
+source=(https://github.com/oneapi-src/oneTBB/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('72f68730dfd89409796f9548d3c302111787712089688a7c77092ed1b3a7bf4e7444fe4b58015d2c78b7b71259852526789b2483bf1e71bea8146c4b4676e7b4')
+
+build() {
+ cd oneTBB-$pkgver
+ cmake -G Ninja -D CMAKE_INSTALL_PREFIX=/usr -D TBB_STRICT=OFF -D
TBB4PY_BUILD=ON .
+ ninja all python_build
+}
+
+check() {
+ cd oneTBB-$pkgver
+ ninja test
+}
+
+package() {
+ cd oneTBB-$pkgver
+ DESTDIR="$pkgdir" ninja install
+}