Date: Tuesday, October 15, 2019 @ 16:36:54 Author: arojas Revision: 365048
Update to 2019.9, don't build debug libraries, install cmake config (FS#62757) Modified: intel-tbb/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-10-15 13:57:49 UTC (rev 365047) +++ PKGBUILD 2019-10-15 16:36:54 UTC (rev 365048) @@ -2,9 +2,10 @@ # Contributor: Stéphane Gaudreault <steph...@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=intel-tbb -pkgver=2019.8 +pkgver=2019.9 _tagname=${pkgver/./_U} pkgrel=1 pkgdesc='High level abstract threading library' @@ -12,11 +13,13 @@ url='https://www.threadingbuildingblocks.org/' license=(GPL) depends=(gcc-libs) +makedepends=(cmake inetutils) source=($pkgname-$pkgver.tar.gz::https://github.com/01org/tbb/archive/$_tagname.tar.gz) -sha256sums=('7b1fd8caea14be72ae4175896510bf99c809cd7031306a1917565e6de7382fba') +sha256sums=('15652f5328cf00c576f065e5cd3eaf3317422fe82afb67a9bcec0dc065bd2abe') build() { cd tbb-$_tagname + sed -i '/debug/d' Makefile make } @@ -26,4 +29,8 @@ install -m755 build/linux_*/*.so* "$pkgdir"/usr/lib install -d "$pkgdir"/usr/include cp -a include/tbb "$pkgdir"/usr/include + cmake \ + -DINSTALL_DIR="$pkgdir"/usr/lib/cmake/TBB \ + -DSYSTEM_NAME=Linux -DTBB_VERSION_FILE="$pkgdir"/usr/include/tbb/tbb_stddef.h \ + -P cmake/tbb_config_installer.cmake }