summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD34
2 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a5b0fe63fec
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Sat Feb 10 05:36:23 UTC 2018
+pkgbase = intel-tbb-gcc6
+ pkgdesc = High level abstract threading library
+ pkgver = 2018_20171205
+ pkgrel = 1
+ url = http://www.threadingbuildingblocks.org/
+ arch = x86_64
+ license = GPL
+ depends = gcc-libs
+ depends = gcc6
+ provides = intel-tbb
+ conflicts = intel-tbb
+ replaces = intel-tbb
+ source = https://github.com/01org/tbb/archive/2018_U2.tar.gz
+ sha256sums = 78bb9bae474736d213342f01fe1a6d00c6939d5c75b367e2e43e7bf29a6d8eca
+
+pkgname = intel-tbb-gcc6
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bb40cb9f54e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer:
+# Contributor: St├ęphane Gaudreault <stephane@archlinux.org>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Denis Martinez <deuns.martinez AT gmail.com>
+
+pkgname=intel-tbb-gcc6
+pkgver=2018_20171205
+_pkgver=2018_U2
+pkgrel=1
+pkgdesc='High level abstract threading library'
+arch=(x86_64)
+url='http://www.threadingbuildingblocks.org/'
+license=(GPL)
+depends=(gcc-libs gcc6)
+provides=('intel-tbb')
+replaces=('intel-tbb')
+conflicts=('intel-tbb')
+source=(https://github.com/01org/tbb/archive/$_pkgver.tar.gz)
+sha256sums=('78bb9bae474736d213342f01fe1a6d00c6939d5c75b367e2e43e7bf29a6d8eca')
+
+build() {
+ cd tbb-$_pkgver
+ export CXXFLAGS+=" -fno-lifetime-dse" # FS#49898
+ make CC=gcc-6 CXX=g++-6
+}
+
+package() {
+ cd tbb-$_pkgver
+ 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
+}