mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
extra/intel-tbb: update
This commit is contained in:
parent
c52cdeb9dd
commit
dd11ad18f0
1 changed files with 2 additions and 4 deletions
|
@ -5,9 +5,7 @@
|
|||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# Romain Reignier <rom.reignier AT gmail.com>
|
||||
# - add specfic CXXFLAGS for armv7h and aarch64
|
||||
|
||||
buildarch=12
|
||||
# - add specfic CXXFLAGS for ARM
|
||||
|
||||
pkgname=intel-tbb
|
||||
pkgver=2019
|
||||
|
@ -23,7 +21,7 @@ sha256sums=('4d149895826cea785cd3b9a14f4aa743b6ef0df520eca7ee27d438fdc3d73399')
|
|||
|
||||
build() {
|
||||
cd tbb-$pkgver
|
||||
[[ $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=0"
|
||||
[[ $CARCH == "aarch64" ]] && CXXFLAGS+=" -DTBB_USE_GCC_BUILTINS=1 -D__TBB_64BIT_ATOMICS=1"
|
||||
make
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue