#!/usr/bin/bash # JOBoRun : Jwm OpenBox Obarun RUNit # Maintainer : Joe Bo Run # PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname" # Website : https://pozol.eu #-----------------------------------------| DESCRIPTION |--------------------------------------- pkgname=onetbb pkgver=2021.8.0 pkgrel=03 pkgdesc='High level abstract threading library (oneAPI Threading Building Blocks)' url='https://oneapi-src.github.io/oneTBB/' 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 retry-pthread_create.patch::https://github.com/oneapi-src/oneTBB/pull/824.patch) prepare() { cd oneTBB-$pkgver # FS#77894 patch -p1 -i ../retry-pthread_create.patch } 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 } #---- arch license gpg-key & sha256sums ---- arch=(x86_64) license=('Apache') sha256sums=(eee380323bb7ce864355ed9431f85c43955faaae9e9bce35c62b372d7ffd9f8b # onetbb-2021.8.0.tar.gz 5a8806497ecb3d5ee8c824658615ef08b940a3708ab98a5eb8c47a2db250652e) # retry-pthread_create.patch ## 89e4f3dca86740a3e4c82267c3b97069c0a9144734a6c216eab0086e36b0fd6b onetbb-2021.8.0-03-x86_64.pkg.tar.lz