mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +00:00
extra/intel-tbb to 2019-1
This commit is contained in:
parent
2b49ee55a9
commit
860c06333e
1 changed files with 5 additions and 7 deletions
|
@ -1,4 +1,3 @@
|
|||
# $Id$
|
||||
# Maintainer:
|
||||
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
|
||||
# Contributor: Thomas Dziedzic < gostrc at gmail >
|
||||
|
@ -11,8 +10,7 @@
|
|||
buildarch=12
|
||||
|
||||
pkgname=intel-tbb
|
||||
pkgver=2018_20180618
|
||||
_pkgver=2018_U5
|
||||
pkgver=2019
|
||||
_file=${_tag}_src.tgz
|
||||
pkgrel=1
|
||||
pkgdesc='High level abstract threading library'
|
||||
|
@ -20,18 +18,18 @@ arch=(x86_64)
|
|||
url='http://www.threadingbuildingblocks.org/'
|
||||
license=(GPL)
|
||||
depends=(gcc-libs)
|
||||
source=(https://github.com/01org/tbb/archive/$_pkgver.tar.gz)
|
||||
sha256sums=('c4c2896af527392496c5e01ef8579058a71b6eebbd695924cd138841c13f07be')
|
||||
source=($pkgname-$pkgver.tar.gz::https://github.com/01org/tbb/archive/$pkgver.tar.gz)
|
||||
sha256sums=('4d149895826cea785cd3b9a14f4aa743b6ef0df520eca7ee27d438fdc3d73399')
|
||||
|
||||
build() {
|
||||
cd tbb-$_pkgver
|
||||
cd tbb-$pkgver
|
||||
[[ $CARCH == "armv7h" ]] && CXXFLAGS+=" -DTBB_USE_GCC_BUILTINS=1 -D__TBB_64BIT_ATOMICS=0"
|
||||
[[ $CARCH == "aarch64" ]] && CXXFLAGS+=" -DTBB_USE_GCC_BUILTINS=1 -D__TBB_64BIT_ATOMICS=1"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd tbb-$_pkgver
|
||||
cd tbb-$pkgver
|
||||
install -d "$pkgdir"/usr/lib
|
||||
install -m755 build/linux_*/*.so* "$pkgdir"/usr/lib
|
||||
install -d "$pkgdir"/usr/include
|
||||
|
|
Loading…
Reference in a new issue