mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
tbb: enable on all archs
This commit is contained in:
parent
bb4bc78472
commit
fb0653a943
1 changed files with 11 additions and 2 deletions
|
@ -1,8 +1,7 @@
|
|||
# Template file for 'tbb'
|
||||
pkgname=tbb
|
||||
version=2020.U1
|
||||
revision=1
|
||||
archs="i686* x86_64* armv7l* aarch64* ppc*"
|
||||
revision=2
|
||||
# version rewrite: 2017_U7 (upstream) => 2017.7 (xbps)
|
||||
_ver=${version/./_}
|
||||
wrksrc="${pkgname}-${_ver}"
|
||||
|
@ -16,6 +15,12 @@ distfiles="https://github.com/intel/tbb/archive/${_ver}.tar.gz"
|
|||
checksum=72cffaeac3b50b117c4e2279f9162308d35873b3e744aff5a088beff6f65c9af
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64*)
|
||||
make_build_args="arch=intel64"
|
||||
;;
|
||||
i686*)
|
||||
make_build_args="arch=ia32"
|
||||
;;
|
||||
armv7l*)
|
||||
make_build_args="arch=armv7"
|
||||
;;
|
||||
|
@ -28,6 +33,10 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
ppc*)
|
||||
make_build_args="arch=ppc"
|
||||
;;
|
||||
*)
|
||||
# make sure to fall back instead of letting host uname control it
|
||||
make_build_args="arch=generic"
|
||||
;;
|
||||
esac
|
||||
|
||||
post_extract() {
|
||||
|
|
Loading…
Add table
Reference in a new issue