OCaml 4.13.1 rebuild
[arch-packages.git] / tbb / trunk / PKGBUILD
blob198b111212eb6942e2c190b04e740f6cc99dd300
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>
7 pkgname=tbb
8 pkgver=2021.4.0
9 pkgrel=3
10 pkgdesc='High level abstract threading library'
11 arch=('x86_64')
12 url='https://www.threadingbuildingblocks.org/'
13 license=('Apache')
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')
22 build() {
23   cd oneTBB-$pkgver
24   cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DTBB4PY_BUILD=ON .
25   ninja all python_build
28 check() {
29   cd oneTBB-$pkgver
30   ninja test
33 package() {
34   cd oneTBB-$pkgver
35   DESTDIR="$pkgdir" ninja install