[arch-commits] Commit in tbb/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Mon Dec 20 21:06:25 UTC 2021


    Date: Monday, December 20, 2021 @ 21:06:24
  Author: felixonmars
Revision: 432836

archrelease: copy trunk to testing-x86_64

Added:
  tbb/repos/testing-x86_64/
  tbb/repos/testing-x86_64/PKGBUILD
    (from rev 432835, tbb/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: tbb/repos/testing-x86_64/PKGBUILD (from rev 432835, tbb/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-12-20 21:06:24 UTC (rev 432836)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Denis Martinez <deuns.martinez AT gmail.com>
+# Contributor: Bogdan Burlacu <bogdan.burlacu AT pm.me>
+
+pkgname=tbb
+pkgver=2021.5.0
+pkgrel=1
+pkgdesc='High level abstract threading library'
+arch=('x86_64')
+url='https://www.threadingbuildingblocks.org/'
+license=('Apache')
+depends=('gcc-libs' 'hwloc')
+makedepends=('cmake' 'inetutils' 'ninja' 'python' 'swig')
+conflicts=('intel-tbb')
+provides=("intel-tbb=$pkgver")
+replaces=('intel-tbb')
+source=(https://github.com/oneapi-src/oneTBB/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('0e7b71022e397a6d7abb0cea106847935ae79a1e12a6976f8d038668c6eca8775ed971202c5bd518f7e517092b67af805cc5feb04b5c3a40e9fbf972cc703a46')
+
+build() {
+  cd oneTBB-$pkgver
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DTBB4PY_BUILD=ON .
+  ninja all python_build
+}
+
+check() {
+  cd oneTBB-$pkgver
+  ninja test
+}
+
+package() {
+  cd oneTBB-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}



More information about the arch-commits mailing list