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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 23 09:48:50 UTC 2021


    Date: Tuesday, November 23, 2021 @ 09:48:50
  Author: felixonmars
Revision: 428975

archrelease: copy trunk to staging-x86_64

Added:
  tbb/repos/staging-x86_64/
  tbb/repos/staging-x86_64/PKGBUILD
    (from rev 428974, tbb/trunk/PKGBUILD)

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

Copied: tbb/repos/staging-x86_64/PKGBUILD (from rev 428974, tbb/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-11-23 09:48:50 UTC (rev 428975)
@@ -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.4.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=('96da2bc351fd64dfa854f8e6cabc1c4e53af3d55760e99d6f83ad53779c727af333d13d6be0828ed70371cf796498d2063e9dd0e4b2f6451623bb5d28ccbf20b')
+
+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