1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Stéphane Gaudreault <stephane@archlinux.org>
3 # Contributor: Thomas Dziedzic < gostrc at gmail >
4 # Contributor: Denis Martinez <deuns.martinez AT gmail.com>
5 # Contributor: Bogdan Burlacu <bogdan.burlacu AT pm.me>
10 pkgdesc='High level abstract threading library'
12 url='https://www.threadingbuildingblocks.org/'
14 depends=('gcc-libs' 'hwloc')
15 makedepends=('cmake' 'inetutils' 'ninja' 'python' 'swig')
16 conflicts=('intel-tbb')
17 provides=("intel-tbb=$pkgver")
18 replaces=('intel-tbb')
19 source=(https://github.com/oneapi-src/oneTBB/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
20 sha512sums=('96da2bc351fd64dfa854f8e6cabc1c4e53af3d55760e99d6f83ad53779c727af333d13d6be0828ed70371cf796498d2063e9dd0e4b2f6451623bb5d28ccbf20b')
24 cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DTBB4PY_BUILD=ON .
25 ninja all python_build
35 DESTDIR="$pkgdir" ninja install