extra/intel-tbb to 2018_20180618-1

This commit is contained in:
Kevin Mihelich 2018-07-27 16:51:38 +00:00
parent 2f5bc95c73
commit 8da2f7eb6a

View file

@ -11,8 +11,8 @@
buildarch=12
pkgname=intel-tbb
pkgver=2018_20180312
_pkgver=2018_U3
pkgver=2018_20180618
_pkgver=2018_U5
_file=${_tag}_src.tgz
pkgrel=1
pkgdesc='High level abstract threading library'
@ -21,11 +21,10 @@ url='http://www.threadingbuildingblocks.org/'
license=(GPL)
depends=(gcc-libs)
source=(https://github.com/01org/tbb/archive/$_pkgver.tar.gz)
sha256sums=('23793c8645480148e9559df96b386b780f92194c80120acce79fcdaae0d81f45')
sha256sums=('c4c2896af527392496c5e01ef8579058a71b6eebbd695924cd138841c13f07be')
build() {
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"
make