extra/intel-tbb to 4.4_20150728-1

This commit is contained in:
Kevin Mihelich 2015-10-01 23:34:37 +00:00
parent 913ada2e6e
commit c255db4466

View file

@ -4,13 +4,13 @@
# Contributor: Denis Martinez <deuns.martinez AT gmail.com>
# ALARM: Romain Reignier <rom.reignier AT gmail.com>
# - add armv7h architecture
# - add specfic CXXFLAGS for armv7h
buildarch=4
pkgname=intel-tbb
pkgver=4.3_20150611
pkgver=4.4_20150728
_dir=tbb${pkgver/\./}oss
pkgrel=1
pkgdesc='High level abstract threading library'
arch=('i686' 'x86_64')
@ -18,18 +18,18 @@ url='http://www.threadingbuildingblocks.org/'
license=('GPL')
depends=('gcc-libs')
source=("http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb${pkgver/\./}oss_src.tgz")
sha1sums=('5457cd15ad13625442283e67844199a79e88a3a4')
sha1sums=('9d8587f743a3ee3961305457a9285f71bb4168ea')
build() {
cd tbb${pkgver/\./}oss
cd $_dir
CXXFLAGS+=" -DTBB_USE_GCC_BUILTINS=1 -D__TBB_64BIT_ATOMICS=0"
make
}
package() {
cd tbb${pkgver/\./}oss
install -d "${pkgdir}"/usr/lib
install -m755 build/linux_*/*.so* "${pkgdir}"/usr/lib
install -d "${pkgdir}"/usr/include
cp -a include/tbb "${pkgdir}"/usr/include
cd $_dir
install -d "$pkgdir"/usr/lib
install -m755 build/linux_*/*.so* "$pkgdir"/usr/lib
install -d "$pkgdir"/usr/include
cp -a include/tbb "$pkgdir"/usr/include
}