mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
extra/intel-tbb to 2017_20170226-1
This commit is contained in:
parent
3d275c149f
commit
abff0fc50c
1 changed files with 8 additions and 7 deletions
|
@ -1,5 +1,6 @@
|
|||
# $Id$
|
||||
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
|
||||
# Maintainer:
|
||||
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
|
||||
# Contributor: Thomas Dziedzic < gostrc at gmail >
|
||||
# Contributor: Denis Martinez <deuns.martinez AT gmail.com>
|
||||
|
||||
|
@ -10,8 +11,8 @@
|
|||
buildarch=12
|
||||
|
||||
pkgname=intel-tbb
|
||||
pkgver=2017_20161128
|
||||
_tag=tbb${pkgver/\./}oss
|
||||
pkgver=2017_20170226
|
||||
_pkgver=2017_U5
|
||||
_file=${_tag}_src.tgz
|
||||
pkgrel=1
|
||||
pkgdesc='High level abstract threading library'
|
||||
|
@ -19,11 +20,11 @@ arch=(i686 x86_64)
|
|||
url='http://www.threadingbuildingblocks.org/'
|
||||
license=(GPL)
|
||||
depends=(gcc-libs)
|
||||
source=(http://threadingbuildingblocks.org/sites/default/files/software_releases/source/$_file)
|
||||
sha1sums=('2c451a5bcf6fc31487b98b4b29651c369874277c')
|
||||
source=(https://github.com/01org/tbb/archive/$_pkgver.tar.gz)
|
||||
sha256sums=('780baf0ad520f23b54dd20dc97bf5aae4bc562019e0a70f53bfc4c1afec6e545')
|
||||
|
||||
build() {
|
||||
cd $_tag
|
||||
cd tbb-$_pkgver
|
||||
export CXXFLAGS+=" -fno-lifetime-dse" # FS#49898
|
||||
[[ $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"
|
||||
|
@ -31,7 +32,7 @@ build() {
|
|||
}
|
||||
|
||||
package() {
|
||||
cd $_tag
|
||||
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