Skip to content

Commit

Permalink
tbb: update to 2021.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MehdiChinoune committed Sep 21, 2022
1 parent c80a874 commit 012f943
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 141 deletions.
78 changes: 0 additions & 78 deletions mingw-w64-tbb/001-fix-build-with-mingw.patch

This file was deleted.

47 changes: 0 additions & 47 deletions mingw-w64-tbb/003-fix-win32-defs.patch

This file was deleted.

21 changes: 5 additions & 16 deletions mingw-w64-tbb/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
_realname=oneTBB
pkgbase=mingw-w64-tbb
pkgname=("${MINGW_PACKAGE_PREFIX}-tbb")
pkgver=2021.5.0
pkgrel=3
pkgver=2021.6.0
pkgrel=1
arch=(any)
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
url='https://software.intel.com/en-us/oneapi/onetbb'
license=("custom")
license=("Apache2")
pkgdesc='oneAPI Threading Building Blocks (mingw-w64)'
conflicts=("${MINGW_PACKAGE_PREFIX}-intel-tbb")
replaces=("${MINGW_PACKAGE_PREFIX}-intel-tbb")
Expand All @@ -18,24 +18,13 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
makedepends=("${MINGW_PACKAGE_PREFIX}-cmake"
"${MINGW_PACKAGE_PREFIX}-ninja"
"${MINGW_PACKAGE_PREFIX}-cc")
source=("https://github.com/oneapi-src/${_realname}/archive/v${pkgver}.tar.gz"
001-fix-build-with-mingw.patch
002-do-not-copy-lib.patch::https://github.com/oneapi-src/oneTBB/commit/f5de7b03.patch
003-fix-win32-defs.patch
source=("https://github.com/oneapi-src/${_realname}/archive/v${pkgver}/${_realname}-${pkgver}.tar.gz"
004-support-mingw-aarch64.patch)
sha256sums=('e5b57537c741400cf6134b428fc1689a649d7d38d9bb9c1b6d64f092ea28178a'
'1e342350d8655a7930a4ba7e28f654296cdd8f99233c957398f86d66f8a31e3e'
'd58684d258afd03e6158402bff7bba06bba2c64fc9f32887be7cb565ddd21de3'
'cd533959fcabe4c4f5452ec349cb25f048b96c8b8e5c560f786553daefd19390'
sha256sums=('4897dd106d573e9dacda8509ca5af1a0e008755bf9c383ef6777ac490223031f'
'0f28cdc8a90e8dc3870cd584cf9f5f683e0a35696fe4dd816d1f6b8b5ea39de5')

prepare() {
cd ${srcdir}/${_realname}-${pkgver}
# https://github.com/oneapi-src/oneTBB/pull/618 for both 001 and 003
patch -p1 -i ${srcdir}/001-fix-build-with-mingw.patch
patch -p1 -i ${srcdir}/003-fix-win32-defs.patch

patch -p1 -i ${srcdir}/002-do-not-copy-lib.patch
patch -p1 -i ${srcdir}/004-support-mingw-aarch64.patch
}

Expand Down

0 comments on commit 012f943

Please sign in to comment.