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