mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/intel-tbb to 2020.0-1
This commit is contained in:
parent
9173bec803
commit
d7b97a5131
1 changed files with 6 additions and 7 deletions
|
@ -9,27 +9,26 @@
|
|||
# - add specfic CXXFLAGS for ARM
|
||||
|
||||
pkgname=intel-tbb
|
||||
pkgver=2019.9
|
||||
_tagname=${pkgver/./_U}
|
||||
pkgrel=2
|
||||
pkgver=2020.0
|
||||
pkgrel=1
|
||||
pkgdesc='High level abstract threading library'
|
||||
arch=(x86_64)
|
||||
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=('15652f5328cf00c576f065e5cd3eaf3317422fe82afb67a9bcec0dc065bd2abe')
|
||||
source=($pkgname-$pkgver.tar.gz::https://github.com/intel/tbb/archive/v$pkgver.tar.gz)
|
||||
sha256sums=('8eed2377ac62e6ac10af5a8303ce861e4525ffe491a061b48e8fe094fc741ce9')
|
||||
|
||||
build() {
|
||||
cd tbb-$_tagname
|
||||
cd tbb-$pkgver
|
||||
[[ $CARCH != "aarch64" ]] && 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-$_tagname
|
||||
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